Template:·/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (rephrasing) |
(updating, rephrasing) |
||
Line 1:
<noinclude>{{protected template}}</noinclude><includeonly>:''This template documentation is [[Wikipedia:Template doc page pattern|transcluded]] from [[{{FULLPAGENAME}}/doc]]'' [<span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit]</span>]</includeonly>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
A template intended to aid the creation of lists which are strings of items separated by a "divider" or "separator" character.
The divider/separator character used here is a bold middot ('''·''') as it seems less obtrusive than a bullet (•) or the vertical-line ( | ) but more substantial than a plain middot (·). (The vertical-line also resembles the uppercase letter "I", lowercase "l" or the upright parts of "h", "k", etc.)
The character is preceded by a [[non-breaking space]] (&nbsp;) so the template may be used as shown below (i.e. '''''suffixed''''' to each item) to prevent the character being [[Word wrap|linewrapped]] to the starts of lines, thereby compromising a list's appearance.
; Example : Code: <code><nowiki>item 1{{·}} item 2{{·}} item 3{{·}} item 4</nowiki></code><br>Result: item 1{{·}} item 2{{·}} item 3{{·}} item 4
Line 8 ⟶ 12:
{| style="text-align:center;"
|width="20px"| <small>·</small>
|align="left"| <nowiki><small></nowiki> middot </tr>
| '''·''' ||align="left"| bold middot </tr>
|
| '''•''' ||align="left"| bold bullet </tr>▼
▲ |align="left"| <nowiki><small></nowiki> bullet
▲| • ||align="left"| bullet
▲| '''•''' ||align="left"| bold bullet
|}
|
Revision as of 13:06, December 8, 2006
Template:Protected template A template intended to aid the creation of lists which are strings of items separated by a "divider" or "separator" character.
The divider/separator character used here is a bold middot (·) as it seems less obtrusive than a bullet (•) or the vertical-line ( | ) but more substantial than a plain middot (·). (The vertical-line also resembles the uppercase letter "I", lowercase "l" or the upright parts of "h", "k", etc.)
The character is preceded by a non-breaking space ( ) so the template may be used as shown below (i.e. suffixed to each item) to prevent the character being linewrapped to the starts of lines, thereby compromising a list's appearance.
- Example
- Code:
item 1{{·}} item 2{{·}} item 3{{·}} item 4
Result: item 1 · item 2 · item 3 · item 4
- Reference
· | <small> middot |
· | middot |
· | bold middot |
• | <small> bullet |
• | bullet |
• | bold bullet |