Hearthstone Wiki

Our community portal has been updated. Be sure to check out the projects if you wish to become an editor and help contribute the Hearthstone Wiki!

READ MORE

Hearthstone Wiki
Advertisement

Currently, all the card articles depicting cards which were added in Patch 21.4.0.95431 or newer uses {{Card template}} to display the layout of the article.

Every single card MUST have a dbfId. For collectible cards, you can easily check its id by looking at the links on PlayHearthstone Library or Blizzard API. For example https://playhearthstone.com/en-us/cards/66876-rokara-the-valorous means Rokara, the Valorous's dbfId is 66876.

Usage[]

{{Card template
|dbfId=
|artistOverride=
|battlegroundsNormalDbfIdOverride=
|battlegroundsPremiumDbfIdOverride=
|link=
|image=
|has_gold=
|gold_image=
|diamond_image=
|bg_image=
|costs_gold=
|bg_reg_ver=
|voice_actor=
|customExclusions=
|customCycles=
|customRelatedCardsDbfId=
|customChoiceCardsDbfId=
|customFullArt=
|customOriginalDbfId=
|customCoreDbfId=
|customClassicDbfId=
|customMercenariesAbilitiesDbfId=
|customMercenariesHeroicAbilitiesDbfId=
|customBattlegroundsArmorTier=<!--

 // Article part

-->
|shows_set=
|fakeTechLevel=
|fakeHealth=
|fakeArmor=
|fakeFlavor=
|articleLayout=
|articleCustom=
|articleDescription=
|articleHowToGet=
|articleHowToGetWithReferences=
|articleHowToGetOld=
|articleNotes=
|articleNotesWithReferences=
|articleKnownBugsLastBuild=
|articleKnownBugs=
|articleStrategy=
|articleSounds=
|articleSoundsCUSTOM_BASIC_play=
|articleSoundsCUSTOM_BASIC_attack=
|articleSoundsCUSTOM_BASIC_death=
|articleSoundsCUSTOM_trigger=
|articleSoundsCUSTOM_other=
|articleSoundsTRANSCRIPT_play=
|articleSoundsTRANSCRIPT_trigger=
|articleSoundsTRANSCRIPT_attack=
|articleSoundsTRANSCRIPT_death=
|articleSoundsTRANSCRIPT_VO=
|articleSoundsTRANSCRIPT_UNKNOWN=
|articleSoundsTRANSCRIPT_other=
|articleSoundsTYPE_VO=
|articleSoundsTYPE_UNKNOWN=
|articleSoundsTYPE_trigger=
|articleSoundsTYPE_other=
|articleAchievements=
|articleHistory=
|articleLore=
|articleTrivia=
|articleGallery=
}}

Custom parameters[]

These parameters are not directly stored in game data and must be declared manually for querying.

Overriding properties[]

artistOverride
  • Overrides the artist value. Most of uncollectible cards do not define this property.
battlegroundsNormalDbfIdOverride
  • Overrides the battlegroundsNormalDbfId value, in case the game data does not define this property.
battlegroundsPremiumDbfIdOverride
  • Overrides the battlegroundsPremiumDbfId value, in case the game data does not define this property.

Text parameters[]

link
  • Link to Hearthpwn page that depicts the card.
  • Example: /cards/123456
bg_reg_ver
  • The page name of the Battlegrounds version of the minion card. It is not used for any other card types like spell.
  • There are cards that are used in both Constructed and Battlegrounds, like Murloc Tidehunter. In that case, you can set the parameter to |bg_reg_ver=Battlegrounds/Murloc Tidehunter
  • There are cards that have different entities (different dbfIds). For example, Ghastcoiler has dbfId=52041 and is used in Rumble Run. However, it is not used in Battlegrounds, because there is another Ghastcoiler which has dbfId=59687 and is used in Battlegrounds due to different summoning pools. In this case, bg_reg_ver is not needed to declare. Similar cases include Micro Machine & Battlegrounds/Micro Machine and any minions that summon minions.
voice_actor
  • The name of the voice actor who voices this card. Works similar to artistOverride.
  • Example: |voice_actor=Chris Metzen

Image parameters[]

General notes
image
  • Base name for the image or regular version of card image to display when queries use the image layouts. File type is not needed.
  • Example: Garrosh Hellscream(7) LT_001
gold_image
  • Base name for the golden version of card image to display when queries use the image layouts.
  • File type is not needed.
  • Do not use this for Mercenaries cards.
  • Example: Garrosh Hellscream(7) Gold
diamond_image
  • Base name for the diamond version of card image to display when queries use the image layouts.
  • File type is not needed.
  • Do not use this for Mercenaries cards.
  • Example: Garrosh Hellscream(7) Diamond
bg_image
  • Base name for the Battlegrounds version of card image to display when queries use the image layouts.
  • File type is not needed.
  • Example: Garrosh Hellscream(7) Battlegrounds
customFullArt
  • Full filename of the card's full art.
  • Example: Cariel Roame full.jpg
  • Notes: In the file pages, you must use {{Card artwork}}, credits the artist's names and leave the sources where you find the files.

Boolean parameters[]

These parameters only support these values: null, 0, no, false, 1, yes or true.

has_gold
  • Indicates if this card has an animated golden version or not.
  • Do not use this for Mercenaries cards.
costs_gold
  • Chooses to display Gold large icon.png icon instead of Mana icon.png icon when querying.

