Template:Infobox Card/doc: Difference between revisions

Jump to navigation Jump to search
document trait 3
(document support for familiars)
(document trait 3)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
;Description
;Description
:This template is display an infobox about a game card.
:This template is intended to display an infobox about a game card.
:Currently the template supports the following cards:
:Currently the template supports the following cards:
:*Skills
:*Skills
Line 7: Line 7:
:*Plot Cards
:*Plot Cards
:*Familiars
:*Familiars
:*Servants
:*Tainted Cards
:*Search Cards
:Not supported yet are:
:Not supported yet are:
:*Monster Cards
:*Monster Cards
:*Lieutenant Cards
:*Lieutenant Cards
:*Search Cards
:*Travel Cards
:*Travel Cards
:*?
:*?
Line 22: Line 24:
  |act =
  |act =
  |archetype =
  |archetype =
|attackdice =
  |buy =
  |buy =
  |cardtype =
  |cardtype =
  |character =
  |character =
  |copies =
  |copies =
  |dice =
  |defensedice =
  |expansion =
  |expansion =
|flavour =
  |health =
  |health =
  |heroclass =
  |heroclass =
Line 36: Line 40:
  |playcost =
  |playcost =
  |plotcardnumber =
  |plotcardnumber =
|plotdeck =
  |questreward =
  |questreward =
  |range =
  |range =
  |reliccounterpart =
  |reliccounterpart =
  |<includeonly>|section={{{section|synopsis}}}</includeonly>
  |<includeonly>|section={{{section|synopsis}}}</includeonly>
|sell =
  |speed =
  |speed =
  |text =
  |text =
Line 46: Line 50:
  |trait =
  |trait =
  |trait2 =
  |trait2 =
|trait3 =
  |worn =
  |worn =
  |xpcost =
  |xpcost =
Line 78: Line 83:
  |playcost      = <required>
  |playcost      = <required>
  |plotcardnumber = <required>
  |plotcardnumber = <required>
|plotdeck      = <required>
  |&lt;includeonly&gt;|section={{{section|synopsis}}}&lt;/includeonly&gt;
  |&lt;includeonly&gt;|section={{{section|synopsis}}}&lt;/includeonly&gt;
  |text          = <optional, but highly recommended>
  |text          = <optional, but highly recommended>
