hearthstone

Currently, all card articles depicting cards which were added in Patch 21.4.0.95431 or later use {{Card template v2}} 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 Card Library or the Blizzard API. For example, https://playhearthstone.com/en-us/cards/66876-rokara-the-valorous means Ashes of OutlandBasicBlackrock MountainClassicHero SkinsNaxxramasDemon Hunter InitiateDescent of DragonsFestival of LegendsForged in the BarrensFractured in Alterac ValleyGalakrond's AwakeningGoblins vs GnomesLegacyLegacyJourney to Un'GoroKnights of the Frozen ThroneKobolds & CatacombsThe League of ExplorersMadness at the Darkmoon FaireMarch of the Lich KingMean Streets of GadgetzanMercenariesMurder at Castle NathriaOne Night in KarazhanPath of ArthasRastakhan's RumblePromoRise of ShadowsSaviors of UldumScholomance AcademyThe Boomsday ProjectThe Grand TournamentThe WitchwoodTITANSUnited in StormwindVoyage to the Sunken CityWhispers of the Old GodsCoreRokara, the Valorous's dbfId is 66876.

Usage

{{Card template v2
 |dbfId=

// Derived keys: Keys that have default value based on the official data we get. You can edit these key values, but it's suggested that you keep them as their default value.

 |derived_img=
 |derived_imgMain=
 |derived_imgMainPremium=
 |derived_imgBg=
 |derived_imgBgPremium=
 |derived_imgMercTemplate=
 |derived_imgMercAbility=
 |derived_imgMercPortrait=
 |derived_imgArt=
 |derived_imgFullArt=
 |derived_imgSignatureFullArt=
 |derived_artist=
 |derived_classIds=
 |derived_classOrder=
 |derived_coreUnlockedLevel=
 |derived_exclusions=
 |derived_faction=
 |derived_formats=
 |derived_goldenUncraftable=
 |derived_isRemoved=
 |derived_regularUncraftable=
 |derived_relatedCardDbfIds=
 |derived_choiceCardDbfIds=
 |derived_setId=
 |derived_text=
 |derived_trimText=
 |derived_lastAdded=
 |derived_lastModified=
 |derived_minionTypeIds=
 |derived_minionTypeStrings=

// Custom keys: Made-up keys that are non-existent or unrelated to official data, but prove to be useful. You can edit these keys freely without being afraid of disrupting official data.

 |custom_advPools=
 |custom_advHeroPowerDbfIds=
 |custom_advSignatureDbfIds=
 |custom_artistReferences=
 |custom_bannedOfferDbfIds=
 |custom_bgPage=
 |custom_bgSoundId=
 |custom_characs=
 |custom_characsInArt=
 |custom_coreInYears=
 |custom_cycles=
 |custom_externalLinks
 |custom_genders=
 |custom_hearthpwnId=
 |custom_hiddenTags=
 |custom_mechanicTags=
 |custom_onBlizzardApi=
 |custom_originalCardDbfId=
 |custom_outOfCardsId=
 |custom_races=
 |custom_racesInArt=
 |custom_refTags=
 |custom_voiceActor=
 |custom_voiceActorReferences=

 // Article sections: These keys generate sections in the article itself, such as Notes, History, or Lore

 |article_description=
 |article_relatedCards=
 |article_relatedWith=
 |article_notes=
 |article_achievements=
 |article_sounds=
 |article_soundsCUSTOM_trigger=
 |article_soundsCUSTOM_other=
 |article_soundsCUSTOM_triggerReferences=
 |article_soundsCUSTOM_otherReferences=
 |article_history=
 |article_lore=
 |article_trivia
 |article_gallery=
 |article_videos=
 |article_meta=
 |article_addedCategories=
}}

Custom fields

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

Overriding properties

derived_artist

Text fields

custom_bgPage
custom_voiceActor

Image fields

General notes
derived_imgMain
derived_imgMainPremium
derived_imgBg
derived_imgFullArt

List text fields

These fields store a list of texts which are separated by &&.

derived_exclusions
custom_cycles
custom_mechanicTags
custom_refTags
custom_hiddenTags
custom_races
custom_racesInArt
custom_characs
custom_characsInArt
custom_genders

Querying fields

General notes
derived_relatedCardDbfIds
derived_choiceCardDbfIds
custom_originalCardDbfId

Article fields

These fields present the format of the article and sections.

Text fields

article_custom
article_description
article_relatedCards
article_relatedWith
article_notes
article_sounds
article_soundsCUSTOM_trigger
article_soundsCUSTOM_other
article_soundsTRANSCRIPT_play
article_soundsTRANSCRIPT_trigger
article_soundsTRANSCRIPT_attack
article_soundsTRANSCRIPT_death
article_soundsTRANSCRIPT_other
article_achievements (no longer recommended from 2023, since Achievements can be handled with Template:CustomAchievement table.)
article_history
article_lore
article_trivia
article_gallery
article_videos