Parameters[]
Card template is reworked with new parameters and ALL old parameters reworked in some way (mostly renamed for consistency):
Renamed and removed parameters
| Old parameter | New parameter | Notes |
|---|---|---|
| datapage | No longer needed, as custom_hearthpwnId can represent it instead | |
| link | custom_hearthpwnId | Needs manual handle |
| shows_playhs | custom_onBlizzardApi | |
| customHearthpwnId | custom_hearthpwnId | |
| customOutOfCardsId | custom_outOfCardsId | |
| customCycles | custom_cycles | |
| customTags | custom_mechanicTags | |
| customReferencedTags | custom_refTags | |
| customHiddenTags | custom_hiddenTags | |
| image | derived_imgMain | |
| gold_image | derived_imgMainPremium | The number in the value is replaced with @ (token card) |
| diamond_image | derived_imgMainPremium | The number in the value is replaced with @ (token card) |
| bg_image | derived_imgBg | |
| customBattlegroundsArmorTier | We can get this from client now | |
| customArtist | derived_artist | |
| artistOverride | derived_artist | |
| artist | derived_artist | |
| voice actor | custom_voiceActor | |
| voice_actor | custom_voiceActor | |
| bg_reg_ver | custom_bgPage | |
| customExclusions | derived_exclusions | |
| customDisplayedText | derived_trimText | |
| customRenderedText | derived_text | |
| customBuildAdded | derived_lastAdded | |
| customBuildUpdated | ||
| customOriginalDbfId | custom_originalCardDbfId | |
| customCoreDbfId | Redundant, as long as Core card's customOriginalDbfId is defined | |
| customClassicDbfId | Redundant, as long as Classic card's customOriginalDbfId is defined | |
| customMercenariesAbilitiesDbfId | For boss data, there will be a different way to implement this in the future | |
| customMercenariesHeroicAbilitiesDbfId | For boss data, there will be a different way to implement this in the future | |
| shows_set | ||
| shows_cost | ||
| shows_attack | ||
| shows_health | ||
| shows_durability | ||
| shows_armor | ||
| fakeTechLevel | ||
| fakeHealth | For boss data, there will be a different way to implement this in the future | |
| fakeArmor | For boss data, there will be a different way to implement this in the future | |
| customIs_CoreGryphon | custom_coreInYears | Special handle |
| customIs_CoreHydra | custom_coreInYears | Special handle |
| articleDescription | article_description | |
| customFullArt | derived_imgFullArt | |
| customRelatedCardsDbfId | derived_relatedCardDbfIds | |
| customChoiceCardsDbfId | derived_choiceCardDbfIds | |
| articleHowToGet | Section fully implemented with How to get template now | |
| articleHowToGetWithReferences | Section fully implemented with How to get template now | |
| articleHowToGetOld | Section fully implemented with How to get template now | |
| articleNotes | article_notes | |
| articleNotesWithReferences | article_notes | articleNotes content will be removed with this is defined |
| articleHeroPower | Merged with article_relatedCards | |
| articleRelatedCards | article_relatedCards | |
| articleSounds | article_sounds | Also changes purpose (now context instead of a boolean) |
| articleSoundsCUSTOM_BASIC_play | ZeroToHeroes' data | |
| articleSoundsCUSTOM_BASIC_attack | ZeroToHeroes' data | |
| articleSoundsCUSTOM_BASIC_death | ZeroToHeroes' data | |
| articleSoundsCUSTOM_trigger | article_soundsCUSTOM_trigger | |
| articleSoundsCUSTOM_other | article_soundsCUSTOM_other | |
| articleSoundsCUSTOM_triggerReferences | article_soundsCUSTOM_triggerReferences | |
| articleSoundsCUSTOM_otherReferences | article_soundsCUSTOM_otherReferences | |
| articleSoundsTRANSCRIPT_play | article_soundsTRANSCRIPT_play | |
| articleSoundsTRANSCRIPT_trigger | article_soundsTRANSCRIPT_trigger | |
| articleSoundsTRANSCRIPT_attack | article_soundsTRANSCRIPT_attack | |
| articleSoundsTRANSCRIPT_death | article_soundsTRANSCRIPT_death | |
| articleSoundsTRANSCRIPT_VO | article_soundsTRANSCRIPT_VO | |
| articleSoundsTRANSCRIPT_UNKNOWN | article_soundsTRANSCRIPT_UNKNOWN | |
| articleSoundsTRANSCRIPT_other | article_soundsTRANSCRIPT_other | |
| articleSoundsTYPE_VO | Uses type in Template:AudioText table instead | |
| articleSoundsTYPE_UNKNOWN | Uses type in Template:AudioText table instead | |
| articleSoundsTYPE_trigger | Uses type in Template:AudioText table instead | |
| articleSoundsTYPE_other | Uses type in Template:AudioText table instead | |
| articleAchievements | article_achievements | |
| articleHistory | article_history | |
| articleLore | article_lore | |
| articleTrivia | article_trivia | |
| articleGallery | article_gallery | |
| articleVideos | article_videos | |
| articlePatchChanges | Section fully implemented with Card article patch changes template now | |
| customCategory | Most defined values are now handled by derived attributes | |
| categories | Most defined values are now handled by derived attributes | |
| articleLayout | Renewed with article_infobox | |
| has_gold | Redundant | |
| collectible | We can get this from client now | |
| addabilities | Redundant |
New parameters
| Name | Notes |
|---|---|
| derived_img | |
| derived_imgBgPremium | |
| derived_imgMercTemplate | |
| derived_imgMercAbility | |
| derived_imgMercPortrait | |
| derived_imgArt | 512x512 art used in-game |
| derived_classIds | |
| derived_coreUnlockedLevel | Class level required to unlock for Core cards |
| derived_faction | String value for Mercenaries' treasures that rely on faction |
| derived_formats | Constructed formats that the card can appear in |
| derived_goldenUncraftable | True if golden version is uncraftable |
| derived_isRemoved | True it is removed. This is for separated purposes of categories and customCategory |
| derived_regularUncraftable | True if regular version is uncraftable |
| derived_setId | |
| derived_lastModified | Renewed version of customBuildUpdated |
| custom_advPools | List of appearances in Solo Adventures |
| custom_advHeroPowerDbfIds | List of dbfIds of cards for this hero as Choice Hero Powers (in Duels and Dungeon Runs) |
| custom_advSignatureDbfIds | List of dbfIds of cards for this hero as Signature Treasures |
| custom_artistReferences | |
| custom_bannedOfferDbfIds | Lists of dbfIds of cards that will never be offered to this hero (usable for both Duels and Battlegrounds, like Reward cards or Treasure cards) |
| custom_bgSoundId | For bartenders only. Their sound files have unique ids not related to their card ids. |
| custom_characs | Used for disambiguation detection and a project in the future. Lorewise character that this minion/hero/merc represents. |
| custom_characsInArt | Used for disambiguation detection and a project in the future. Lorewise notable characters appearing in the full art of this card. |
| custom_races | Separated purposes for categories used in queries of Template:Card art articles. Lorewise races that this minion/hero/merc represents. |
| custom_racesInArt | Separated purposes for categories used in queries of Template:Card art articles. Lorewise races that are represented in the full art of this card. |
| custom_voiceActorReferences | |
| custom_genders | Used for a project in the future. 0=female, 1=male, 2=non-binary |
| article_meta | Short description of the card, used in disambiguations that use auto-generated templates. |
| article_relatedWith | |
| article_addedCategories | Renewed version of customCategory and categories |
| article_infobox | Renewed version of articleLayout. New card template will separate the infobox and the article context layouts |
Untouched parameters
These parameters will be left alone for now until I can find out solutions to handle them better. They won't have any effects on visual representation, but please don't remove them.
- costs_gold
- articleStrategy (Low effort, wordy and easily outdated section)
- customFunctionalityUniqueEmote
- customFunctionalityUniqueTrayImage
- customFunctionalityUniqueGoldenTrayImage
- customFunctionalityUniquePhoneTrayImage
- customFunctionalityUniqueTrayImage