Template:Hlist: Difference between revisions
Jump to navigation
Jump to search
m Willowisp moved page Template:Horizontal list to Template:Hlist over redirect |
HiddenDragon (talk | contribs) Use template demo |
||
Line 1: | Line 1: | ||
<includeonly><div class="bg3wiki-horizontlist">{{{1|}}}</div></includeonly><noinclude>{{documentation|content={{shortcut|hlist}}Adds an unbulleted list. | <includeonly><div class="bg3wiki-horizontlist">{{{1|}}}</div></includeonly><noinclude>{{documentation|content= | ||
{{shortcut|hlist}} | |||
Adds an unbulleted list. | |||
== Examples == | == Examples == | ||
=== Example 1 === | === Example 1 === | ||
< | {{Template demo | ||
| style = table | |||
| caption 1 = Unordered list | |||
| <nowiki>{{horizontal list| | |||
* item 1 | * item 1 | ||
* item 2 | * item 2 | ||
}}</ | }}</nowiki> | ||
| caption 2 = Nested unordered list | |||
| <nowiki>{{horizontal list| | |||
< | |||
* item 1 | * item 1 | ||
** item 2 | ** item 2 | ||
** item 3 | ** item 3 | ||
* item 4 | * item 4 | ||
}}</ | }}</nowiki> | ||
| caption 3 = Definition list | |||
| <nowiki>{{horizontal list| | |||
{{horizontal list| | |||
; term : definition | ; term : definition | ||
; term : definition | ; term : definition | ||
}}</nowiki> | |||
}} | }} | ||
== Template data == | == Template data == | ||
<templatedata> | <templatedata> | ||
Line 54: | Line 38: | ||
} | } | ||
</templatedata>}} | </templatedata>}} | ||
[[Category:Templates]] | |||
[[Category:List templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 12:04, 19 January 2025
Template documentation
Shortcut
- {{hlist}}
Adds an unbulleted list.
Examples
Example 1
Example | Markup | Renders as |
---|---|---|
Unordered list | {{horizontal list| * item 1 * item 2 }} |
|
Nested unordered list | {{horizontal list| * item 1 ** item 2 ** item 3 * item 4 }} |
|
Definition list | {{horizontal list| ; term : definition ; term : definition }} |
|
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | 1 | Format as a bulleted list. | Unknown | required |