Template:CCG

Usage
Place the following code on the page and replace "SET NAME", "URL", and "CARD NAME" with the appropriate information.

Add 1 into the template if you want the link to be a normal wikilink. If no link is provided, cardname will be shown as plain text. If link is provided without cardname, an error message will be produced instead of the normal output. An error message will also be produced if set is not defined.

Add text into the template if you want to pipe the set link. In this case, TEXT will be displayed and will link to the article named in set.

For backward compatibility, an unnamed parameter can also be used in place of set. This is considered deprecated and will produce a hidden tracking category. The ability to use this parameter will eventually be removed, so going forward, new usages of the template should use an explicit set instead.

Note that clicking on the card link in the template will typically produce an "access denied" error message on the target website. This can usually be bypassed by setting focus on your browser's address bar (e.g. by clicking on it) and either hitting the "Enter" key or clicking "Go".

Examples
With URL in link field:



Without internal page name in link field, and 1 added to template:



Without any link: