Template:Card template v2

From Hearthstone Wiki
Jump to navigation Jump to search
The following documentation is transcluded from Template:Card template v2/doc (edit):

Template used for card articles. See Help:Style guide/Card for more information.

Parameters[edit source]

Parameters used in Card template v2.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
dbfIddbfId

The official unique numerical id of the card. Every single card must have this. For collectible cards, you can easily check its ID by looking at the links on PlayHearthstone Card Library or the Blizzard API. For example, [https://hearthstone.blizzard.com/en-us/cards/66876-rokara-the-valorous] means Rokara, the Valorous's dbfId is 66876. Use ONLY one of dbfId, id, or name to search cards.

Example
66876
Numberrequired
IDid

The official string ID of the card. Use ONLY one of dbfId, id, or name to search cards.

Example
AV_202
Stringoptional
Namename

The official name of the card. Use ONLY one of dbfId, id, or name to search cards.

Example
Rokara, the Valorous
Stringoptional
Related card dbfIdsderived_relatedCardDbfIds

List of the dbfIds of cards that this card generates, summons, or references (Separated by &&). For example, Kara Kazham! is a card that summons three different tokens with unique dbfIds.

Example
39198&&39199&&39200
Numberoptional
Choice card dfbIdsderived_choiceCardDbfIds

List of the dbfIds of choice cards that can be chosen from this card (Separated by &&). For example, Living Roots has two choice cards that each have an unique dbfId.

Example
2789&&2791
Numberoptional
Exclusionsderived_exclusions

List of exclusions where this card cannot be seen (Separated by &&). Valid options are: Arena, Card generation, Duels deck-building, Duels card buckets, Wild.

Example
Duels deck-building&&Duels card buckets
Stringoptional
Mechanics/Abilitiescustom_mechanicTags

Mechanics, abilities, or keywords on the card (Separated by &&). (e.g. Taunt, Lifesteal, Draw cards, Shuffle into deck). Examples of abilities can be seen at [Help:Style guide/Tag]

Example
Rush&&Taunt&&Draw cards&&Destroy
Stringsuggested
Referenced mechanicscustom_refTags

Mechanics, abilities, or keywords that are referenced by the card (Separated by &&). (e.g. Taunt-granting, Stealth-generating, Rush-related). Examples of referenced tags can be seen at [Help:Style guide/Tag]

Example
Taunt-granting&&Stealth-generating&&Rush-related
Stringsuggested
Hidden tagscustom_hiddenTags

Tags that are useful for querying, but do not need to be presented on the infobox (Separated by &&). Examples of hidden tags can be seen at [Help:Style guide/Tag]

Example
Triggered effect - after your opponent casts a spell
Stringsuggested
Cyclescustom_cycles

List of cycles that this card belongs to (Separated by &&). Cycles can be small card pools that are referenced by various cards (e.g. Libram or SI:7). They can also help categorize Battlegrounds cards which tend to have inconsistent data (e.g. BG tavern token, BG removed tavern minion)

Example
Libram
Stringoptional
Racescustom_races

The Warcraft race(s) of a minion or hero, or occasionally weapon (Separated by &&). Used for card art articles. Valid options can be seen at the bottom of any card art article (e.g. Night elf art)

Example
Night elf
Stringoptional
Background racescustom_racesInArt

Warcraft races that are on the background of a card's art, or not as the main subject, or are referenced by the art (Separated by &&). Can be used for all card types. Valid options can be seen at the bottom of any card art article (e.g. Night elf art)

Example
Gnome&&Goblin
Stringoptional
Charactercustom_characs

The named character on the card. Used for disambiguation pages. If multiple, separated by &&.

Example
Khadgar
Stringoptional
Background characterscustom_characsInArt

Named characters that are on the background of the card art, or not as the main focus of the art, or are otherwise referenced by the art (Separated by &&).

Example
Khadgar&&Medivh
Stringoptional
Gendercustom_genders

Gender of the character on the card. Values are 0, 1, or 2, for female, male, and other.

Example
1
Numberoptional
Full artderived_imgFullArt

The file name of the card's full art. If not declared, by default this will be "<card name> full.jpg"

Example
Rokara, the Valorous full.jpg
Fileoptional
Signature full artderived_imgSignatureFullArt

The file name of the card's full signature art. If not declared, by default this will be "<card name> signature full.jpg"

Example
Invincible signature full.jpg
Fileoptional
Artistderived_artist

The card's artist. On most collectible constructed cards, this value is stored automatically. For some uncollectible or single-player cards, it may need to be manually declared.

Example
Matt Dixon
Stringoptional
Artist referencescustom_artistReferences

If a card's artist needs citation (e.g. the artist themselves said on an external website that they're the artist of a card), the citations can be referenced here (Separated by &&)

