Template:Race intro

From Wizards and Warlords
Jump to navigation Jump to search

About this template

[edit]

Creates the introduction panel at the top of a race page. It displays the race icon, introductory quotation, two representative character images, and a caption.

On desktop the icon, quotation, and example images form three columns. In Citizen/mobile the icon and quotation stay together at the top while the examples move below them at full content width.

The layout and responsive rules are supplied by Template:Race intro/styles.css. Do not rename the generated classes without updating that stylesheet.

Parameters

[edit]
  • icon - race icon filename without File:.
  • quote - introductory racial quotation.
  • source - optional quotation source; defaults to In-game racial description.
  • image - optional first example filename; defaults to RaceExample1.png.
  • image2 - optional second example filename; defaults to RaceExample2.png.
  • caption - short caption shown beneath both example images.
  • image alt and image2 alt - optional accessible descriptions of the images.

Basic example

[edit]
{{Race intro
|icon=RaceIcon_Human.png
|quote=Humans are the most adaptable and ambitious people in the world.
|image=RaceExample1.png
|image2=RaceExample2.png
|caption=Examples of Human characters.
}}