Template:Condition sources/format: Difference between revisions
Jump to navigation
Jump to search
(Create) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(24 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><li>{{#switch:{{{ | <includeonly><li>{{#if: {{{parent name|}}} | {{#switch:{{{parent template|}}} | ||
| item = {{MdRarityItem|{{{name}}} }} | | item = {{MdRarityItem | {{{parent name}}} }} | ||
| sai = {{SAI|{{{name}}}|w=30}} | | sai = {{SAI | {{{parent name}}} | w = 30 }} | ||
| area = {{Area | {{{parent name}}} | w = 30 }} | |||
| cond = {{Cond | {{#replace: {{{parent name}}} | <nowiki> </nowiki>(Condition) }} }} | |||
| weapon action = {{SAI | {{{parent name}}} | w = 30 }} | |||
| pass = {{Pass | {{{parent name}}} | w = 30 }} | |||
| char = {{MdCharLink | {{#replace: {{{parent_name}}} | /Combat}}}} | |||
| #default = [[{{{parent name}}}]] | |||
}} →<nowiki> </nowiki> }}{{#switch: {{{template|}}} | |||
| item = {{MdRarityItem | {{{name}}} }} | |||
| sai = {{SAI | {{{name}}} | w = 30 }} | |||
| area = {{Area | {{{name}}} | w = 30 }} | |||
| cond = {{Cond | {{#replace: {{{name}}} | <nowiki> </nowiki>(Condition) }} }} | |||
| weapon action = {{ SAI | {{{name}}} | w = 30 }} | |||
| pass = {{Pass | {{{name}}} | w = 30 }} | |||
| char = {{MdCharLink | {{#replace: {{{name}}} | /Combat}}}} | |||
| #default = [[{{{name}}}]] | |||
}}</li></includeonly><noinclude> | }}</li></includeonly><noinclude> | ||
Handles formatting condition sources. | Handles formatting condition sources. | ||
Line 8: | Line 23: | ||
{{Condition sources/format | {{Condition sources/format | ||
|name=Dagger | |name=Dagger | ||
| | |template=item | ||
}} | }} | ||
{{Condition sources/format | {{Condition sources/format | ||
|name=See Invisibility | |name=See Invisibility | ||
|format=sai | |template=sai | ||
}} | |||
{{Condition sources/format | |||
|name=Healing Incense Aura | |||
|template=cond | |||
|parent name=Healing Incense Aura | |||
|parent template=sai | |||
}} | |||
{{Condition sources/format | |||
|name=Dawnburst Strike | |||
|template=weapon action | |||
|parent name=The Sacred Star | |||
|parent template=item | |||
}} | |||
{{Condition sources/format | |||
|name=Battle Acuity | |||
|template=passive | |||
|parent name=Helmet of Arcane Acuity | |||
|parent template=item | |||
}} | |||
{{Condition sources/format | |||
|name=Potion of Healing | |||
|template=something else | |||
}} | }} | ||
</ul> | </ul> | ||
</noinclude> | </noinclude> |
Latest revision as of 07:38, 15 September 2024
Handles formatting condition sources.