Template:Passive inline/Format: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) mNo edit summary |
HiddenDragon (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<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> | <includeonly><span style="white-space: nowrap">{{IconLink|{{#if: {{{icon|}}} | {{{icon}}} | Generic Feature Icon.webp}}|{{{link}}}|{{{altname|{{{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 29: | Line 29: | ||
| link = Sparkswall Armour | | link = Sparkswall Armour | ||
| icon = | | icon = | ||
| altname = Sparky Armour | |||
}} | }} | ||
Line 58: | Line 59: | ||
}, | }, | ||
"name": { | "name": { | ||
"description": " | "description": "Display name for the passive feature link", | ||
"type": "string" | "type": "string" | ||
} | }, | ||
"altname": { | |||
"description": "Alternative display name that will override the name", | |||
"type": "string" | |||
} | |||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 20:02, 9 May 2024
Meant to be used with a Cargo query. Preview:
Usage:
{{Passive inline/Format | name = High Spellcasting | link = High Spellcasting +1 }}
Result:
Usage:
{{Passive inline/Format | name = Sparkswall Armour | link = Sparkswall Armour | icon = }}
Result:
{{Passive inline/Format | name = Arcane Battery | link = Arcane Battery | icon = Arcane Battery Icon.webp }}
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
link | link | The page of the passive feature. | String | required |
icon | icon | The icon of the passive feature. If not specified, will default to Generic Feature Icon.webp | File | optional |
name | name | Display name for the passive feature link | String | optional |
altname | altname | Alternative display name that will override the name | String | optional |