Template:K

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
{{#switch: {{lc: {{{1|}}} }}
 
{{#switch: {{lc: {{{1|}}} }}
 
| melee = {{T|{{{1}}} }}
 
| melee = {{T|{{{1}}} }}
| projectile = [[Card_Types#{{{1}}}|{{{1}}} ]]
+
| projectile = {{T|{{{1}}} }}
| magic = [[Card_Types#{{{1}}}|{{{1}}} ]]
+
| magic = {{T|{{{1}}} }}
| acid = [[Card_Types#{{{1}}}|{{{1}}} ]]
+
| acid = {{T|{{{1}}} }}
| arcane = [[Card_Types#{{{1}}}|{{{1}}} ]]
+
| arcane = {{T|{{{1}}} }}
| cold = [[Card_Types#{{{1}}}|{{{1}}} ]]
+
| cold = {{T|{{{1}}} }}
| crushing = [[Card_Types#{{{1}}}|{{{1}}} ]]
+
| crushing = {{T|{{{1}}} }}
| electrical = [[Card_Types#{{{1}}}|{{{1}}} ]]
+
| electrical = {{T|{{{1}}} }}
| fire = [[Card_Types#{{{1}}}|{{{1}}} ]]
+
| fire = {{T|{{{1}}} }}
| holy = [[Card_Types#{{{1}}}|{{{1}}} ]]
+
| holy = {{T|{{{1}}} }}
| piercing = [[Card_Types#{{{1}}}|{{{1}}} ]]
+
| piercing = {{T|{{{1}}} }}
| slashing = [[Card_Types#{{{1}}}|{{{1}}} ]]
+
| slashing = {{T|{{{1}}} }}
| sonic = [[Card_Types#{{{1}}}|{{{1}}} ]]
+
| sonic = {{T|{{{1}}} }}
| unholy = [[Card_Types#{{{1}}}|{{{1}}} ]]
+
| unholy = {{T|{{{1}}} }}
 
| #default = {{#if:{{{2|}}}|[[Keywords#{{{1}}}|{{{2}}}]]|[[Keywords#{{{1}}}|{{{1}}}]]}}
 
| #default = {{#if:{{{2|}}}|[[Keywords#{{{1}}}|{{{2}}}]]|[[Keywords#{{{1}}}|{{{1}}}]]}}
 
}}
 
}}

Revision as of 00:15, 18 January 2013




Use this template to create inline text links to Keyword pages.

Use: Result:
{{K|xxxxxx}} A link to the page section 'Keywords#xxxxxx' that reads as "xxxxxx"

Example: {{K|Cantrip}} gives Cantrip

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

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

This template will show a valid link to the Keywords page even if the 'xxxxxx'

anchor does not exist. Please check your links are working correctly.

      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools