Difference between revisions of "Template:Ability box/sandbox"
From Tales of Maj'Eyal
Line 5: | Line 5: | ||
| rowspan="{{#if:{{embers_version|}}|13|12}}" align="center" width="75px" |{{#if:{{{image|}}}|[[File:{{{image}}}|border]]|''(no image)''}} | | rowspan="{{#if:{{embers_version|}}|13|12}}" align="center" width="75px" |{{#if:{{{image|}}}|[[File:{{{image}}}|border]]|''(no image)''}} | ||
|- | |- | ||
− | ! scope="col" width=" | + | ! scope="col" width="125px" |Game Version |
| {{{game_version|-}}} | | {{{game_version|-}}} | ||
|- | |- | ||
{{#if:{{{embers_version|}}}| | {{#if:{{{embers_version|}}}| | ||
− | ! scope="col" width=" | + | ! scope="col" width="125px" {{!}}Embers Version |
{{!}} {{{embers_version}}} | {{!}} {{{embers_version}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
− | ! scope="col" width=" | + | ! scope="col" width="125px" |Category Type |
| {{{category_type|-}}} | | {{{category_type|-}}} | ||
|- | |- | ||
− | ! scope="col" width=" | + | ! scope="col" width="125px" |Category |
| {{{category|-}}} | | {{{category|-}}} | ||
|- | |- | ||
− | ! scope="col" width=" | + | ! scope="col" width="125px" |Requirements |
| {{{require|-}}} | | {{{require|-}}} | ||
|- | |- | ||
− | ! scope="col" width=" | + | ! scope="col" width="125px" |Use Mode |
| {{{use_mode|Activated}}} | | {{{use_mode|Activated}}} | ||
|- | |- | ||
− | ! scope="col" width=" | + | ! scope="col" width="125px" |Range |
| {{#switch:{{{use_mode}}}|Passive|passive=-|{{#switch:{{{range}}}|0|1=Melee/Personal|{{{range|Melee/Personal}}} }} }} | | {{#switch:{{{use_mode}}}|Passive|passive=-|{{#switch:{{{range}}}|0|1=Melee/Personal|{{{range|Melee/Personal}}} }} }} | ||
|- | |- | ||
− | ! scope="col" width=" | + | ! scope="col" width="125px" |Cost |
| {{{cost|-}}} | | {{{cost|-}}} | ||
|- | |- | ||
− | ! scope="col" width=" | + | ! scope="col" width="125px" |Cooldown |
| {{{cooldown|-}}} | | {{{cooldown|-}}} | ||
|- | |- | ||
− | ! scope="col" width=" | + | ! scope="col" width="125px" |Travel Speed |
| {{{travel_speed|-}}} | | {{{travel_speed|-}}} | ||
|- | |- | ||
− | ! scope="col" width=" | + | ! scope="col" width="125px" |Use Speed |
| {{#switch:{{{use_mode}}}|Passive|passive=-|{{#if:{{{use_speed|}}}|{{#ifeq:{{{use_speed}}}|0|Instant|{{{use_speed}}} }}|-}} }} | | {{#switch:{{{use_mode}}}|Passive|passive=-|{{#if:{{{use_speed|}}}|{{#ifeq:{{{use_speed}}}|0|Instant|{{{use_speed}}} }}|-}} }} | ||
|- | |- | ||
− | ! scope="col" width=" | + | ! scope="col" width="125px" valign="top" |Description |
| {{{desc|-}}} | | {{{desc|-}}} | ||
|} | |} |
Revision as of 10:45, 29 February 2016
[[{{{name}}} (talent)|{{{name}}}]] | ||
(no image) | ||
Game Version | - | |
---|---|---|
Category Type | - | |
Category | - | |
Requirements | - | |
Use Mode | Activated | |
Range | Melee/Personal | |
Cost | - | |
Cooldown | - | |
Travel Speed | - | |
Use Speed | - | |
Description | - |
Template Documentation:
Use_mode
- If use_mode does not exist, defaults to 'Activated'.
Range
- If use_mode is 'passive' then output "-". Note: If use_mode is defined 'passive', any value for 'range' will never be displayed!
- If use_mode doesn't exist (which defaults to 'Activated', see above), then output:
- 'Melee/Personal' if range = 0 or 1;
- 'Melee/Personal' if range exists and isn't defined;
- the value of range if range exists and is defined.
Use_Speed
- If use_speed exists, and if use_speed=0, output 'Instant', otherwise output whatever use_speed is defined as.
- If use_mode is defined as 'passive', set use_speed to '-'.