Template:Card page: Difference between revisions

From Fogpiercer Official Wiki
Whole-page template for articles about one card
 
Inverted documentation to show description at the top and example at the bottom. Added link to example page
Line 53: Line 53:
-->{{#if: {{{effect3_link|}}} | [[Category:{{{effect3_link}}}]] }}
-->{{#if: {{{effect3_link|}}} | [[Category:{{{effect3_link}}}]] }}
</includeonly><noinclude>
</includeonly><noinclude>
<div style="border: 1px dashed {{CardYellow}}; padding: 8px; margin-top: 16px; margin-bottom:16px;">
{{Card page
|title=Artillery shot
|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.
|one_liner='''Artillery shot''' 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 shot''' 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>
<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=
|one_liner=
|effect=
|effect_range=
|modifications=
|acquisition=
|strategy=
}}
</div>
<div style="clear: both;" />


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 172: Line 120:
|}
|}


== Example page ==
<div style="border: 1px dashed {{CardYellow}}; padding: 8px; margin-top: 16px; margin-bottom:16px;">
{{Card page
|title=Artillery shot
|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.
|one_liner='''Artillery shot''' 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 shot''' 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 Shot|See article on Artillery Shot 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=
|one_liner=
|effect=
|effect_range=
|modifications=
|acquisition=
|strategy=
}}
</div>
: Blank infobox
</noinclude>
</noinclude>

Revision as of 15:29, 27 June 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=
|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.


Page template parameters
Parameter Usage
  • title
  • card_color
  • icon
  • ap
  • carriage
  • stack_size
  • effectN
  • effectN_link
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}}.
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 shot

2 AP AP
Carriage: Artillery
Card color: Red ━━━━━━━━
Stack Size: 2x
Deal 1 damage, push units away from the point of impact.

Artillery shot 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 shot 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.

See article on Artillery Shot card

Card

Blank infobox