Template:Hlist: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<includeonly><div class="bg3wiki-horizontlist">{{{1|}}}</div></includeonly><noinclude>{{documentation|content=Adds an unbulleted list. == Example == <pre>{{horizontal list| * item 1 * item 2 }}</pre> {{horizontal list| * item 1 * item 2 }} Category:Templates Category:List templates == Template data == <templatedata> { "params": { "1": { "label": "Text", "description": "Format as a bulleted list.", "required": true } } } </templatedata>}} </noinc...")
 
m (Willowisp moved page Template:Horizontal list to Template:Hlist over redirect)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="bg3wiki-horizontlist">{{{1|}}}</div></includeonly><noinclude>{{documentation|content=Adds an unbulleted list.
<includeonly><div class="bg3wiki-horizontlist">{{{1|}}}</div></includeonly><noinclude>{{documentation|content={{shortcut|hlist}}Adds an unbulleted list.


== Example ==
== Examples ==
=== Example 1 ===
<pre>{{horizontal list|
<pre>{{horizontal list|
* item 1
* item 1
Line 10: Line 11:
* item 1
* item 1
* item 2
* item 2
}}
=== Example 2 ===
The template also supports nested bullet lists:
<pre>{{horizontal list|
* item 1
** item 2
** item 3
* item 4
}}</pre>
{{horizontal list|
* item 1
** item 2
** item 3
* item 4
}}
=== Examples 3 ===
<pre>{{horizontal list|
; term : definition
; term : definition
}}</pre>
{{horizontal list|
; term : definition
; term : definition
}}
}}



Latest revision as of 00:19, 30 December 2023

Template documentation
Shortcut
Adds an unbulleted list.

Examples

Example 1

{{horizontal list|
* item 1
* item 2
}}
  • item 1
  • item 2

Example 2

The template also supports nested bullet lists:

{{horizontal list|
* item 1
** item 2
** item 3
* item 4
}}
  • item 1
    • item 2
    • item 3
  • item 4

Examples 3

{{horizontal list|
; term : definition
; term : definition
}}
term
definition
term
definition

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
Text1

Format as a bulleted list.

Unknownrequired