Template:K
From Card Hunter Wiki
(Difference between revisions)
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#switch: {{lc: {{{1|}}} }} | {{#switch: {{lc: {{{1|}}} }} | ||
− | | melee = [[Card_Types#{{{1}}}| | + | | melee = [[Card_Types#{{{1}}}|Melee]] |
− | | acid = [[Card_Types#{{{1}}}| | + | | acid = [[Card_Types#{{{1}}}|Acid ]] |
| #default = {{#if:{{{2|}}}|[[Keywords#{{{1}}}|{{{2}}}]]|[[Keywords#{{{1}}}|{{{1}}}]]}} | | #default = {{#if:{{{2|}}}|[[Keywords#{{{1}}}|{{{2}}}]]|[[Keywords#{{{1}}}|{{{1}}}]]}} | ||
}} | }} |
Revision as of 00:09, 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|xxxxxx|other text}}
|
A link to the page section 'Keywords#xxxxxx' that reads as "other text"
Example: |
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. |