Template:·/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(you must place the template IMMEDIATELY after the preceding item…)
m (rephrasing)
Line 1: 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>
<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 -->
<!-- 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 [[non-breaking space]] (&amp;nbsp;) so the template may be used as shown below (i.e. suffixed to each item) to prevent the character being [[Word wrap|linewrapped]] the starts of lines, thereby compromising the template's appearance (NB this is completely useless if you fail to place the template '''immediately after''' the preceding item).
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 [[non-breaking space]] (&amp;nbsp;) so the template may be used as shown below (i.e. '''''suffixed''''' to each item; see below) to prevent the character being [[Word wrap|linewrapped]] the starts of lines, thereby compromising the template'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

Revision as of 05:32, November 18, 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 the <small> bullet () as it seems less obtrusive than its full-size version (•) or the vertical-line ( | ) – which resembles the uppercase letter "I", lowercase "l" or the upright parts of "h", "k", etc – but more effective than the middot (·), especially in smaller font sizes. 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; see below) to prevent the character being linewrapped the starts of lines, thereby compromising the template'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