Template:Condition sources/format: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) No edit summary Tag: Manual revert |
HiddenDragon (talk | contribs) (Added support for passives, and for a "parent" page/template) |
||
Line 1: | Line 1: | ||
<includeonly><li>{{#switch:{{{template|}}} | <includeonly><li>{{#if:{{{parent name|}}} | {{#switch:{{{parent template|}}} | ||
| item = {{MdRarityItem|{{{parent name}}} }} | |||
| sai = {{SAI|{{{parent name}}}|w=30}} | |||
| cond = {{Cond|{{#replace:{{{parent name}}}|<nowiki/> <nowiki/>(Condition)}}}} | |||
| weapon action = {{SAI|{{{parent name}}}|w=30 }} | |||
| passive = {{Passive|{{{parent name}}}|w=30 }} | |||
| #default = [[{{{parent name}}}]] | |||
}}<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)}}}} | | cond = {{Cond|{{#replace:{{{name}}}|<nowiki/> <nowiki/>(Condition)}}}} | ||
| weapon action = {{WeaponAction| | | weapon action = {{WeaponAction|{{{name}}}|30 }} | ||
| passive = {{Passive|{{{name}}}}} | |||
| #default = [[{{{name}}}]] | | #default = [[{{{name}}}]] | ||
}}</li></includeonly><noinclude> | }}</li></includeonly><noinclude> | ||
Line 22: | Line 30: | ||
}} | }} | ||
{{Condition sources/format | {{Condition sources/format | ||
|name= | |name=Maiming Strike | ||
|template=weapon action | |template=weapon action | ||
}} | |||
{{Condition sources/format | |||
|name=Risky Attack | |||
|template=passive | |||
|parent name=Risky Ring | |||
|parent template=item | |||
}} | }} | ||
{{Condition sources/format | {{Condition sources/format |
Revision as of 00:36, 6 December 2023
Handles formatting condition sources.
- Dagger
-
- Maiming Strike ()
- Possibly your target. They can't move.
- Risky Ring →
- Risky Attack
- You gain Advantage on Attack rolls and receive Disadvantage on Saving throws.
- Potion of Healing