Template:Card infobox

From Star Trek Adversaries Wiki
Jump to: navigation, search
"Card infobox"
No image yet
Details
Faction Neutral
Rarity Unspecified
Type Unspecified
Species Unspecified
Cost 0
Attack 0
Defense 0
Template-info.png Documentation

This is an infobox for cards.

Usage[edit source]

Important note: For in-game cards on their main card article, use {{Card store}} instead, which will display this infobox in addition to automatic categorization and storage in the Special:CargoTables/Cards table. Use this template directly only when that automatic categorization is not desirable, such as for fake cards on user pages or displaying an card infobox somewhere other than the card's article.

{{Card infobox
  |name=
  |image=
  |faction=
  |flagship=
  |stars=
  |type=
  |species=
  |cost=
  |attack=
  |defense=
  |mechanics=
  |effect=
  |playable=
  |collectible=
  |tags=
}}

Parameters[edit source]

  • name: Optional. Specify only when the card name is different than the article name.
  • image: The file name of the card image. Don't include the File: namespace prefix.
  • faction: Optional. Federation or Klingon unless the card is neutral, in which case this need not be specified.
  • flagship: Optional. Normally only for core cards; don't specify for other cards. Specify the flagship by its article name here.
    • Multiple flagships may be specified by separating each with backslashes \.
  • stars: The rarity of the card as specified by the number of stars in numeric form.
  • type: The type of the card, typically Crew, Ship, or Event.
  • species: The species identified on the card, usually below the portrait. Ignored for event cards, required for others.
  • cost: Optional. The cost in numeric form. Assumes 0 if not specified.
  • attack: Optional. The attack value of the card in numeric form. Ignored for event cards; for other cards, assumes 0 if not specified.
  • defense: Optional. The defense value of the card in numeric form. Ignored for event cards; for other cards, assumes 0 if not specified.
  • mechanics: The card's mechanics, or keywords, identified in the effect.
    • Applicable mechanics show up to the side when hovering over them in the deck editor.
    • Core cards are more of a judgment call: italicized words are usually apply to the card, but sometimes they just distinguish what the effect applies to rather than the card actually having that mechanic.
    • Multiple mechanics should be separated by commas ,.
  • effect: Optional. The card's effect.
    • ParserPower escape sequences are allowed here. The infobox will automatically unescape them.
    • Please use \n for line breaks for proper handline. Please don't use ^lt;br> or literal new lines.
  • playable: Optional. Assumes yes. Only appears in the infobox when no.
    • yes means this card can end up in the player's hand, or otherwise can come under player control, such as a deployed ship.
  • collectible: Optional. Assumes yes. Only appears in the infobox when no.
    • yes means this card can be in a player's deck or is a core card of a playable flagship.
  • tags: Any words or phrases that convey some useful information about the card. They are stored and can be used as query conditions, and are also shown in the infobox.
    • Multiple tags should be separated by commas ,.
  • Special parameters:
    • is_core: Optional and should generally not be used. When not specified, the infobox will automatically determine this by whether a flagship is specified or not. Thus, this should only be used in the unexpected cases that a non-core card has one or more flagships or a core card lacks flagships; then, specify yes or no as appropriate.

Example[edit source]

"Jean-Luc Picard"
No image yet
Details
Faction Federation
Rarity Legendary
Type Crew
Species Human
Cost 4
Attack 1
Defense 1
Mechanics
Effect
Play: Give all friendly ships +1/+2 and Guardian.
Tags
Captain
{{Card infobox
  |name=Jean-Luc Picard
  |image=
  |faction=Federation
  |flagship=
  |stars=5
  |type=Crew
  |species=Human
  |cost=4
  |attack=1
  |defense=1
  |mechanics=Play,Guardian
  |effect=''Play:'' Give all friendly ships +1/+2 and ''Guardian''.
  |playable=yes
  |collectible=yes
  |tags=Captain
}}