Template:K
From Card Hunter Wiki
(Difference between revisions)
m |
m (changed examples to things that are in-game keywords) |
||
Line 12: | Line 12: | ||
| align="center" | <code><nowiki>{{K|xxxxxx}}</nowiki></code> | | align="center" | <code><nowiki>{{K|xxxxxx}}</nowiki></code> | ||
| A link to the page section 'Keywords#xxxxxx' that reads as "xxxxxx" | | A link to the page section 'Keywords#xxxxxx' that reads as "xxxxxx" | ||
− | ''Example: ''<code><nowiki>{{K| | + | ''Example: ''<code><nowiki>{{K|Cantrip}}</nowiki></code>'' gives ''{{K|Cantrip}} |
|- | |- | ||
| align="center" | <code><nowiki>{{K|xxxxxx|other text}}</nowiki></code> | | align="center" | <code><nowiki>{{K|xxxxxx|other text}}</nowiki></code> | ||
| A link to the page section 'Keywords#xxxxxx' that reads as "other text" | | A link to the page section 'Keywords#xxxxxx' that reads as "other text" | ||
− | ''Example: ''<code><nowiki>{{K| | + | ''Example: ''<code><nowiki>{{K|Step|Step 2}}</nowiki></code>'' gives ''{{K|Step|Step 2}} |
− | + | ||
− | + | ||
|- | |- | ||
| colspan="2" align="center" | This template will show a valid link to the [[Keywords]] page even if the 'xxxxxx' | | colspan="2" align="center" | This template will show a valid link to the [[Keywords]] page even if the 'xxxxxx' |
Revision as of 18:59, 17 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. |