Template:K
From Card Hunter Wiki
(Difference between revisions)
m (eliminated whitespace that was showing up on the pages in some situations) |
|||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#switch: {{lc: {{{1}}} }} |
− | {{#switch: {{lc: {{{1}}} }} | + | |
| melee = {{#if:{{{2|}}}|{{T|{{{1}}}|{{{2}}} }}|{{T|{{{1}}} }} }} | | melee = {{#if:{{{2|}}}|{{T|{{{1}}}|{{{2}}} }}|{{T|{{{1}}} }} }} | ||
| projectile = {{#if:{{{2|}}}|{{T|{{{1}}}|{{{2}}} }}|{{T|{{{1}}} }} }} | | projectile = {{#if:{{{2|}}}|{{T|{{{1}}}|{{{2}}} }}|{{T|{{{1}}} }} }} | ||
Line 12: | Line 11: | ||
| holy = {{#if:{{{2|}}}|{{T|{{{1}}}|{{{2}}} }}|{{T|{{{1}}} }} }} | | holy = {{#if:{{{2|}}}|{{T|{{{1}}}|{{{2}}} }}|{{T|{{{1}}} }} }} | ||
| piercing = {{#if:{{{2|}}}|{{T|{{{1}}}|{{{2}}} }}|{{T|{{{1}}} }} }} | | piercing = {{#if:{{{2|}}}|{{T|{{{1}}}|{{{2}}} }}|{{T|{{{1}}} }} }} | ||
+ | | psychic = {{#if:{{{2|}}}|{{T|{{{1}}}|{{{2}}} }}|{{T|{{{1}}} }} }} | ||
| slashing = {{#if:{{{2|}}}|{{T|{{{1}}}|{{{2}}} }}|{{T|{{{1}}} }} }} | | slashing = {{#if:{{{2|}}}|{{T|{{{1}}}|{{{2}}} }}|{{T|{{{1}}} }} }} | ||
| sonic = {{#if:{{{2|}}}|{{T|{{{1}}}|{{{2}}} }}|{{T|{{{1}}} }} }} | | sonic = {{#if:{{{2|}}}|{{T|{{{1}}}|{{{2}}} }}|{{T|{{{1}}} }} }} |
Latest revision as of 20:10, 14 February 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. |