Template:Card/doc

'''Note: this template is currently a placeholder which outputs an infobox. It will be updated to output information in a card-like format as described in the below documentation soon.'''

This template will be used in two different ways on the wiki: indirectly and directly.

Indirect usage
When a card subpage is already set up properly, it isn't necessary to use this template directly. Instead, use the card subpage itself like a template, as in:

As in this example:

Note that a similar method can be used to output the same information in different formats, such as:

See Card infobox and Hero page card table/row for more information.

Direct usage
This template should only be used directly to set up card subpages.

A properly set up card subpage will look like this in the source:

When typing the card description, place  between separate lines of the description and keep all of the text on the same line. Each template will convert  as appropriate. (Hero page card table/row doesn't break it up into separate lines, for example, while others do.)

Important note: Don't use  on the   or   line as a shortcut. It will function correctly on the subpage itself, and therefore appear correct, but it will provide the wrong name when transcluded onto other pages, so the card name must be provided directly. The page name will need to be as well if it's different from the card name.