Template:Condition sources/format: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(Added support for passives, and for a "parent" page/template)
(Passive -> pass)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><li>{{#if:{{{parent name|}}} | {{#switch:{{{parent template|}}}
<includeonly><li>{{#if: {{{parent name|}}} | {{#switch:{{{parent template|}}}
| item = {{MdRarityItem|{{{parent name}}} }}
| item = {{MdRarityItem | {{{parent name}}} }}
| sai = {{SAI|{{{parent name}}}|w=30}}
| sai = {{SAI | {{{parent name}}} | w = 30 }}
| cond = {{Cond|{{#replace:{{{parent name}}}|<nowiki/> <nowiki/>(Condition)}}}}
| area = {{Area | {{{parent name}}} | w = 30 }}
| weapon action = {{SAI|{{{parent name}}}|w=30 }}
| cond = {{Cond | {{#replace: {{{parent name}}} | <nowiki> </nowiki>(Condition) }} }}
| passive = {{Passive|{{{parent name}}}|w=30 }}
| weapon action = {{SAI | {{{parent name}}} | w = 30 }}
| pass = {{Pass | {{{parent name}}} | w = 30 }}
| #default = [[{{{parent name}}}]]
| #default = [[{{{parent name}}}]]
}}<nowiki/> <nowiki/> }}{{#switch:{{{template|}}}
}} <nowiki> </nowiki> }}{{#switch: {{{template|}}}
| item = {{MdRarityItem|{{{name}}} }}
| item = {{MdRarityItem | {{{name}}} }}
| sai = {{SAI|{{{name}}}|w=30}}
| sai = {{SAI | {{{name}}} | w = 30 }}
| cond = {{Cond|{{#replace:{{{name}}}|<nowiki/> <nowiki/>(Condition)}}}}
| area = {{Area | {{{name}}} | w = 30 }}
| weapon action = {{WeaponAction|{{{name}}}|30 }}
| cond = {{Cond | {{#replace: {{{name}}} | <nowiki> </nowiki>(Condition) }} }}
| passive = {{Passive|{{{name}}}}}
| weapon action = {{ SAI | {{{name}}} | w = 30 }}
| pass = {{Pass | {{{name}}} | w = 30 }}
| #default = [[{{{name}}}]]
| #default = [[{{{name}}}]]
}}</li></includeonly><noinclude>
}}</li></includeonly><noinclude>
Line 26: Line 28:
}}
}}
{{Condition sources/format
{{Condition sources/format
|name=Lured (Condition)
|name=Healing Incense Aura
|template=cond
|template=cond
|parent name=Healing Incense Aura
|parent template=sai
}}
}}
{{Condition sources/format
{{Condition sources/format
|name=Maiming Strike
|name=Dawnburst Strike
|template=weapon action
|template=weapon action
|parent name=The Sacred Star
|parent template=item
}}
}}
{{Condition sources/format
{{Condition sources/format
|name=Risky Attack
|name=Battle Acuity
|template=passive
|template=passive
|parent name=Risky Ring
|parent name=Helmet of Arcane Acuity
|parent template=item
|parent template=item
}}
}}

Latest revision as of 20:25, 13 May 2024