Draft:TCGTrainerText/doc
All templates with the {{TCGTrainerText}} prefix are used in combination with one another to display Trainer card text.
How to use
There are normally four elements to each usage of the template:
- Header - the
{{TCGTrainerText/Header}}template is used at the beginning of each instance. - Effect - the
{{TCGTrainerText/Effect}}template is, since the Black & White Series, usually used second. - Rule - there are a variety of rule templates (see below). These are usually used third.
- Footer - the
{{TCGTrainerText/Footer}}template is used at the end of each instance.
Please note: Development of this template group, and the various rules it requires, is a work in progress. See the Rule templates section below for details of supported series.
Parameters
All parameters are case sensitive. Rule and footer templates do not use any parameters.
| Parameter | Allowed values | Notes |
|---|---|---|
{{TCGTrainerText/Header}}
| ||
type
|
Trainer (default)ItemPokémon ToolSupporterStadium
|
Trainer card type. Used to style the entire template group. |
{{TCGTrainerText/Effect}}
| ||
effect / 1
|
String | Trainer card effect text. |
Rule templates
The following rule templates are currently supported:
| Series name | Template names | Position above/below effect? |
|---|---|---|
| Mega Evolution Series | {{TCGTrainerText/Item/Mega}}{{TCGTrainerText/Tool/Mega}}{{TCGTrainerText/Supporter/Mega}}{{TCGTrainerText/Stadium/Mega}}
|
Below |
| A Series (Pokémon TCG Pocket) |
{{TCGTrainerText/Item/Pocket}}{{TCGTrainerText/Tool/Pocket}}{{TCGTrainerText/Supporter/Pocket}}
|
Below |
Examples
{{TCGTrainerText/Header|type=Item}}
{{TCGTrainerText/Effect|Heal 20 damage from 1 of your Pokémon.}}
{{TCGTrainerText/Item/Pocket}}
{{TCGTrainerText/Footer}}
Heal 20 damage from 1 of your Pokémon.
You may play any number of Item cards during your turn.
{{TCGTrainerText/Header|type=Pokémon Tool}}
{{TCGTrainerText/Effect|The Pokémon this card is attached to gets +20 HP.}}
{{TCGTrainerText/Tool/Pocket}}
{{TCGTrainerText/Footer}}
The Pokémon this card is attached to gets +20 HP.
You use Pokémon Tools by attaching them to your Pokémon. You may attach only 1 Pokémon Tool to each Pokémon, and it stays attached.
{{TCGTrainerText/Header|type=Supporter}}
{{TCGTrainerText/Effect|During this turn, the Retreat Cost of your Active Pokémon is 2 less.}}
{{TCGTrainerText/Supporter/Pocket}}
{{TCGTrainerText/Footer}}
During this turn, the Retreat Cost of your Active Pokémon is 2 less.
You may play only 1 Supporter card during your turn.
{{TCGTrainerText/Header|type=Stadium}}
{{TCGTrainerText/Effect|Each Basic Pokémon in play ''(both yours and your opponent's)'' gets +30 HP.}}
{{TCGTrainerText/Stadium/Mega}}
{{TCGTrainerText/Footer}}
Each Basic Pokémon in play (both yours and your opponent's) gets +30 HP.
You may play only 1 Stadium card during your turn. Put it next to the Active Spot, and discard it if another Stadium comes into play. A Stadium with the same name can’t be played.
Categories
- No categories associated with this article