69,276
edits
m
no edit summary
HiddenDragon (talk | contribs) (Updated to use iconlink and supplies icons only for actual backgrounds) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 24: | Line 24: | ||
| Legend of Baldur's Gate | | Legend of Baldur's Gate | ||
| Hermit | | Hermit | ||
| Sailor = {{ | | Sailor = {{SmIconLink|Background {{{1}}} Icon.png|{{{1}}}|{{{2|{{{1}}}}}}}} | ||
| #default = [[{{{1}}}|{{{ | | #default = [[{{{1}}}|{{{2|{{{1}}}}}}]] | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation|content= | {{documentation|content= | ||
This template is used to visually represent backgrounds. | |||
== Examples == | |||
{{Template demo | |||
| style = table | |||
| caption 1 = Basic usage | |||
| <nowiki>{{Background|Urchin}}</nowiki> | |||
| caption 2 = Adjusted icon size | |||
| <nowiki>{{Background|Acolyte|w=40}}</nowiki> | |||
| caption 3 = Link alias | |||
| <nowiki>{{Background|Charlatan|Trickster}}</nowiki> | |||
| caption 4 = Alias and adjusted size | |||
| <nowiki>{{Background|Entertainer|Musician|w=20}}</nowiki> | |||
}} | |||
== See also == | |||
* {{t link|Ability}} - An equivalent template for [[abilities|ability scores]] | |||
* {{t link|Deity}} - An equivalent template for [[deities]] | |||
* {{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== | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Insert a link to a background accompanied by the associated icon.", | |||
"format": "inline", | |||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Background name", | "label": "Background name", | ||
"description": "The name of the | "description": "The name of the background.", | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | |||
"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" | |||
], | |||
"required": true | "required": true | ||
}, | }, | ||
" | "2": { | ||
"label": "Alias", | |||
"description": "A user-defined alias to be shown instead of the background name.", | |||
"type": "string" | |||
}, | |||
"w": { | |||
"label": "Icon size", | "label": "Icon size", | ||
"description": "The pixel size of the accompanying icon.", | "description": "The pixel size of the accompanying icon.", | ||
"type": "number" | "type": "number" | ||
} | } | ||
} | } | ||
} | } | ||
</templatedata>}}</noinclude> | </templatedata>}} | ||
[[Category:Templates]] | |||
[[Category:Link templates]] | |||
</noinclude> |