Template:Background: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
(Updated to use iconlink and supplies icons only for actual backgrounds)
Line 1: Line 1:
<includeonly>{{BackgroundIcon|{{{1}}}|{{{2|25}}}}} [[{{{1}}}|{{{alias|{{{1}}}}}}]]</includeonly><noinclude>
<includeonly>{{#switch: {{{1|}}}
| Acolyte
| Charlatan
| Criminal
| Entertainer
| Folk Hero
| Guild Artisan
| Haunted One
| Noble
| Outlander
| Sage
| Soldier
| Urchin
<!-- The following are unused but still accessible here -->
| 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
| Hermit
| Sailor = {{IconLink|Background {{{1}}} Icon.png|{{{1}}}|{{{alias|{{{1}}}}}}|size={{{2|25}}}|nowrap=y}}
| #default = [[{{{1}}}|{{{alias|{{{1}}}}}}]]
}}</includeonly><noinclude>
{{documentation|content=
{{documentation|content=



Revision as of 05:19, 29 July 2024

Template documentation

This template is used to visually represent Backgrounds.

Usage: {{Background|Urchin}}

Result: Urchin Urchin

Usage: {{Background|Acolyte|40}}

Result: Acolyte Acolyte

Usage: {{Background|Charlatan|alias=Trickster}}

Result: Trickster Trickster

Usage: {{Background|Entertainer|20|alias=Musician}}

Result: Musician Musician

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
Background name1

The name of the Background.

Stringrequired
Icon size2

The pixel size of the accompanying icon.

Numberoptional
Aliasalias

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

Stringoptional