Difference between revisions of "Template:StandardAction"

From Epic Paths
Jump to navigation Jump to search
(Created page with "<noinclude> {{#template_params:Name|Content|IsSub|Type}} {{#cargo_declare:_table=Template:StandardActions|Name=String|Content=Wikitext|IsSub=Boolean|Type=String (allowed value...")
 
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Name|Content|IsSub|Type}}
{{#template_params:Name|Content|IsSub|Type}}
{{#cargo_declare:_table=Template:StandardActions|Name=String|Content=Wikitext|IsSub=Boolean|Type=String (allowed values=Normal,Martial Focus,Spell Point,Wild Magic)}}
{{#cargo_declare:_table=StandardActions|Name=String|Content=Wikitext|IsSub=Boolean|Type=String (allowed values=Normal,Martial Focus,Spell Point,Wild Magic)}}
</noinclude><includeonly>{{#cargo_store:_table=Template:StandardActions}}
</noinclude><includeonly>{{#cargo_store:_table=StandardActions}}
{{#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>
{{#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>
</includeonly>

Revision as of 16:08, 1 August 2021

This is the "StandardAction" template.

It should be called in the following format:

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

Edit the page to see the template text.

This template defines the table "StandardActions". This table has not been created yet.