Example
Link 1&&Link 2
URLoptional
VFX Artistcustom_vfxArtist

The artist who created the VFX effects for this card or item (NOT the drawn artwork itself).

Example
Matt Dixon
Stringoptional
VFX Artist referencescustom_vfxArtistReferences

If a card's VFX artist needs citation (e.g. the artist themselves said on an external website that they're the VFX artist of a card), the citations can be referenced here (Separated by &&)

Example
Link 1&&Link 2
URLoptional
Voice actorcustom_voiceActor

The voice actor of the card.

Example
Lani Minella
Stringoptional
Voice actor referencescustom_voiceActorReferences

If a card's voice actor needs citation (e.g. the voice actor themselves said on an external website that they're the voice actor of a card), the citations can be referenced here (Separated by &&)

Example
Link 1&&Link 2
Stringoptional
Class IDsderived_classIds

List of classes that this card belongs to (IDs of the classes, separated by &&). Most of the time, this does not need to be declared, however it may be needed for multi-class cards during reveal seasons due to incomplete data. List of class IDs can be seen at [[Template:CardsCardClass table/store1]].

Example
3&&7
Numberoptional
Formatsderived_formats

List of constructed formats that this card belongs to (Separated by &&). Valid options are: Standard, Wild, Twist, Arena, Duels, Boss, System, Classic. Most of the time, this does not need to be declared, but may be required if the card's formats are wrong (e.g. a single-player Boss card is showing Standard in its formats).

Example
Standard&&Wild
Stringoptional
Removedderived_isRemoved

"1" if the card is removed. May be needed if a removed card is not automatically categorized as removed.

Example
1
Numberoptional
Query onlycustom_isQuery

"1" if the card only needs to be displayed along with its infobox, without storing any data. May be needed for constructed cards in Battlegrounds that are the exact same as their constructed counterpart (same dbfId)

Example
1
Numberoptional
Core set yearscustom_coreInYears

List of Hearthstone years (without the "Year of the" part) that have this card in their Core set (Separated by &&). Used for Core set versions of cards only.

Example
Hydra&&Wolf
Stringoptional
Hearthstone Card Library linkcustom_onBlizzardApi

"1" if the card can be seen in the official Hearthstone Card Library. Adds a link to the External links section of the article for the card on the card library. Usually all cards except Solo Adventure and Tavern Brawl cards can be linked to.

Example
1
Numbersuggested
HearthPwn IDcustom_hearthpwnId

ID of the HearthPwn page for the card. Adds a link to the HearthPwn page for the card on the External links section. For example, Arcane Giant's HearthPwn link is [https://www.hearthpwn.com/cards/42049]. This means that Arcane Giant's HearthPwn ID is 42049.

Example
42049
Numbersuggested
Out of Games IDcustom_outOfCardsId

ID of the Out of Games page for the card. Adds a link to the Out of Games page for the card on the External links section. For example, Arcane Giant's Out of Cards link is [https://outof.games/hearthstone/cards/3022]. This means that Arcane Giant's Out of Cards ID is 3022.

Example
3022
Numbersuggested
Original card dbfIdcustom_originalCardDbfId

The dbfId of the card's original version. May be needed for Core or Classic cards.

