Difference between revisions of "Template:Longitem/doc"

From blackwiki
Jump to navigation Jump to search
imported>Edokter
(style= is always mandatory, c/e)
imported>Vanisaac
m (clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(6 intermediate revisions by 4 users not shown)
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>{{Sandbox other||
 
<!---Categories below this line, please:--->
 
<!---Categories below this line, please:--->
 
[[Category:Text-specific formatting and function templates]]
 
[[Category:Text-specific formatting and function templates]]
 
[[Category:Inline templates]]
 
[[Category:Inline templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 00:19, 26 April 2020

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