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...")
 
(Use template demo)
 
(6 intermediate revisions by one other 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 ==
<pre>{{horizontal list|
=== Example 1 ===
{{Template demo
| style = table
| caption 1 = Unordered list
| <nowiki>{{horizontal list|
* item 1
* item 1
* item 2
* item 2
}}</pre>
}}</nowiki>
 
| caption 2 = Nested unordered list
{{horizontal list|
| <nowiki>{{horizontal list|
* item 1
* item 1
* item 2
** item 2
** item 3
* item 4
}}</nowiki>
| caption 3 = Definition list
| <nowiki>{{horizontal list|
; term : definition
; term : definition
}}</nowiki>
}}
}}


[[Category:Templates]]
[[Category:List templates]]
== Template data ==
== Template data ==
<templatedata>
<templatedata>
Line 26: Line 38:
}
}
</templatedata>}}
</templatedata>}}
[[Category:Templates]]
[[Category:List templates]]
</noinclude>
</noinclude>

Latest revision as of 12:04, 19 January 2025

Template documentation
Shortcut

Adds an unbulleted list.

Examples

Example 1

Example Markup Renders as
Unordered list
{{horizontal list|
* item 1
* item 2
}}
  • item 1
  • item 2
Nested unordered list
{{horizontal list|
* item 1
** item 2
** item 3
* item 4
}}
  • item 1
    • item 2
    • item 3
  • item 4
Definition list
{{horizontal list|
; term : definition
; term : definition
}}
term
definition
term
definition

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
Text1

Format as a bulleted list.

Unknownrequired