Misplaced Pages

Template:Longitem: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 13:55, 10 April 2013 view sourceMaterialscientist (talk | contribs)Edit filter managers, Autopatrolled, Checkusers, Administrators1,993,751 editsm Protected Template:Longitem: Highly visible template or Lua module ( (indefinite) (indefinite))← Previous edit Revision as of 16:40, 11 April 2014 view source Sardanaphalus (talk | contribs)119,752 edits "style=" now not necessary (but takes precedence if/when used)Next edit →
Line 1: Line 1:
<div style="padding:0.1em 0;line-height:1.2em;{{{style|}}}">{{{1}}}</div><noinclude> <div style="padding:0.1em 0;line-height:1.2em;{{{style|{{#if:{{{2|}}}|{{{1}}}}}}}}">{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}</div><noinclude>


{{documentation}} {{documentation}}

Revision as of 16:40, 11 April 2014

{{{1}}} Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 684,000 pages, or roughly 1% 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.

Parameters

  • |1= - The item, i.e. the text to display
  • |style= - Additional CSS code for styling

Tracking categories

See also

The above documentation is transcluded from Template:Longitem/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: