Template:Card page: Difference between revisions
Whole-page template for articles about one card |
Added target_range parameter to forward to Infobox card template |
||
| (One intermediate revision by the same user not shown) | |||
| Line 15: | Line 15: | ||
|effect3_link={{{effect3_link|}}} | |effect3_link={{{effect3_link|}}} | ||
|description={{{exact_card_text|}}} | |description={{{exact_card_text|}}} | ||
|target_range={{{target_range|}}} | |||
}}<!-- | }}<!-- | ||
END INFOBOX PARAMETERS | END INFOBOX PARAMETERS | ||
| Line 53: | Line 54: | ||
-->{{#if: {{{effect3_link|}}} | [[Category:{{{effect3_link}}}]] }} | -->{{#if: {{{effect3_link|}}} | [[Category:{{{effect3_link}}}]] }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
A whole-page template for articles on individual cards. The '''Card page''' template conveniently includes the [[Template:Infobox card|Infobox for cards]] and reuses some of the data for article purposes, like setting categories. | A whole-page template for articles on individual cards. The '''Card page''' template conveniently includes the [[Template:Infobox card|Infobox for cards]] and reuses some of the data for article purposes, like setting categories. | ||
| Line 126: | Line 75: | ||
|effect3_link= | |effect3_link= | ||
|exact_card_text= | |exact_card_text= | ||
|target_range= | |||
|one_liner= | |one_liner= | ||
|effect= | |effect= | ||
| Line 158: | Line 108: | ||
|- | |- | ||
| exact_card_text || The text written on the card, exactly as written. For modifiable values that show up in green, as in the following: "Give {{Modifiable value|2}} shield to any unit."—use the [[Template:Modifiable value|Modifiable value template]], for example, <code><nowiki>{{Modifiable value|2}}</nowiki></code>. | | exact_card_text || The text written on the card, exactly as written. For modifiable values that show up in green, as in the following: "Give {{Modifiable value|2}} shield to any unit."—use the [[Template:Modifiable value|Modifiable value template]], for example, <code><nowiki>{{Modifiable value|2}}</nowiki></code>. | ||
|- | |||
| target_range || Call a separately created template for the grid using [[Template:Target range grid]], or write the text on the card. | |||
|- | |- | ||
| one_liner || A one-sentence or two-short-sentence summary of the card's purpose. | | one_liner || A one-sentence or two-short-sentence summary of the card's purpose. | ||
| Line 172: | Line 124: | ||
|} | |} | ||
== Example page == | |||
<div style="border: 1px dashed {{CardYellow}}; padding: 8px; margin-top: 16px; margin-bottom:16px;"> | |||
{{Card page | |||
|title=Artillery Attack | |||
|card_color=Red | |||
|icon=CardTexture_ArtilleryShot.png | |||
|ap=2 | |||
|carriage=Artillery | |||
|stack_size=2 | |||
|effect1=Damage: 1 | |||
|effect1_link=Damage | |||
|effect2=Move Target | |||
|effect2_link=Move Target | |||
|effect3= | |||
|effect3_link= | |||
|exact_card_text=Deal {{Modifiable value|1}} damage, push units away from the point of impact. | |||
|target_range={{Target range Artillery Attack}} | |||
|one_liner='''Artillery Attack''' is an early-game offensive card for the [[Artillery]] that deals damage and pushes targets. | |||
|effect=This far-reaching attack does 1 or more damage to a target and pushes all pushable targets away from the point of impact. | |||
|effect_range='''Artillery Attack''' can reach most of the grid except the area closest to the carriage. On only the widest grids, there are blind spots at the top and bottom. | |||
|modifications=The damage and AP of this card can be [[Modifying cards|modified]]. Sometimes the AP can be modified down by itself. If the damage is increased, sometimes the AP will be increased as well. | |||
|acquisition=This card comes with the Artillery carriage, in a stack of 2, at the beginning of the game. | |||
|strategy=Pushable targets can be pushed into other targets to deal damage, often in a chain reaction. Be cautious of collateral damage when targets get pushed into train carriages. When out of reach, sometimes a pushable target can at least be pushed so its intent is no longer directed to a vulnerable carriage. | |||
}} | |||
</div> | |||
: [[Artillery Attack|See article on Artillery Attack card]] | |||
<div style="clear: both;" /> | |||
<div style="border: 1px dashed {{CardYellow}}; padding: 8px; margin-top: 16px; margin-bottom:16px;"> | |||
{{Card page | |||
|title= | |||
|card_color= | |||
|icon= | |||
|ap= | |||
|carriage= | |||
|stack_size= | |||
|effect1= | |||
|effect1_link= | |||
|effect2= | |||
|effect2_link= | |||
|effect3= | |||
|effect3_link= | |||
|exact_card_text= | |||
|target_range= | |||
|one_liner= | |||
|effect= | |||
|effect_range= | |||
|modifications= | |||
|acquisition= | |||
|strategy= | |||
}} | |||
</div> | |||
: Blank infobox | |||
</noinclude> | </noinclude> | ||
Latest revision as of 03:24, 11 July 2026
A whole-page template for articles on individual cards. The Card page template conveniently includes the Infobox for cards and reuses some of the data for article purposes, like setting categories.
Usage
All pages for cards should begin with the following:
<!--Card page template parameters are explained at https://wiki.hoodedhorse.com/Fogpiercer/Template:Card_page-->
{{Card page
|title=
|card_color=
|icon=
|ap=
|carriage=
|stack_size=
|effect1=
|effect1_link=
|effect2=
|effect2_link=
|effect3=
|effect3_link=
|exact_card_text=
|target_range=
|one_liner=
|effect=
|effect_range=
|modifications=
|acquisition=
|strategy=
}}
Feel free to add card-specific sections below the page template, beginning with an appropriate == H2 Heading ==
Parameters
- See the Card infobox template for the title, color, ap, carriage, and effect.
All parameters are technically optional, but good card pages will use as many as appropriate.
| Parameter | Usage |
|---|---|
|
See infobox template parameter table |
| exact_card_text | The text written on the card, exactly as written. For modifiable values that show up in green, as in the following: "Give 2 shield to any unit."—use the Modifiable value template, for example, {{Modifiable value|2}}.
|
| target_range | Call a separately created template for the grid using Template:Target range grid, or write the text on the card. |
| one_liner | A one-sentence or two-short-sentence summary of the card's purpose. |
| effect | A fact-oriented description of the effect(s). Note: save opinions on strategy, techniques, and tactics for the last section. |
| effect_range | A fact-oriented description of the card's range of effect(s). |
| modifications | A fact-oriented description of what modification options can be expected, and any combinations that the reader should be aware of, for example, increases to AP when the desirable effect increases. |
| acquisition | How the player gets the card into their deck in the first place. |
| strategy | Feel free to expound on any of the above with opinions. The strategy section is separated with an H2 heading, so any strategy subheadings should start with === H3 Headings ===
|
Example page
Artillery Attack
- Effects
- Damage: 1
- Move Target
Target Range
Artillery Attack is an early-game offensive card for the Artillery that deals damage and pushes targets.
Facts
Effect
Deal 1 damage, push units away from the point of impact.
This far-reaching attack does 1 or more damage to a target and pushes all pushable targets away from the point of impact.
Range
Artillery Attack can reach most of the grid except the area closest to the carriage. On only the widest grids, there are blind spots at the top and bottom.
Card Acquisition
This card comes with the Artillery carriage, in a stack of 2, at the beginning of the game.
Modifications
The damage and AP of this card can be modified. Sometimes the AP can be modified down by itself. If the damage is increased, sometimes the AP will be increased as well.
Strategy
Pushable targets can be pushed into other targets to deal damage, often in a chain reaction. Be cautious of collateral damage when targets get pushed into train carriages. When out of reach, sometimes a pushable target can at least be pushed so its intent is no longer directed to a vulnerable carriage.
Card
- Blank infobox


