Template:K

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
m (changed examples to things that are in-game keywords)
Line 1: Line 1:
<includeonly>{{#if:{{{2|}}}|[[Keywords#{{{1}}}|{{{2}}}]]|[[Keywords#{{{1}}}|{{{1}}}]]}}</includeonly><noinclude>
+
<includeonly>
 +
{{#switch: {{lc: {{{2|}}} }}
 +
| melee = {{T|Melee}}
 +
| acid = {{T|Acid}}
 +
| #default = {{#if:{{{2|}}}|[[Keywords#{{{1}}}|{{{2}}}]]|[[Keywords#{{{1}}}|{{{1}}}]]}}
 +
}}
 +
 
 +
</includeonly><noinclude>
  
 
----
 
----

Revision as of 00:00, 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