Template:Passive inline/Format: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<includeonly><span style="white-space: nowrap">{{#if: {{{icon|}}} | {{IconLink|{{{icon}}}|{{{link}}}|{{{name|{{{link}}}}}}|w={{{w|25}}}|h={{{w|25}}}}} | [[{{{link}}}|{{{name|{{{link}}}}}}]]}}</span></includeonly><noinclude> Meant to be used with a Cargo query. Preview: {{Passive inline/Format | name = High Spellcasting | link = High Spellcasting +1 | icon = }} {{Passive inline/Format | name = Sparkswall Armour | link = Sparkswall Armour | icon = }} {{Passive inline/...")
 
m (Add default passive icon)
Line 1: Line 1:
<includeonly><span style="white-space: nowrap">{{#if: {{{icon|}}} | {{IconLink|{{{icon}}}|{{{link}}}|{{{name|{{{link}}}}}}|w={{{w|25}}}|h={{{w|25}}}}} | [[{{{link}}}|{{{name|{{{link}}}}}}]]}}</span></includeonly><noinclude>
<includeonly><span style="white-space: nowrap">{{IconLink|{{#if: {{{icon|}}} | {{{icon}}} | Generic Feature Icon.webp}}|{{{link}}}|{{{name|{{{link}}}}}}|w={{{w|25}}}|h={{{w|25}}}}}</span></includeonly><noinclude>
Meant to be used with a Cargo query.  Preview:
Meant to be used with a Cargo query.  Preview:


Line 5: Line 5:
| name = High Spellcasting
| name = High Spellcasting
| link = High Spellcasting +1
| link = High Spellcasting +1
| icon =
}}
}}


Line 29: Line 28:
},
},
"icon": {
"icon": {
"description": "The icon of the passive feature",
"description": "The icon of the passive feature. If not specified, will default to Generic Feature Icon.webp",
"type": "wiki-file-name"
"type": "wiki-file-name"
},
},

Revision as of 17:29, 9 May 2024

Meant to be used with a Cargo query. Preview:

High Spellcasting High Spellcasting

Sparkswall Armour Sparkswall Armour

Arcane Battery Arcane Battery

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
linklink

The page of the passive feature.

Stringrequired
iconicon

The icon of the passive feature. If not specified, will default to Generic Feature Icon.webp

Fileoptional
namename

Alternative display name for the passive feature link

Stringoptional