Template:Longitem/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Hyacinth Example |
meta>Nahiyan8 m Fix styling, added <code> tags to examples, moved w/o {{Longitem}} up, highlighted changes in the second example |
||
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. 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. | ||
==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. | ||
*<nowiki>{{navbox|title=W/ LONGITEM|state=off|list1= | * <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> → | ||
: {{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.}} | |||
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> → | ||
*<nowiki>{{navbox|title=W/ | : {{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.}}}} | ||
===See also=== | === See also === | ||
* {{tl|longlink}} | * {{tl|longlink}} | ||
<includeonly> | <includeonly> | ||
<!---Categories below this line, please:---> | <!---Categories below this line, please:---> |
Revision as of 02:50, 30 November 2014
This is a documentation subpage for Template:Longitem. It may contain usage information, categories and other content that is not part of the original template page. |
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|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|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
- {{longlink}}