Difference between revisions of "Template:Longitem/doc"

From blackwiki
Jump to navigation Jump to search
imported>Edokter
(style= is always mandatory, c/e)
imported>Edokter
(Original text, example non-functional.)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!---Please place categories where indicated in the <includeonly> section below and interwikis at Wikidata.--->
 
<!---Please place categories where indicated in the <includeonly> section below and interwikis at Wikidata.--->
An inline formatting template primarily meant to handle the linewrapping of relatively long entries in e.g. infoboxes, navboxes and sidebars.
+
An inline formatting template primarily meant to handle the linewrapping of groupnames in {{tl|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 <code>group</code> parameter.
 
 
== Example ==
 
Try narrowing and widening one's browser to see the full effect.
 
 
 
* <code><nowiki>{{navbox|title=With longitem|state=off|list1=Until I die there will be sounds. And they will continue following my death. One need not fear about the future of music.}}</nowiki></code>
 
{{navbox|title=With longitem|state=off|list1=Until I die there will be sounds. And they will continue following my death. One need not fear about the future of music.}}
 
while,
 
* <code><nowiki>{{navbox|title=Without longitem|state=off|list1=</nowiki>{{highlight|<nowiki>{{Longitem|</nowiki>}}Until I die there will be sounds. And they will continue following my death. One need not fear about the future of music.{{highlight|<nowiki>}}</nowiki>}}<nowiki>}}</nowiki></code>
 
{{navbox|title=Without longitem|state=off|list1={{Longitem|Until I die there will be sounds. And they will continue following my death. One need not fear about the future of music.}}}}
 
  
 
=== See also ===
 
=== See also ===
 
* {{tl|longlink}}
 
* {{tl|longlink}}
 +
 
<includeonly>
 
<includeonly>
 
<!---Categories below this line, please:--->
 
<!---Categories below this line, please:--->

Revision as of 11:03, 1 May 2016

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.

See also