Difference between revisions of "Template:Cunt-Wars-Data-Display"

From Hgames Wiki
Jump to: navigation, search
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
 +
 +
The following is a sample of a blank data template for reference when creating new data templates:
 +
 +
<pre>
 +
<noinclude>{{Cunt-Wars-Data-Display|Card Name Here}}</noinclude>{{ 
 +
    #ifeq: {{{1}}}| faction    |
 +
}}{{#ifeq: {{{1}}}| type        |
 +
}}{{#ifeq: {{{1}}}| rarity      |
 +
}}{{#ifeq: {{{1}}}| evolve-from |
 +
}}{{#ifeq: {{{1}}}| evolve-into |
 +
}}{{#ifeq: {{{1}}}| hp-min      |
 +
}}{{#ifeq: {{{1}}}| hp-max      |
 +
}}{{#ifeq: {{{1}}}| attack-min  |
 +
}}{{#ifeq: {{{1}}}| attack-max  |
 +
}}{{#ifeq: {{{1}}}| might-min  |
 +
}}{{#ifeq: {{{1}}}| might-max  |
 +
}}
 +
</pre>

Revision as of 13:18, 11 September 2018

 {{{1}}} Data

The following data is currently set for the [[Cunt Wars/Cards/{{{1}}}|{{{1}}}]] card. Note that capitalization matters.

Variable Value Description
name name}} The name of the card. This is very important as it is used to determine everything from showing the name on any page to loading images based on a pre-determined format.
faction faction}} The faction to which the card belongs. Can be one of Order, Chaos, Nature.
type type}} The type to which the card belongs. Can be one of Ranged, Melee.
rarity rarity}} How rare the card is. Can be one of Common, Rare, Epic, Legendary.
evolve-path evolve-path}} The Evolve path(s) to which the card belongs.
hp-min hp-min}} The starting HP for the card before it has been leveled at all.
hp-max hp-min}} The maximum HP the card can attain at full level.
attack-min attack-min}} The starting attack for the card before it has been leveled at all.
attack-max attack-min}} The maximum attack the card can attain at full level.
might-min might-min}} The starting might for the card before it has been leveled at all.
might-max might-min}} The maximum might the card can attain at full level.

The following is a sample of a blank data template for reference when creating new data templates:

<noinclude>{{Cunt-Wars-Data-Display|Card Name Here}}</noinclude>{{  
    #ifeq: {{{1}}}| faction     | 
}}{{#ifeq: {{{1}}}| type        | 
}}{{#ifeq: {{{1}}}| rarity      | 
}}{{#ifeq: {{{1}}}| evolve-from | 
}}{{#ifeq: {{{1}}}| evolve-into | 
}}{{#ifeq: {{{1}}}| hp-min      | 
}}{{#ifeq: {{{1}}}| hp-max      | 
}}{{#ifeq: {{{1}}}| attack-min  | 
}}{{#ifeq: {{{1}}}| attack-max  | 
}}{{#ifeq: {{{1}}}| might-min   | 
}}{{#ifeq: {{{1}}}| might-max   | 
}}