Difference between revisions of "Template:SwiftAction"

From Epic Paths
Jump to navigation Jump to search
(Created page with "<noinclude> {{#template_params:Name|Content|IsSub|Type}} {{#cargo_declare:_table=SwiftActions|Name=String|Content=Wikitext|IsSub=Boolean|Type=String (allowed values=Normal,Mar...")
 
Line 1: Line 1:
<noinclude>
<noinclude>{{#template_params:Name|Content|IsSub|Type}}</noinclude><includeonly>{{MonsterAction|Name={{{Name|}}}|Content={{{Content|}}}|IsSub={{{IsSub|}}}|Type={{{Type|}}}</includeonly>
{{#template_params:Name|Content|IsSub|Type}}
{{#cargo_declare:_table=SwiftActions|Name=String|Content=Wikitext|IsSub=Boolean|Type=String (allowed values=Normal,Martial Focus,Spell Point,Wild Magic)}}
</noinclude><includeonly>{{#cargo_store:_table=SwiftActions}}
{{#ifeq:{{{IsSub|}}}|Yes|<div style="padding-left:15px">|<div>}}{{#ifeq:{{{Type|}}}|Normal|•}}{{#ifeq:{{{Type|}}}|Martial Focus|★}}{{#ifeq:{{{Type|}}}|Spell Point|❖}}{{#ifeq:{{{Type|}}}|Wild Magic|↯}} <b>{{{Name|}}}</b> {{{Content}}}</div>
</includeonly>

Revision as of 12:39, 2 August 2021

This is the "SwiftAction" template.

It should be called in the following format:

{{SwiftAction
|Name=
|Content=
|IsSub=
|Type=
}}

Edit the page to see the template text.