Template:T
From Card Hunter Wiki
(Difference between revisions)
(New template for quickly linking card types) |
(error squashing) |
||
Line 12: | Line 12: | ||
| align="center" | <code><nowiki>{{T|xxxxxx}}</nowiki></code> | | align="center" | <code><nowiki>{{T|xxxxxx}}</nowiki></code> | ||
| A link to the page section 'Card Types#xxxxxx' that reads as "xxxxxx" | | A link to the page section 'Card Types#xxxxxx' that reads as "xxxxxx" | ||
− | ''Example: ''<code><nowiki>{{T|Holy}}</nowiki></code>'' gives ''{{T|Holy}} | + | ''Example: ''<code><nowiki>{{T|Holy}}</nowiki></code>'' gives ''{{T|Holy}}'' |
|- | |- | ||
| align="center" | <code><nowiki>{{T|xxxxxx|other text}}</nowiki></code> | | align="center" | <code><nowiki>{{T|xxxxxx|other text}}</nowiki></code> | ||
| A link to the page section 'Card Types#xxxxxx' that reads as "other text" | | A link to the page section 'Card Types#xxxxxx' that reads as "other text" | ||
− | ''Example: ''<code><nowiki>{{T|Electrical|lightning}}</nowiki></code>'' gives ''{{T| | + | ''Example: ''<code><nowiki>{{T|Electrical|lightning}}</nowiki></code>'' gives ''{{T|Electrical|lightning}}'' |
− | + | ||
− | + | ||
|- | |- | ||
| colspan="2" align="center" | This template will show a valid link to the [[Card Types]] page even if the 'xxxxxx' | | colspan="2" align="center" | This template will show a valid link to the [[Card Types]] page even if the 'xxxxxx' |
Revision as of 18:55, 17 January 2013
Use this template to create inline text links to Keyword pages.
Use: | Result: |
---|---|
{{T|xxxxxx}}
|
A link to the page section 'Card Types#xxxxxx' that reads as "xxxxxx"
Example: |
{{T|xxxxxx|other text}}
|
A link to the page section 'Card Types#xxxxxx' that reads as "other text"
Example: |
This template will show a valid link to the Card Types page even if the 'xxxxxx'
anchor does not exist. Please check your links are working correctly. |