Template:Infobox CCG: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Blondeshell (historical)
imported>Blondeshell (historical)
mNo edit summary
Line 1: Line 1:
<includeonly>{| class="infobox" style="width: 20em; text-align: left; font-size: 90%; border: 1px solid #aaaaaa;"
<includeonly>{| class="wikitable" style="text-align: left; font-size: 90%; border: 1px solid #aaaaaa;"
|-
|-
| rowspan="13" style="text-align:top;" | {{#if: {{{image|}}} | [[Image:{{{image|}}}|250px]] }}}}
| rowspan="13" style="text-align:top;" | {{#if: {{{image|}}} | [[Image:{{{image|}}}|250px]] }}}}
Line 9: Line 9:
| {{{archetype}}}
| {{{archetype}}}
|-
|-
! {{right|'''Powersets:'''}}
{{#if: {{{powerset2|}}} {{!}} {{right|'''Powersets:'''}}|{{right|'''Powerset:'''}} }}
| {{{powersets}}}
{{!}} {{#if: {{{powerset2|}}} {{{powerset1}}} • {{{powerset2}}}|{{{powerset1}}} }}
|-
|-
{{#if: {{{start|}}} | {{!}} {{right|'''Starting Powers:'''}}
{{#if: {{{start1|}}} | {{!}} {{right|'''Starting Powers:'''}}
{{!}} {{{start}}}
{{!}} {{{start1}}} • {{{start2}}} }}
|-
|-
| {{right|'''Travel Power:'''}}
! {{right|'''Travel Power:'''}}
| {{{travel}}}
| {{{travel}}}
|-
|-
| {{right|'''Accuracy:'''}}
! {{right|'''Accuracy:'''}}
| {{{accuracy}}}
| {{{accuracy}}}
|-
|-
| {{right|'''Defense:'''}}
! {{right|'''Defense:'''}}
| {{{defense}}}
| {{{defense}}}
|-
|-
| {{right|'''Health:'''}}
! {{right|'''Health:'''}}
| {{{health}}}
| {{{health}}}
|-
|-
{{#if: {{{inspiration|}}} | {{!}} {{right|'''Inspiration:'''}}
{{#if: {{{inspiration|}}} | {{!}} {{right|'''Inspiration:'''}}
{{!}} {{{inspiration}}}
{{!}} {{{inspiration}}} }}
|-
|-
| {{right|'''Card Text:'''}}
! {{right|'''Card Text:'''}}
| {{{text}}}
| {{{text}}}
|-
|-
{{#if: {{{flavor|}}} | {{!}} {{right|'''Flavor Text:'''}}
{{#if: {{{flavor|}}} | {{!}} {{right|'''Flavor Text:'''}}
{{!}} ''{{{flavor}}}''
{{!}} ''{{{flavor}}}'' }}
|-
|-
| {{right|'''Card Type:'''}}
! {{right|'''Card Type:'''}}
| {{#if: {{{type|Hero}}}|Hero|Sidekick}}
| {{#if: {{{type|Hero}}}|Hero|Sidekick}}
|-
|-
| {{right|'''Card Number:'''}}
! {{right|'''Card Number:'''}}
| {{{number}}}
| {{{number}}}
|-
|-
| {{right|'''Rarity:'''}}
! {{right|'''Rarity:'''}}
| {{#if: {{{rarity|battle pack}}}|[[File:CCG_icon_battle_pack.png|20px]] Battle Pack|{{#if: {{{rarity|rare}}}|[[File:CCG_icon_rare.png|20px]] Rare|{{#if: {{{rarity|uncommon}}}|[[File:CCG_icon_uncommon.png|20px]] Uncommon|{{#if: {{{rarity|common}}}|[[File:CCG_icon_common.png|20px]] Common|[[File:CCG_icon_preview.png|20px]] Preview}}}}}}}}
| {{#if: {{{rarity|battle pack}}}|[[File:CCG_icon_battle_pack.png|20px]] Battle Pack|{{#if: {{{rarity|rare}}}|[[File:CCG_icon_rare.png|20px]] Rare|{{#if: {{{rarity|uncommon}}}|[[File:CCG_icon_uncommon.png|20px]] Uncommon|{{#if: {{{rarity|common}}}|[[File:CCG_icon_common.png|20px]] Common|[[File:CCG_icon_preview.png|20px]] Preview}}}}}}}}
|}
|}
</includeonly>
</includeonly>
<noinclude>{{Documentation}}<!-- Add any documentation to the /doc page, not this page --></noinclude>
<noinclude>{{Documentation}}<!-- Add any documentation to the /doc page, not this page --></noinclude>

Revision as of 01:13, 3 June 2010

[edit] [purge] Documentation

The 'Infobox CCG' template is used to provide quick and concise tabular information about a card from the COH CCG. Not shown here, it also links to the main CCG article and the articles for the various deck listings (example: COHCCG/Hasten).

Usage

This infobox may be added by pasting the template as shown below into an article.

{{Infobox CCG
|name=
|type=
|image=
|archetype=
|powerset1=
|powerset2=
|recharge=
|start1=
|start2=
|travel=
|accuracy=
|defense=
|health=
|prereq=
|text=
|threat=
|defeat=
|reward=
|flavor=
|inspiration=
|deck=
|number=
|rarity=
}}

Parameters

Note: * denotes required fields.

Parameter Explanation
name * Insert name of Hero, preferably as appears on the card.
type * Insert the type of card, either "Hero" or "Sidekick."
image * Insert *.png image. The image will be scaled to a width of 250px.
archetype * Insert Hero or Sidekick's Archetype.
powersets * Insert the two powersets of this Hero or Sidekick. A "•" will automatically be inserted between each set.
start Insert the two starting powers of the Hero, formatted the same as above. This is not applicable to Sidekicks.
travel * Insert the travel power of the Hero or Sidekick.
accuracy * Insert the accuracy rating of the Hero or Sidekick.
defense * Insert the defense rating of the Hero or Sidekick.
health * Insert the health rating of the Hero or Sidekick.
inspiration Insert the inspiration of the Sidekick. This is not applicable to Heroes.
text * Insert the basic text of the card. Format the text the same as appears on the card, with entries like Action: and React: in bold, and multiple lines separated with <br />.
flavor Insert the flavor text of the card. This is the text in italics, usually portrayed as a quote. Formatted entry will already include italics.
number * Insert the card's number in the series.
rarity * Insert the card's rarity. (Preview, Common, Uncommon, Rare, Battle Pack) Appropriate icons will be added automatically.
display Only used on this template page, suppresses the list of See Also links: "y" for suppress, leave off to not suppress links.

Examples

Here is a dummy example that shows where each parameter is displayed.

{{Infobox CCG
|name=name
|type=type
|image=Icon clue generic.png
|archetype=archetype
|powerset1=powerset1
|powerset2=powerset2
|recharge=recharge
|start1=start1
|start2=start2
|travel=travel
|accuracy=accuracy
|defense=defense
|health=health
|prereq=prereq
|text=text
|threat=threat
|defeat=defeat
|reward=reward
|flavor=flavor
|inspiration=inspiration
|deck=deck
|number=number
|rarity=rarity}}
Powerset:
Icon clue generic.png}}
Name:
name
Archetype:
archetype
powerset1
Starting Powers:
start1 • start2
Travel Power:
travel
Accuracy:
accuracy
Defense:
defense
Health:
health
Inspiration:
inspiration
Card Text:
text
Flavor Text:
flavor
Card Type:
Hero
Card Number:
number
Rarity:
CCG icon battle pack.png Battle Pack


Here is a more realistic example from the article COHCCG/Positron.

{{Infobox CCG
|name=Positron
|type=hero
|image=CCG_A_094_Positron.png
|archetype=Defender
|powerset1=Radiation Emission
|powerset2=Radiation Blast
|recharge=
|start1=Overcharge
|start2=Neutrino Bolt
|travel=Flight
|accuracy=3
|defense=3
|health=20
|inspiration=
|prereq=
|threat=
|defeat=
|reward=
|text='''Action:''' Discard 1 card: Search your deck for any power with "Radiation" in the title, reveal it, and put it in your hand. Shuffle your deck.
|flavor=Dr. Raymond Keyes developed the Positron suit while working for [[Crey]]. It allows him to convert anti-matter into powerful blasts of energy.
|deck=arena
|number=94
|rarity=battle pack
}}
Powerset:
CCG A 094 Positron.png}}
Name:
Positron
Archetype:
Defender
Radiation Emission
Starting Powers:
Overcharge • Neutrino Bolt
Travel Power:
Flight
Accuracy:
3
Defense:
3
Health:
20
Card Text:
Action: Discard 1 card: Search your deck for any power with "Radiation" in the title, reveal it, and put it in your hand. Shuffle your deck.
Flavor Text:
Dr. Raymond Keyes developed the Positron suit while working for Crey. It allows him to convert anti-matter into powerful blasts of energy.
Card Type:
Hero
Card Number:
94
Rarity:
CCG icon battle pack.png Battle Pack