Template:Table list: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<includeonly><div class="bg3wiki-tablelist">{{{1|}}}</div></includeonly><noinclude>{{documentation|content=Adds a specially formatted description list. == Example == <pre>{{table list| ; term 1: description ; term 2 : description }}</pre> {{table list| ; term 1 : description ; term 2 : description }} Category:Templates == Template data == <templatedata> { "params": { "1": { "label": "Text", "description": "Format as a definition list.", "required": tru...")
 
(Undo revision 243551 by HiddenDragon (talk))
Tag: Undo
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="bg3wiki-tablelist">{{{1|}}}</div></includeonly><noinclude>{{documentation|content=Adds a specially formatted description list.
<includeonly><div class="bg3wiki-tablelist {{{style|}}}">{{{1|}}}</div></includeonly><noinclude>{{documentation|content=Adds a specially formatted description list.


== Example ==
== Example ==
<pre>{{table list|
<pre>{{table list|
; term 1: description
; term 1 : description
; term 2 : description
; term 2 : description
}}</pre>
}}</pre>
Line 11: Line 11:
; term 2 : description
; term 2 : description
}}
}}
== Example 2 ==
<pre>{{table list|
; term 1 : description
; term 2 : description
|style=nocolon}}</pre>
{{table list|
; term 1 : description
; term 2 : description
|style=nocolon}}


[[Category:Templates]]
[[Category:Templates]]
[[Category:List templates]]
== Template data ==
== Template data ==
<templatedata>
<templatedata>
Line 21: Line 33:
"description": "Format as a definition list.",
"description": "Format as a definition list.",
"required": true
"required": true
}
},
"style": {}
}
}
}
}
</templatedata>}}
</templatedata>}}
</noinclude>
</noinclude>

Latest revision as of 23:45, 2 November 2024

Template documentation

Adds a specially formatted description list.

Example

{{table list|
; term 1 : description
; term 2 : description
}}
term 1
description
term 2
description

Example 2

{{table list|
; term 1 : description
; term 2 : description
|style=nocolon}}
term 1
description
term 2
description

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
Text1

Format as a definition list.

Unknownrequired
stylestyle

no description

Unknownoptional