Misplaced Pages

Template:·/doc: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Template:· Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 05:32, 18 November 2006 editDavid Kernow (talk | contribs)40,997 editsm rephrasing← Previous edit Revision as of 13:06, 8 December 2006 edit undoDavid Kernow (talk | contribs)40,997 edits updating, rephrasingNext edit →
Line 1: Line 1:
<noinclude>{{protected template}}</noinclude><includeonly>:''This template documentation is ] from ]'' </span>]</includeonly> <noinclude>{{protected template}}</noinclude><includeonly>:''This template documentation is ] from ]'' </span>]</includeonly>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> <!-- 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 the <nowiki><small></nowiki> bullet (<small>•</small>) as it seems less obtrusive than its full-size version (•) or the vertical-line (&nbsp;|&nbsp;) &ndash; which resembles the uppercase letter "I", lowercase "l" or the upright parts of "h", "k", etc &ndash; but more effective than the middot (·), especially in smaller font sizes. The character is preceded by a ] (&amp;nbsp;) so the template may be used as shown below (i.e. '''''suffixed''''' to each item; see below) to prevent the character being ] the starts of lines, thereby compromising the template's appearance. 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 (&nbsp;|&nbsp;) 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 ] (&amp;nbsp;) so the template may be used as shown below (i.e. '''''suffixed''''' to each item) to prevent the character being ] to the starts of lines, thereby compromising a list's appearance.


; Example : Code:&nbsp;&nbsp; <code><nowiki>item 1{{·}} item 2{{·}} item 3{{·}} item 4</nowiki></code><br>Result:&nbsp; item 1{{·}} item 2{{·}} item 3{{·}} item 4 ; Example : Code:&nbsp;&nbsp; <code><nowiki>item 1{{·}} item 2{{·}} item 3{{·}} item 4</nowiki></code><br>Result:&nbsp; item 1{{·}} item 2{{·}} item 3{{·}} item 4
Line 8: Line 12:
{| style="text-align:center;" {| style="text-align:center;"
|width="20px"| <small>·</small> |width="20px"| <small>·</small>
|align="left"| <nowiki><small></nowiki> middot |align="left"| <nowiki><small></nowiki> middot </tr>
| · ||align="left"| middot </tr>
|-
| · ||align="left"| middot | '''·''' ||align="left"| bold middot </tr>
| <small>•</small> ||align="left"| <nowiki><small></nowiki> bullet</tr>
|-
| '''·''' ||align="left"| bold middot | ||align="left"| bullet </tr>
| '''•''' ||align="left"| bold bullet </tr>
|-
| <small>•</small>
|align="left"| <nowiki><small></nowiki> bullet
|-
| ||align="left"| bullet
|-
| '''•''' ||align="left"| bold bullet
|} |}



Revision as of 13:06, 8 December 2006

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 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
Category: