Template:*: Difference between revisions

Jump to navigation Jump to search
1,842 bytes added ,  22:42, 2 October 2022
no edit summary
(Created page with "<includeonly>'''•'''</includeonly><noinclude>{{/doc}}</noinclude>")
 
No edit summary
Tag: Reverted
Line 1: Line 1:
<includeonly>'''&bull;'''</includeonly><noinclude>{{/doc}}</noinclude>
{{Documentation}}
 
The '''*''' template is used to add bullets (example: '''&bull;''') by substituting <tt><nowiki>'''&amp;bull;'''</nowiki></tt> automatically.
 
==Usage==
The recommended usage is to use spaces ''before'' and ''after'' the template.
<pre>[[Bones]] {{*}} [[Big bones]]</pre>
 
The template renders one space on each side of the bullet.
[[Bones]] {{*}} [[Big bones]]
 
For long dotted lists each list item can be put on its own line, with spaces between each item and the template.
 
<pre>
[[Bones]] {{*}}
[[Bat bones]] {{*}}
[[Wolf bones]] {{*}}
[[Big bones]] {{*}}
[[Dragon bones]]
</pre>
 
As before, the template renders one space on each side of the bullets.
[[Bones]] {{*}}
[[Bat bones]] {{*}}
[[Wolf bones]] {{*}}
[[Big bones]] {{*}}
[[Dragon bones]]
 
When the list is too long and line breaks, the class "nowraplinks" should be used.
 
<pre style="width:95%; overflow:scroll"><div class="nowraplinks">
[[Bones]] {{*}} [[Bat bones]] {{*}} [[Wolf bones]] {{*}} [[Big bones]] {{*}} [[Dragon bones]] {{*}} [[Bones]] {{*}} [[Bat bones]] {{*}} [[Wolf bones]] {{*}} [[Big bones]] {{*}} [[Dragon bones]] {{*}} [[Bones]] {{*}} [[Bat bones]] {{*}} [[Wolf bones]] {{*}} [[Big bones]] {{*}} [[Dragon bones]]
</div></pre>
 
Using "nowraplinks" forces the line break to come after one of the bullets.
 
<div class="nowraplinks">
[[Bones]] {{*}} [[Bat bones]] {{*}} [[Wolf bones]] {{*}} [[Big bones]] {{*}} [[Dragon bones]] {{*}} [[Bones]] {{*}} [[Bat bones]] {{*}} [[Wolf bones]] {{*}} [[Big bones]] {{*}} [[Dragon bones]] {{*}} [[Bones]] {{*}} [[Bat bones]] {{*}} [[Wolf bones]] {{*}} [[Big bones]] {{*}} [[Dragon bones]]
</div>
 
<includeonly>[[Category:Formatting templates|{{PAGENAME}}]]</includeonly>
 
{{TemplateData|<templatedata>
{
"params": {},
"description": "The * template is used to add bullets (example: •) by substituting '''&bull;''' automatically.",
"format": "inline"
}
</templatedata>
}}

Navigation menu