Template:Collapsible toggle
From Warhammer 40k - Lexicanum
[edit] []
Template documentation
External template for Template: Collapsible, check its documentation for further functions. Values marked with * are explained there.
Usage
{{Collapsible toggle|<toggle>|toggle=<cardinal>|style=<style>}}
{{Collapsible||<collapsible>*|toggle=<cardinal>}}
Required values
-
<toggle>- string of text displayed as a toggle -
<cardinal>- cardinal reference, all 'Collapsible' templates marked with the same referential as the 'Collapsible toggle' will collapse with the trigger of the same toggle.
Accessory values
-
<style>- HTML style attribute field.
Examples
{{Collapsible toggle|toggle|toggle=1}}
{{Collapsible||collapsible|toggle=1}}
toggle
collapsible
{{Collapsible toggle|toggle|toggle=2|style=font-weight:bold;color:#452300}}
{{Collapsible||collapsible|toggle=2|collapsed=true}}
intermediary text
{{Collapsible||collapsible#2|toggle=2|collapsed=true}}
toggle
collapsible
intermediary text
collapsible#2
{{Collapsible toggle|collapsed=true|toggle=4|toggle|collapsible|style=font-weight:bold;color:#452300}}
toggle
collapsible