Help:Link Templates

From Card Hunter Wiki
Revision as of 12:38, 23 October 2012 by Mightymushroom (Talk | contribs)

Jump to: navigation, search

You can use templates to create inline text links to common types of pages. In most cases, it's a lot less typing!
For instance to link to the page for Spiked Shield, I could type
[[Items/Spiked Shield|Spiked Shield]]
or I could type
{{I|Spiked Shield}}
Both options have the result Spiked Shield. Which one do you think is faster?

Table of Link Templates

The following table demonstrates how to use Card Hunter Wiki's link templates:

To link to: Use: Result:
Cards {{Cards|xxxxxx}}

or
{{C|xxxxxx}}

A link to the page 'Cards/xxxxxx' that reads as "xxxxxx"

Example: {{C|Bash}} gives Bash

{{Cards|xxxxxx|other text}}

or
{{C|xxxxxx|other text}}

A link to the page 'Cards/xxxxxx' that reads as "other text"

Example: {{C|Arcing Zap|strange card}} gives strange card

Items {{Items|xxxxxx}}

or
{{I|xxxxxx}}

A link to the page 'Items/xxxxxx' that reads as "xxxxxx"

Example: {{I|Cloth Cap}} gives Cloth Cap

{{Items|xxxxxx|other text}}

or
{{I|xxxxxx|other text}}

A link to the page 'Items/xxxxxx' that reads as "other text"

Example: {{I|Copper Axe|sharp!}} gives sharp!

Keywords {{Keywords|xxxxxx}}

or
{{K|xxxxxx}}

A link to the page section 'Keywords#xxxxxx' that reads as "xxxxxx"

Example: {{K|Holy}} gives Holy

The Keywords and K templates will show a valid link to
the Keywords page even if the 'xxxxxx' anchor does not
exist. Please check your links are working correctly.
{{Keywords|xxxxxx|other text}}

or
{{K|xxxxxx|other text}}

A link to the page section 'Keywords#xxxxxx' that reads as "other text"

Example: {{K|Poison|Poison 2}} gives Poison 2

Important! Capital letters count when making links. Bash is not the same as bash.

Cozy headgear is not the same as Cozy headgear (Mouse over to check the link!)

      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools