Template:Background: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Removed alias parameter and replace with standard alias syntaxing and updated documentation)
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}}
Urchin Urchin
Adjusted icon size
{{Background|Acolyte|w=40}}
Acolyte Acolyte
Link alias
{{Background|Charlatan|Trickster}}
Trickster Trickster
Alias and adjusted size
{{Background|Entertainer|Musician|w=20}}
Musician Musician

See also

Template data

Insert a link to a background accompanied by the associated icon.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Background name1

The name of the background.

Suggested values
Acolyte Charlatan Criminal Entertainer Folk Hero Guild Artisan Noble Outlander Sage Soldier Urchin Haunted One Hermit Sailor Trickster Hedonist Astral Zealot Wizard of Waterdeep Cloistered Stray Blade of Frontiers Blood War Veteran Underdark Exile Grove Tender World-Wise Heroine Legend of Baldur's Gate
Stringrequired
Alias2

A user-defined alias to be shown instead of the background name.

Stringoptional
Icon sizew

The pixel size of the accompanying icon.

Numberoptional