Template:List cards/Section/Artist

From Hearthstone Wiki
Jump to: navigation, search


This template is a modified version of {{List cards/Section}}, designed to be called by {{List cards/Artist}}. It performs the usual duties of {{List cards/Section}}, but additionally sets a property for the artist page recording the number of returned cards.

The template checks to see if there are any matching cards, and if so creates a section complete with title and optional introduction, in which {{List cards}} is called to provide a list of all cards matching the parameters supplied. It then sets the specified property (if any) to indicate the number of cards returned.

Usage

The template accepts all parameters used by {{List cards}}, and four optional additional parameters: level, title, text and tableonly.

  • level - This parameter accepts values between 2 and 4 to determine the level of the section header. Default value: 2
  • title - This parameter sets the title for the section header. Default value: Untitled section
  • text - This parameter places text in the section, above the card listings. By default no text is presented.
  • tableonly - If this parameter is set to "yes", {{Custom card table}} will be called instead of {{List cards}}, resulting in only a table appearing, without a visual listing.
  • cardsonly - If this parameter is set to "yes", {{Cards}} will be called instead of {{List cards}}, resulting in only a visual listings appearing, without a table.