Template:QudInfoboxCollapser

From Caves of Qud Wiki
Jump to navigation Jump to search
Template-info.png Documentation

Creates collapsable infobox rows for Qud infobox templates, such as Template:Character. For example, this is used for the collapsible Character Inventory section of the Character infobox.

  • parameter 1: Label
  • parameter 2: CSS collapser class postfix (this should be unique for each collapsible)
  • parameter 3: Custom CSS class to apply to collapsible-content div (leave blank if none)
  • parameter 4: Content
{{QudInfoboxCollapseHeader
| 1 = Skills
| 2 = qud-skills
| 3 = qud-skills-wrapper
| 4 = [[Tactful]]</br>[[Gadget Inspector]]
}}


Example usage

{{#invoke: Infobox|infobox|image=none|style=float:left;width:350px;|rows=
{{QudInfoboxCollapser|Skills|qud-skills|qud-skills-wrapper|[[Tactful]]</br>[[Gadget Inspector]]}}
}}

Output


QudInfoboxCollapser
Skills
Skills