Template:Longitem/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Edokter
style= is always mandatory, c/e
Ookami (talk | contribs)
m 22 revisions imported
 
(7 intermediate revisions by 5 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 04:44, 3 September 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