Template:Table list: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(Undo revision 243551 by HiddenDragon (talk))
Tag: Undo
 
(5 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]]
Line 22: 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