Example
559
Numberoptional
Unique emotescustomFunctionalityUniqueEmote

Used for hero skins. Values are "1" or "full" if the skin has a full set of custom emotes, and "2" or "base" if the skin only has new base emotes compared to a previous skin using the same character.

Example
1
Numberoptional
Tray imagecustomFunctionalityUniqueTrayImage

Used for hero skins. If the skin comes with an unique tray, the image file can be pasted here to be presented on the hero skin's article.

Example
LeroyJenkins tray PC.png
Fileoptional
Golden tray imagecustomFunctionalityUniqueGoldenTrayImage

Used for hero skins. If the skin comes with an unique golden tray, the image file can be pasted here to be presented on the hero skin's article.

Example
LeroyJenkins tray PC GOLDEN.png
Fileoptional
Phone tray imagecustomFunctionalityUniquePhoneTrayImage

Used for hero skins. If the skin comes with an unique mobile phone tray, the image file can be pasted here to be presented on the hero skin's article.

Example
Leroy tray grounds.png
Fileoptional
External linkscustom_externalLinks

Adds additional links to the "External links" section of the article (Separated by &&)

Example
Link 1&&Link 2
URLoptional
Custom layoutarticle_custom

"1" or "true" if you wish that the card article should use an entirely custom layout. This disables all auto-generated sections, and the article must be written from scratch. This however does not hide the infoboxes.

Example
true
Stringoptional
Pre-descriptionarticle_preDesc

An italicized and indented text, before the description.

Example
You may be looking for this other page.
Stringoptional
Descriptionarticle_description

The first paragraph of the article, before the first section. Usually this does not need to be changed, but can be altered for better presentation.

Example
Leeroy Jenkins is a legendary neutral minion card, from the Legacy set.
Stringoptional
Related cardsarticle_relatedCards

Used to display a custom layout for a card's related cards. By default, the related cards will simply be listed from the "Related card dbfIds" section.

Example
<h2>Concoction cards</h2> {{Card query|layout=article image|format=Standard,Wild|customCycles=Concoction|collectible=}}
Contentoptional
Related witharticle_relatedWith

Used to display a custom layout for cards this card is related with. By default, the cards it's related with will simply be listed from other cards that have this card in their "Related card dbfIds" section.

Example
<h2>Related with</h2> {{Card query|layout=article image|format=Wild|collectible=|customReferencedTags=SI:7-related}}
Contentoptional
Notesarticle_notes

Notes for the card (Separated by &&). Generates a "Notes" section on the article with a list format.

Example
&&This card does a specific thing. &&This card however does not do this other specific thing.
Contentoptional
Tips (using)article_tipsUsing

Tips when using this card (Separated by &&). Similar to Strategy, but avoid using filler text and follow the editing policies at [Hearthstone Wiki:Editing policies/Tips].

Example
This card is recommended for aggressive decks.
Contentoptional
Tips (against)article_tipsAgainst

Tips when playing against this card (Separated by &&). Similar to Strategy, but avoid using filler text and follow the editing policies at [Hearthstone Wiki:Editing policies/Tips].

Example
Avoid building a large board against opponent's who you suspect might be running this card.
Contentoptional
Soundsarticle_sounds

If left empty, by default, this will list the card's play, attack, and death sounds. If not left empty, a custom Sounds section layout can be written here.

Example
(Insert sound files here)
Contentoptional
Achievementsarticle_achievements

Uses {{Achievement query}} to get the achievements that are directly related to this card. No longer recommended from 2023, since this can be handled with [Template:CustomAchievement table], but this section may still be used for pre-2023 cards.

Example
{{Card article achievement|category=Gameplay|Sire Denathrius}}
Templateoptional
Historyarticle_history

History of the card. Generates a "History" section on the article.

Example
This card was part of an OTK combo in 2018... etc.
Contentoptional
Lorearticle_lore

Lore of the card. Generates a "Lore" section on the article.

Example
The Boulderfist clan is a clan of ogres that live throughout the Arathi Highlands in Azeroth and Nagrand in Outland
Contentoptional
Triviaarticle_trivia

