65,761
editsMore actions
m
no edit summary
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}}}|{{{altname|{{{name|{{{link | <includeonly><span style="white-space: nowrap">{{IconLink|{{#if: {{{icon|}}} | {{{icon}}} | {{#if: {{{item|}}} | {{#cargo_query: tables = item_icon | ||
| fields = icon | |||
| where = _pageName = "{{{item}}}" | |||
| format = template | |||
| template = trim | |||
}} | Generic Feature Icon.webp }} }}|{{{link}}}|{{#if: {{{altname|}}} | {{{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 7: | Line 12: | ||
| name = High Spellcasting | | name = High Spellcasting | ||
| link = High Spellcasting +1 | | link = High Spellcasting +1 | ||
| altname = | |||
}}</pre> | }}</pre> | ||
Line 13: | Line 19: | ||
| name = High Spellcasting | | name = High Spellcasting | ||
| link = High Spellcasting +1 | | link = High Spellcasting +1 | ||
| altname = | |||
}} | }} | ||
Line 65: | Line 72: | ||
"altname": { | "altname": { | ||
"description": "Alternative display name that will override the name", | "description": "Alternative display name that will override the name", | ||
"type": "string" | |||
}, | |||
"item": { | |||
"description": "If an item icon is to be shown instead, specify it here.", | |||
"type": "string" | "type": "string" | ||
} | } |