Template:Card/documentation

The following is transcluded from Template:Card/documentation (edit)

Usage
Links a card's name to the article about that card, or if an article doesn't exist, it links a card's name to the Gatherer database. Call the template with, where cardname is replaced by the name of the card.

Note: If you have javascript enabled, this will open in a new window or tab.

Note: This will always link to the Gatherer database if you use the id parameter instead of the name or 1st unnamed parameter (see below). Also, you can make it either always link locally or always link to the Gatherer database by specifying the gatherer parameter. The id parameter takes precedence over every other parameter.

Parameters

 * - A card's name (the first unnamed parameter after a pipe). Also the text displayed if no alternate text is given (with or  )
 * - Can be used in place of
 * - A card's id (used to link to different versions of cards). MUST include alternate text with, , , or ! (any one of the four work). Also, this forces the link to go to the Gatherer database regardless of the parameter or if the local article exists.
 * - The alternate text which appears on the page itself
 * - Can be used in place of
 * - Establishes the set the card is from (not case sensitive, use _ed for starter sets, _ being 9, 8, or some other number). This optional parameter is only for linking to a previous set when is unknown. When left blank, it goes to the most current version of the card.
 * - If true, it will always link to Gatherer database even if a local article exists. If false, it will always link to the local article, regardless of its existance. Anything else (including null) will make it depend on the local article's existance.

Create link
Cards that link to gatherer because a local article does not exist have a hidden by default (create) link next to the link to gatherer. To show this link, edit your personal css (usually Special:Mypage/monaco.css) and insert the following:  and follow the directions on that page for clearing your cache.

Note to editors
Do NOT edit this template unless your knowledge of parser functions is very high!