Difference between revisions of "Template:Longitem/doc"
Jump to navigation
Jump to search
imported>Loginadvice |
imported>Mean as custard m (Reverted edits by Loginadvice (talk) to last version by Nahiyan8) |
||
| Line 1: | Line 1: | ||
| − | + | {{Documentation subpage}} | |
| + | <!---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. | ||
| − | + | == Example == | |
| + | 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> → | |
| + | : {{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, | ||
| + | * <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> → | ||
| + | : {{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 === | |
| − | + | * {{tl|longlink}} | |
| − | + | <includeonly> | |
| − | + | <!---Categories below this line, please:---> | |
| − | + | [[Category:Wikipedia formatting and function templates]] | |
| − | + | [[Category:Inline templates]] | |
| − | + | </includeonly> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 09:20, 1 May 2015
| This is a documentation subpage for Template:Longitem. It contains 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}}