List text parameters[]

These parameters store a list of texts which are separated by ,.
customExclusions
  • Rules that exclude this card from where it would be normally applied.
  • Available exclusions: Arena, Duels deck-building, Wild, Tavern Brawl <name of Tavern Brawl>, Random generation
customCycles
customTags
customReferencedTags
customHiddenTags

Querying parameters[]

General notes
  • These parameters are dbfIds of the cards or ids of any other entities. If it's a list, they must be separated by &&.
  • For example: 10000&&20000&&30000
  • If you don't know the dbfIds but remember the names, you can still write the card names down, separated by &&, then use the debug layout to get their dbfIds. For example:
    • |customMercenariesAbilitiesDbfId=Archdruid's Call 3&&Healing Touch
    • |articleLayout=debug
  • Similarly, you can write version instead of build number, like customBuildAdded=21.4.0 to get the build number when combined with debug layout.
Wiki - How to edit querying parameters.png
customRelatedCardsDbfId
customChoiceCardsDbfId
customMercenariesAbilitiesDbfId
  • List of dbfId of the cards which this card uses as abilities. This is usually needed for uncollectible mercenaries, especially bounty bosses.
  • Example: Barak Kodobane (73386)
customMercenariesHeroicAbilitiesDbfId
  • List of dbfId of the cards which this card uses as abilities in Heroic. This is usually needed for uncollectible mercenaries, especially bounty bosses.
  • Example: Highlord Omokk (80316)
customOriginalDbfId
  • DbfId of the original version of this card.
customCoreDbfId
  • DbfId of the Core version of this card.
customClassicDbfId
  • DbfId of the Classic version of this card.
customBattlegroundsArmorTier

Article parameters[]

These parameters present the format of the article and sections.

Text parameters[]

articleCustom
  • If this is not empty, the entire pre-written paragraphs will be hidden. This is where you can customize the layout of the card article in any way you wish if the layout does not statsify you.
  • This however does not hide the infoboxes.
articleLayout
  • Layout or format that this article will be used.
  • Available layout: hero, bg minion, bg other, merc merc (for mercenary and minion cards), merc ability, merc equipment, merc (for other type of cards).
  • Layouts for testing. Only use these for "Show preview" button while you are editing: test, debug.
articleDescription
  • The first paragraph of the article, before the first section.
articleHowToGet
  • All ways to collect this card. Most of time, a date is needed to keep the history. Sepearated by &&.
  • Example: Buying United in Stormwind Tavern Pass from August 2, 2021 to December 2, 2021&&Leveling United in Stormwind Rewards Track to level 1
articleHowToGetOld
  • All ways to collect this card, but no longer available. Most of time, a date is needed to keep the history. Sepearated by &&.
articleNotes
  • Notable or unusual interactions between this card and other cards or game mechanics. Separated by &&.
articleKnownBugsLastBuild
  • The last patch build this card's Known bugs section was checked.
  • This parameter works like customBuildAdded and customBuildUpdated.
articleKnownBugs
  • List of all known bugs and glitches encountered in game with this card.
  • After a new patch is released, you should update articleKnownBugsLastBuild, then check if any bug was fixed. Any bug was fixed should be written in articlePatchChanges and provide the patch when it was fixed. Do not remove the info unless it never happened or incorrect.
articleSounds
  • Boolean value to check if you wish to display the Sounds section. By default, this will be true.
articleSoundsCUSTOM_BASIC_play
articleSoundsCUSTOM_BASIC_attack
articleSoundsCUSTOM_BASIC_death
articleSoundsCUSTOM_trigger
articleSoundsCUSTOM_other
  • List of sound filenames that you wish to add if the generated data are not enough. Sepearated by ,.
  • Example: LET_001_Human.wav, LET_002_Human.wav
  • These parameters will be merged after their corresponding original parameters. For example, BASIC_play will be merged with articleSoundsCUSTOM_BASIC_play.
articleSoundsTRANSCRIPT_play
articleSoundsTRANSCRIPT_trigger
articleSoundsTRANSCRIPT_attack
articleSoundsTRANSCRIPT_death
articleSoundsTRANSCRIPT_VO
articleSoundsTRANSCRIPT_UNKNOWN
articleSoundsTRANSCRIPT_other
  • List of strings that transcribe the sounds from top to bottom. Separated by ,.
  • If there are any transcript you wish to include comma, use &#44*; (without *) entity.
  • Example: Careful&#44*; they bite., I bite too! (without *)
articleSoundsTYPE_VO
articleSoundsTYPE_UNKNOWN
articleSoundsTYPE_trigger
articleSoundsTYPE_other
  • List of strings that represent the player actions that trigger the sounds. Separated by ,.
  • Enums of some common types are usually used with the template {{VO}}.
  • Example: {{VO|Threaten}}, {{VO|Thanks}}
articleAchievements
  • Uses {{Achievement query}} to get the achievements that are directly related to this card.
articleHistory
  • History of other sections, in case a massive change or redesign like Mindrender Illucia once received.
articleLore
  • Lore of the card.
articleTrivia
  • Trivia of the card.
articleGallery
  • List of images that are related to this card art or gameplay.
  • Example:
    Northshire Cleric sketch.jpg{{!}}Sketch art
    <full filename>{{!}}<caption of the image>
articlePatchChanges
articlePatchChangesBeforeAdded
  • List of changes that are detected in early access, beta, or alpha patches.
Advertisement