Template:Hlist: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
m (Willowisp moved page Template:Horizontal list to Template:Hlist over redirect)
 
(4 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.


== Examples ==
== Examples ==
Line 13: Line 13:
}}
}}


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