Template:Longitem/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Swpb
No edit summary
meta>Edokter
style= is always mandatory, c/e
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. The optional CSS styling parameter ''style'' does not need to be named (i.e. {{para|style}}) but, if not, it must be the first parameter.
An inline formatting template primarily meant to handle the linewrapping of relatively long entries in e.g. infoboxes, navboxes and sidebars.


== Example ==
== Example ==
Try narrowing and widening one's browser to see the full effect.
Try narrowing and widening one's browser to see the full effect.


* <code><nowiki>{{navbox|title=W/O 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> &rarr;
* <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=W/O 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.}}
{{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,
while,
* <code><nowiki>{{navbox|title=W/ 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> &rarr;
* <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=W/ 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.}}}}
{{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 ===

Revision as of 11:00, 1 May 2016

An inline formatting template primarily meant to handle the linewrapping of relatively long entries in e.g. infoboxes, navboxes and sidebars.

Example

Try narrowing and widening one's browser to see the full effect.

  • {{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,

  • {{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