Difference between revisions of "Template:Card gallery"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> == Usage == The Card gallery template displays a set of cards as card images in a dynamic layout. Any card in the gallery can be clicked to open a modal popup wit...")
(No difference)

Revision as of 11:39, 27 April 2020

Usage

The Card gallery template displays a set of cards as card images in a dynamic layout. Any card in the gallery can be clicked to open a modal popup with a larger view of the cards in the gallery and navigation between cards.

Parameters

  • id: The ID of the card list. This must be unique for each card list on any one page.
  • (optional) width: The width of each card in pixels in the non-modal (embedded) view.
  • (up to 10 unlabeled parameters): The names of cards in the gallery.

Example

The following shorthand:

{{Card gallery
|id = 1.1
|Champion of Wits
|Ominous Sphinx
|The Locust God
|Unesh, Criosphinx Sovereign
|Vizier of the Anointed
|Endless Sands
|Imaginary Threats
|Kefnet's Last Word
|Riddleform
|Swarm Intelligence
}}

Produces: Champion of Wits Ominous Sphinx The Locust God Unesh, Criosphinx Sovereign Vizier of the Anointed Endless Sands Imaginary Threats Kefnet's Last Word Riddleform Swarm Intelligence