MediaWiki talk:HidefirstHeading.css

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Usage[edit]

This is used as a withCSS= parameter for displaying just the results of Special:ExpandTemplates.

For example, a tool to display DYK hooks and their lengths may be displayed via ExpandTemplates.

This code – https://en.wikipedia.org/wiki/Special:ExpandTemplates?withCSS=MediaWiki:HidefirstHeading.css&wpInput={{URLencode:{{User:Mandarax/DYKHookLength{{!}}Did you know/Queue/3}}}} – produces a clean display of Queue 3 hook lengths.

In contrast, see the cluttered results without this CSS. (Note that if Queue 3 happens to be empty right now, no hooks will be displayed, but the other text will still be shown.) MANdARAX  XAЯAbИAM 06:26, 31 March 2021 (UTC)[reply]