Anonymous user
Template:·/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
EC
(add example) |
(EC) |
||
Line 13:
|Colspan=2 |<center>Here's an example of how it's used</center>
|-
|| Template Dot is not really intended to be used in article text; it's intended for use in other templates, tables, lists and other equivalent things, in order to include a separator between items such as in infoboxes. It's also to be consistent so that the article editor can use their choice of '''<nowiki>{{</nowiki>bull}}''', '''<nowiki>{{</nowiki>dot}}''', '''<nowiki>{{</nowiki>mdash}}''', '''<nowiki>{{</nowiki>middot}}''', or '''<nowiki>{{</nowiki>ndash}}''' and not have to insert the {{bull}}, {{dot}}, {{mdash}}, {{middot}}, or {{ndash}} symbol, they can use any of these as a simple macro. The idea being that if you have a table with a list of items, you can insert a
| <p>Normally, in a real box these items would be links, but this is an example.</p> Item1{{dot}} A{{dot}} B{{dot}} Item2{{dot}} Item3{{dot}} Item4{{dot}} Item5{{dot}} extra item{{dot}} E{{dot}} 1{{dot}} 2{{dot}} 3{{dot}} 4{{dot}} 5{{dot}} 6{{dot}} 7{{dot}} {{nobr|item that won't attach to prior line unless it fits in the remaining space{{dot}}}} Q{{dot}} A slightly longer item{{dot}} KK{{dot}} An obviously really even longer item that the dash will hang at its end{{dot}} Item6{{dot}} C{{dot}} Item7{{dot}} Item8{{dot}} Item9{{dot}} Item10{{dot}} Item11{{dot}} Item12{{dot}} D{{dot}} Item13{{dot}} Item14{{dot}} Item15{{dot}} Item16{{dot}} Item17{{dot}} Item18 <p>The space on the end makes sure the dash doesn't touch the edge of the box, either</p>
|}
|