Template:K
From Card Hunter Wiki
(Difference between revisions)
(removed poison from filter after I remembered it is also a Keyword, the more important use) |
|||
Line 16: | Line 16: | ||
| sonic = {{#if:{{{2|}}}|{{T|{{{1}}}|{{{2}}} }}|{{T|{{{1}}} }} }} | | sonic = {{#if:{{{2|}}}|{{T|{{{1}}}|{{{2}}} }}|{{T|{{{1}}} }} }} | ||
| unholy = {{#if:{{{2|}}}|{{T|{{{1}}}|{{{2}}} }}|{{T|{{{1}}} }} }} | | unholy = {{#if:{{{2|}}}|{{T|{{{1}}}|{{{2}}} }}|{{T|{{{1}}} }} }} | ||
− | | #default = {{#if:{{{2|}}}|[[Keywords#{{{1}}}|{{{2}}}]]|[[Keywords#{{{1}}}|{{{1}}}]]}} | + | | #default = {{#if:{{{2|}}}|<li class="keyword">[[Keywords#{{{1}}}|{{{2}}}]]</li>|<li class="keyword">[[Keywords#{{{1}}}|{{{1}}}]]</li>}} |
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
---- | ---- |
Revision as of 04:07, 7 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. |