Template:*/doc

From OtherX
Revision as of 12:09, 25 December 2023 by OtherXAdmin (talk | contribs) (Created page with "{{Documentation}} The '''*''' template is used to add bullets (example: '''•''') by substituting <tt><nowiki>'''&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 ite...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
File:Information icon-grey.svg
This is a documentation subpage for Template:*.
It contains usage information, categories, and other content that is not part of the original template page.

The * template is used to add bullets (example: ) by substituting '''&bull;''' automatically.

Usage

The recommended usage is to use spaces before and after the template.

[[Bones]] {{*}} [[Big bones]]

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.

[[Bones]] {{*}}
[[Bat bones]] {{*}}
[[Wolf bones]] {{*}}
[[Big bones]] {{*}}
[[Dragon bones]]

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.

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

Using "nowraplinks" forces the line break to come after one of the bullets.


{{#if:||==Template data==}}

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

<templatedata> { "params": {}, "description": "The * template is used to add bullets (example: •) by substituting automatically.", "format": "inline" } </templatedata>

{{#if:||}}