Difference between revisions of "Template:Longitem/doc"

From LIMSWiki
Jump to navigationJump to search
(Created as needed.)
 
(Created as needed.)
 
Line 6: Line 6:
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|name=LongItem|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;
: {{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|name=LongItem|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.}}
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 |name=LongItem2|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;
: {{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|name=LongItem2|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.}}}}


=== See also ===
=== See also ===

Latest revision as of 21:46, 31 August 2015

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. |style=) but, if not, it must be the first parameter.

Example

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

  • {{navbox|name=LongItem|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.}}

while,

  • {{navbox |name=LongItem2|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.}}}}

See also