Template:Culture card

From Wizards and Warlords
Jump to navigation Jump to search

About this template

[edit]

Creates one culture card for a race page. The card keeps the existing desktop layout and becomes expandable in Citizen on phone and tablet.

Use this template inside the existing wizlords-culture-grid wrapper. Do not change the generated CSS class names because the site CSS and JavaScript depend on them.

Parameters

[edit]
  • name - culture name shown on the card.
  • icon - image filename without File:.
  • link - optional link destination; defaults to name.
  • summary - short description shown when the Citizen card is collapsed.
  • content - optional additional wikitext, such as available classes, notes, or another paragraph.

Basic example

[edit]
{{Culture card
|name=Example Culture
|icon=ExampleCulture.png
|summary=A short description of the culture.
|content=
<div class="wizlords-culture-separator"></div>
<div class="wizlords-culture-classes">Available Classes:</div>
* [[Classes#Fighter|Fighter]]
* [[Classes#Ranger|Ranger]]
}}

Keep an available-classes list immediately after wizlords-culture-classes. The responsive JavaScript relies on that relationship.