User:Taffer/Template:Card

From Elements the Game Wiki
Jump to navigation Jump to search

The Card template can be used for displaying a card in various modes.

See also Card Pair template.

Image Only Mode

This mode displays the image of the card. Image works as a link to the card page. When you hover the image with the mouse name of the card is displayed.

Example:

{{User:Taffer/Template:Card|Quantum Pillar|Image Only}}

Result:

Quantum Pillar Upgrade.png Quantum Tower

Table Block Mode

This mode can be used to display card data in table cells. Shows data of the card in user-friendly format and provides link to the card page through the name and the image.

Usually not needed to use directly because you can use Card Pair template to display card pairs in a table.

Example:

{|
! width="50%" | Basic cards
! Upgraded cards
|-
| {{User:Taffer/Template:Card|Quantum Pillar|Table Block}}
| {{User:Taffer/Template:Card|Quantum Tower|Table Block}}
|}

Result:

Card Page Mode

This mode is for displaying the card in its article. Shows data of the card in user-friendly format and provides link to edit card data. When this mode is used the page will automatically categorized based on card data.

Now this wiki displays cards in pairs on their pages so use Card Pair template for this purpose.

Data Page Mode

This mode displays every defined data of the card in raw format. Provides links for editing data and to card page. This is the default mode in data pages.

Example:

{{User:Taffer/Template:Card|Quantum Pillar|Data Page}}

 or:
{{User:Taffer/Template:Card|Quantum Pillar}}

Result:

Quantum Pillar (Data Page) NAME Quantum Pillar
Quantum Pillar

Edit Data
See Card Page

IMAGE [1]
TYPE Permanent
SUB-TYPE
ELEMENT Other
COST 0
COST ELEMENT Other
ATK
HP
DESCRIPTION
SKILL
PASSIVE
PASSIVE2
RARITY 1
PRICE LEVEL 1 → Buy/Sell = 6/4
Quantum Tower NAME Quantum Tower
Quantum Tower
IMAGE [2]
TYPE Permanent
SUB-TYPE
ELEMENT Other
COST 0
COST ELEMENT Other
ATK
HP
DESCRIPTION
SKILL
PASSIVE
PASSIVE2
RARITY 1
PRICE LEVEL 17 → Buy/Sell = Impossible/1156