Hearthstone Wiki

Hearthstone Wiki's database has been fully updated to Patch 23.4.3.141643!

READ MORE

Hearthstone Wiki
Advertisement

Usage

{{Class returns|<renderName, name, or id of class to return>|<returns renderName, name, or id of that class (default is name)>|<template format to display return (default is Count layout)>}}

Notes

  • If the class does not have a custom definition yet, it will always return id and use {{Count layout}}.

Examples

  • {{Class returns|14|renderName}} returns: Demon Hunter
  • {{Class returns|Demon Hunter|name}} returns: DEMONHUNTER
  • {{Class returns|DEMONHUNTER|id}} returns: 14
  • {{Class returns|DEMONHUNTER|renderName}} returns: Demon Hunter
  • {{Class returns|Demon Hunter|id}} returns: 14
  • {{Class returns|14|name}} returns: DEMONHUNTER
  • {{Class returns|DEMONHUNTER|name}} returns: DEMONHUNTER
  • {{Class returns|Demon Hunter|renderName}} returns: Demon Hunter
  • {{Class returns|14|id}} returns: 14
  • {{Class returns|14|renderName|File layout}} returns: Demon Hunter
  • {{Class returns|Demon Hunter|name|Link layout}} returns: DEMONHUNTER
  • {{Class returns|DEMONHUNTER|id|File and link layout}} returns: 1414
Advertisement