Template:Longitem: Difference between revisions
From The Goon Show Depository
en>Neveselbert (+conditional to allow transclusion of default style in other templates) |
m (1 revision imported) |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{# | <noinclude>{{#tag: code| | ||
</noinclude>{{#ifeq: {{{1|+}}} | {{{1|-}}} | <div style="}}display: inline-block; line-height: 1.2em; padding: .1em 0; {{#ifeq: {{{1|+}}} | {{{1|-}}} | {{{style|}}}">{{{1|}}}</div> | <includeonly>width: 100%;</includeonly> }}<includeonly>{{#if:{{{2|}}}|[[Category:Pages using Template:Longitem with unnamed style parameter]]}}</includeonly><noinclude> | |||
|lang=wikitext}} | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 21:18, 5 July 2024
display: inline-block; line-height: 1.2em; padding: .1em 0;
This template is used on approximately 676,000 pages, or roughly 2758% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
An inline formatting template primarily meant to handle the linewrapping of groupnames in {{Navbox}}es or relatively long entries in infoboxes and sidebars. It reduces the padding between the text and the edge of the cell minimizing the height of the group
parameter.
Tracking categories
This template populates the following tracking categories:
See also
- {{longlink}}