Template:Class/Format

From bg3.wiki
< Template:Class
Revision as of 09:41, 21 November 2023 by HiddenDragon (talk | contribs) (Created page with "<includeonly><onlyinclude>{{#lvardef: class | {{#explode: {{{1}}}|:|0}}}}{{#lvardef: note | {{#explode: {{{1}}}|:|1}}}}{{Class|{{#lvar: class}}}} {{#if: {{#lvar:note}} | ({{#lvar: note}}) |}}</onlyinclude></includeonly><noinclude> Displays the class as Template:Class but with a note in parenthesis if specified by using a colon ':'. Intended to be used with cargo queries. e.g. <pre>{{Class/Format|Light Domain:Domain Spell}}</pre> {{Class/Format|Light Domain:Domain Sp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Displays the class as Template:Class but with a note in parenthesis if specified by using a colon ':'. Intended to be used with cargo queries.

e.g.

{{Class/Format|Light Domain:Domain Spell}}

Light Domain Light Domain (Domain Spell)


Can specify with links

{{Class/Format|Bard:[[Magical Secrets]]}}

Bard Bard (via Magical Secrets)


If no colon, it will default to just Template:Class:

{{Class/Format|College of Lore}}

College of Lore College of Lore