Template:Passive inline/Format: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (nowrap)
m (Modify to remove display name)
 
Line 4: Line 4:
       | format = template
       | format = template
       | template = trim
       | template = trim
       }} | Generic Feature Icon.webp }} }}|{{{link}}}|{{#if: {{{altname|}}} | {{{altname}}} | {{{name|{{{link}}}}}} }}|w={{{w|25}}}|h={{{w|25}}}|nowrap=y}}</includeonly><noinclude>
       }} | Generic Feature Icon.webp }} }}|{{{link}}}|{{#if: {{{altname|}}} | {{{altname}}} | {{{link}}}}}|w={{{w|25}}}|h={{{w|25}}}|nowrap=y}}</includeonly><noinclude>
Meant to be used with a Cargo query.  Preview:
Meant to be used with a Cargo query.  Preview:


Line 10: Line 10:
<pre>
<pre>
{{Passive inline/Format
{{Passive inline/Format
| name = High Spellcasting
| link = High Spellcasting (+1)
| link = High Spellcasting +1
| altname =  
| altname =
}}</pre>
}}</pre>


Result:
Result:
{{Passive inline/Format
{{Passive inline/Format
| name = High Spellcasting
| link = High Spellcasting (+1)
| link = High Spellcasting +1
| altname =  
| altname =  
}}
}}
Line 25: Line 23:
<pre>
<pre>
{{Passive inline/Format
{{Passive inline/Format
| name = Winter's Clutches
| link = Winter's Clutches (passive feature)
| link = Winter's Clutches (passive feature)
| altname =
| altname = Winter's Clutches
}}</pre>
}}</pre>


Result:
Result:
{{Passive inline/Format
{{Passive inline/Format
| name = Winter's Clutches
| link = Winter's Clutches (passive feature)
| link = Winter's Clutches (passive feature)
| altname =
| altname = Winter's Clutches
}}
}}


Line 41: Line 37:
Usage:
Usage:
<pre>{{Passive inline/Format
<pre>{{Passive inline/Format
| name = Sparkswall Armour
| link = Sparkswall Armour
| link = Sparkswall Armour
| icon =
| item = The Protecty Sparkswall
| altname = Sparky Feature
}}</pre>
}}</pre>


Result:
Result:
{{Passive inline/Format
{{Passive inline/Format
| name = Sparkswall Armour
| link = Sparkswall Armour
| link = Sparkswall Armour
| icon =
| item = The Protecty Sparkswall
| altname = Sparky Feature
}}
}}


Line 80: Line 72:
"description": "The icon of the passive feature. If not specified, will default to Generic Feature Icon.webp",
"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"
},
"name": {
"description": "Display name for the passive feature link",
"type": "string"
},
},
         "altname": {
         "altname": {

Latest revision as of 16:35, 6 August 2024

Meant to be used with a Cargo query. Preview:

Usage:

{{Passive inline/Format
| link = High Spellcasting (+1)
| altname = 
}}

Result: High Spellcasting (+1) High Spellcasting (+1)


{{Passive inline/Format
| link = Winter's Clutches (passive feature)
| altname = Winter's Clutches
}}

Result: Winter's Clutches Winter's Clutches


Usage:

{{Passive inline/Format
| link = Sparkswall Armour
| item = The Protecty Sparkswall
}}

Result: Sparkswall Armour Sparkswall Armour


{{Passive inline/Format
| name = Arcane Battery
| link = Arcane Battery
| icon = Arcane Battery Icon.webp
}}

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
altnamealtname

Alternative display name that will override the name

Stringoptional
itemitem

If an item icon is to be shown instead, specify it here.

Stringoptional