Trivia of the card, such as fun facts or information not related to Hearthstone specifically (Separated by &&). Generates a "Trivia" section on the article with a list format.

Example
&&This card's artwork is from the WoW TCG. &&This card's flavor text is a reference to a song.
Contentoptional
Galleryarticle_gallery

Additional images, such as the character or race in WoW, or concept art (Separated by line breaks). The full art and full signature art do not need to be placed here, they are presented automatically.

Example
Vol'jin WoW.jpg{{!}}Vol'jin in ''[[World of Warcraft]]''
Fileoptional
Videosarticle_videos

Videos relating to the card. Recommended presentation is with {{#ev}} (embed video).

Example
{{#ev:youtube|6dVoezmeXpY|350|inline}}
Contentoptional
Trigger soundsarticle_soundsCUSTOM_trigger

Exact file names of the card's triggering sounds (Separated by ,). Usually these are not declared by default, and need to be manually declared.

Example
VO_RLK_571_Male_Geist_Trigger_01.wav
Fileoptional
Other soundsarticle_soundsCUSTOM_other

Exact file names of the card's other sounds (Separated by ,). Usually these are not declared by default, and need to be manually declared. Mostly used for hero skins that have unique start-of-game interactions with other heroes.

Example
VO_HERO_01v_Male_EternalOne_Start_Renathal_01.wav
Fileoptional
Trigger sound referencesarticle_soundsCUSTOM_triggerReferences

List of references for when the triggering sound can be heard (Separated by &&). Use the same order as how you placed the trigger sound files. Usually used for hero skins.

Example
Trigger: [[Cleave]]&&Trigger: [[Mortal Strike]]
Stringoptional
Other sound referencesarticle_soundsCUSTOM_otherReferences

List of references for when the other sounds can be heard (Separated by &&). Use the same order as how you placed the other sound files. Usually used for hero skins.

Example
Start [Prince Renathal]
Stringoptional
Play sound transcriptarticle_soundsTRANSCRIPT_play

Transcript for the card's play quote(s) (Separated by ,). Any data added here will not be immediately presented, but will be temporarily stored so that admins can place the transcripts in a storing table, after which they will be presented normally. Only use this if a card does not have a transcript yet, or if you think the transcript is wrong.

Example
We're gonna be rich!
Stringoptional
Attack sound transcriptarticle_soundsTRANSCRIPT_attack

Transcript for the card's attack quote(s) (Separated by ,). Any data added here will not be immediately presented, but will be temporarily stored so that admins can place the transcripts in a storing table, after which they will be presented normally. Only use this if a card does not have a transcript yet, or if you think the transcript is wrong.

Example
How much?
Stringoptional
Death sound transcriptarticle_soundsTRANSCRIPT_death

Transcript for the card's death quote(s) (Separated by ,). Any data added here will not be immediately presented, but will be temporarily stored so that admins can place the transcripts in a storing table, after which they will be presented normally. Only use this if a card does not have a transcript yet, or if you think the transcript is wrong.

Example
No no no no! Aah!
Stringoptional
Trigger sound transcriptarticle_soundsTRANSCRIPT_trigger

Transcript for the card's trigger quote(s) (Separated by ,). Any data added here will not be immediately presented, but will be temporarily stored so that admins can place the transcripts in a storing table, after which they will be presented normally. Only use this if a card does not have a transcript yet, or if you think the transcript is wrong.

Example
None will survive!
Stringoptional
Other sound transcriptarticle_soundsTRANSCRIPT_other

Transcript for the card's other quote(s) (Separated by ,). Any data added here will not be immediately presented, but will be temporarily stored so that admins can place the transcripts in a storing table, after which they will be presented normally. Only use this if a card does not have a transcript yet, or if you think the transcript is wrong.

Example
You will regret your insolence.
Stringoptional
Metadataarticle_meta

Metadata for this card, if custom metadata is required. Used for disambiguation pages.

Example
unused neutral minion, from the Legacy set
Stringoptional