Line 104: Line 108:
<pre>
<pre>
&lt;onlyinclude&gt;{{Infobox card
&lt;onlyinclude&gt;{{Infobox card
  |archetype = <required, Healer, Mage, Warrior, Scout>
  |archetype   = <required, Healer, Mage, Warrior, Scout>
  |cardtype   = Item
|attackdice  = <optional, if applicable>
  |dice      = <required>
  |cardtype   = Item
  |expansion = <required>
  |defensedice = <optional, if applicable>
  |heroclass = <required>
  |expansion   = <required>
  |image     = <optional, only used when image to show has a different name than the automatically generated name>
  |heroclass   = <required>
  |name       = <required>
  |image       = <optional, only used when image to show has a different name than the automatically generated name>
  |range     = <optional, if applicable>
  |name       = <required>
  |range       = <optional, if applicable>
  |&lt;includeonly&gt;|section={{{section|synopsis}}}&lt;/includeonly&gt;
  |&lt;includeonly&gt;|section={{{section|synopsis}}}&lt;/includeonly&gt;
  |text       = <optional, but highly recommended>
  |text       = <optional, but highly recommended>
  |trait      = <optional, if applicable>
  |trait       = <optional, if applicable>
  |trait2    = <optional, if applicable>
|trait2     = <optional, if applicable>
  |worn       = <required>
  |trait3      = <optional, if applicable>
  |worn       = <required>
}}&lt;/onlyinclude&gt;
}}&lt;/onlyinclude&gt;
</pre>
</pre>
Line 123: Line 129:
<pre>
<pre>
&lt;onlyinclude&gt;{{Infobox card
&lt;onlyinclude&gt;{{Infobox card
  |act       = <required>
  |act         = <required>
  |buy       = <required>
|attackdice  = <optional, if applicable>
  |cardtype   = Item
  |buy         = <required>
  |copies    = <optional>
  |cardtype   = Item
  |dice      = <optional, if applicable>
  |defensedice = <optional, if applicable>
  |expansion = <required>
  |copies      = <optional>
  |image     = <optional, only used when image to show has a different name than the automatically generated name>
  |expansion   = <required>
  |name       = <required>
  |image       = <optional, only used when image to show has a different name than the automatically generated name>
  |range     = <optional, if applicable>
  |name       = <required>
  |range       = <optional, if applicable>
  |&lt;includeonly&gt;|section={{{section|synopsis}}}&lt;/includeonly&gt;
  |&lt;includeonly&gt;|section={{{section|synopsis}}}&lt;/includeonly&gt;
  |text       = <optional, but highly recommended>
  |text       = <optional, but highly recommended>
  |trait      = <optional, if applicable>
  |trait       = <optional, if applicable>
  |trait2    = <optional, if applicable>
|trait2     = <optional, if applicable>
  |worn       = <required>
  |trait3      = <optional, if applicable>
  |worn       = <required>
}}&lt;/onlyinclude&gt;
}}&lt;/onlyinclude&gt;
</pre>
</pre>
Line 143: Line 151:
<pre>
<pre>
&lt;onlyinclude&gt;{{Infobox card
&lt;onlyinclude&gt;{{Infobox card
|attackdice      = <optional, if applicable>
  |cardtype        = Item
  |cardtype        = Item
  |dice            = <optional, if applicable>
  |defensedice      = <optional, if applicable>
  |expansion        = <required>
  |expansion        = <required>
  |image            = <optional, only used when image to show has a different name than the automatically generated name>
  |image            = <optional, only used when image to show has a different name than the automatically generated name>
Line 155: Line 164:
  |trait            = <optional, if applicable>
  |trait            = <optional, if applicable>
  |trait2          = <optional, if applicable>
  |trait2          = <optional, if applicable>
|trait3      = <optional, if applicable>
  |worn            = <optional, if applicable>
  |worn            = <optional, if applicable>
}}&lt;/onlyinclude&gt;
}}&lt;/onlyinclude&gt;
Line 177: Line 187:
<pre>
<pre>
&lt;onlyinclude&gt;{{Infobox card
&lt;onlyinclude&gt;{{Infobox card
  |archetype        = <required, Overlord, Healer, Mage, Warrior, Scout>
|attackdice      = <optional, if applicable>
  |archetype        = <required, Healer, Mage, Warrior, Scout>
  |cardtype        = Familiar
  |cardtype        = Familiar
  |character        = <optional, if the familiar is part of a character (e.g. Brightblaze and Challara)>
  |character        = <optional, if the familiar is part of a character (e.g. Brightblaze and Challara)>
  |dice            = <optional, if applicable>
  |defensedice      = <optional, if applicable>
  |expansion        = <required>
  |expansion        = <required>
  |health          = <optional, if applicable>
  |health          = <optional, if applicable>
Line 188: Line 199:
  |&lt;includeonly&gt;|section={{{section|synopsis}}}&lt;/includeonly&gt;
  |&lt;includeonly&gt;|section={{{section|synopsis}}}&lt;/includeonly&gt;
  |speed            = <optional, if applicable>
  |speed            = <optional, if applicable>
|text            = <optional, but highly recommended>
}}&lt;/onlyinclude&gt;
</pre>
;Usage for Servants:
<pre>
&lt;onlyinclude&gt;{{Infobox card
|attackdice      = <optional, if applicable>
|archetype        = Overlord
|cardtype        = Servant
|defensedice      = <optional, if applicable>
|expansion        = <required>
|health          = <optional, if applicable>
|image            = <optional, only used when image to show has a different name than the automatically generated name>
|name            = <required>
|&lt;includeonly&gt;|section={{{section|synopsis}}}&lt;/includeonly&gt;
|speed            = <optional, if applicable>
|text            = <optional, but highly recommended>
}}&lt;/onlyinclude&gt;
</pre>
;Usage for Tainted cards:
<pre>
&lt;onlyinclude&gt;{{Infobox card
|cardtype        = Tainted
|expansion        = <required>
|flavour          = <optional, but highly recommended>
|name            = <required>
|&lt;includeonly&gt;|section={{{section|synopsis}}}&lt;/includeonly&gt;
|text            = <optional, but highly recommended>
}}&lt;/onlyinclude&gt;
</pre>
;Usage for Search cards:
<pre>
&lt;onlyinclude&gt;{{Infobox card
|attackdice      = <optional, when required>
|cardtype        = Search
|copies          = <optional>
|expansion        = <required>
|name            = <required>
|range            = <optional, when required>
|&lt;includeonly&gt;|section={{{section|synopsis}}}&lt;/includeonly&gt;
|sell            = <optional, but highly recommended>
  |text            = <optional, but highly recommended>
  |text            = <optional, but highly recommended>
}}&lt;/onlyinclude&gt;
}}&lt;/onlyinclude&gt;
</pre>
</pre>

Navigation menu