Template:Background: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) (Removed alias parameter and replace with standard alias syntaxing and updated documentation) |
HiddenDragon (talk | contribs) mNo edit summary |
||
Line 42: | Line 42: | ||
| <nowiki>{{Background|Entertainer|Musician|w=20}}</nowiki> | | <nowiki>{{Background|Entertainer|Musician|w=20}}</nowiki> | ||
}} | }} | ||
== See also == | |||
* {{t link|Class}} - An equivalent template for [[classes]] | |||
* {{t link|Race}} - An equivalent template for [[races|playable races]] | |||
* {{t link|Skill}} - An equivalent template for [[skills]] | |||
== Template data== | == Template data== |
Revision as of 16:40, 29 July 2024
Template documentation
This template is used to visually represent backgrounds.
Examples
Example | Markup | Renders as |
---|---|---|
Basic usage | {{Background|Urchin}} | |
Adjusted icon size | {{Background|Acolyte|w=40}} | |
Link alias | {{Background|Charlatan|Trickster}} | |
Alias and adjusted size | {{Background|Entertainer|Musician|w=20}} |
See also
- {{Class}} - An equivalent template for classes
- {{Race}} - An equivalent template for playable races
- {{Skill}} - An equivalent template for skills
Template data
Insert a link to a background accompanied by the associated icon.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Background name | 1 | The name of the background.
| String | required |
Alias | 2 | A user-defined alias to be shown instead of the background name. | String | optional |
Icon size | w | The pixel size of the accompanying icon. | Number | optional |