Template:List cards/Section

From Hearthstone Wiki
Jump to navigation Jump to search


This 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.

This template can be used directly for custom sections, or through other templates like {{List cards/Upcoming}} for preset values.

Usage[edit source]

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.