Template:Class/Format: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(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...")
(No difference)

Revision as of 09:41, 21 November 2023

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