Template:Items
From Card Hunter Wiki
(Difference between revisions)
m (spelling) |
|||
(4 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>[[Items/{{{1}}}|{{{1}}}]]</includeonly><noinclude> | + | <includeonly>{{#if:{{{2|}}}|[[Items/{{{1}}}|{{{2}}}]]|[[Items/{{{1}}}|{{{1}}}]]}}</includeonly><noinclude> |
− | + | ---- | |
− | |||
− | + | Use this template to create inline text links to Item pages. | |
+ | |||
+ | {| class="wikitable" | ||
+ | ! Use: | ||
+ | ! Result: | ||
+ | |- | ||
+ | | align="center" | <code><nowiki>{{Items|xxxxxx}}</nowiki></code> | ||
+ | | A link to the page 'Items/xxxxxx' that reads as "xxxxxx" | ||
+ | ''Example: ''<code><nowiki>{{Items|Cloth Cap}}</nowiki></code>'' gives ''{{Items|Cloth Cap}} | ||
+ | |- | ||
+ | | align="center" | <code><nowiki>{{Items|xxxxxx|other text}}</nowiki></code> | ||
+ | | A link to the page 'Items/xxxxxx' that reads as "other text" | ||
+ | ''Example: ''<code><nowiki>{{Items|Spiked Shield|ouch!}}</nowiki></code>'' gives ''{{Items|Spiked Shield|ouch!}} | ||
+ | |- | ||
+ | ! colspan="2" | Important! Capital letters count when making links. {{Items|Copper Axe}} is not the same as {{Items|copper axe}}.<br> | ||
+ | {{Items|Cloth Cap|warm head}} is not the same as {{Items|cloTH cap|warm head}} (Mouse over to check the link!) | ||
+ | |} | ||
+ | </noinclude> |
Latest revision as of 15:54, 22 October 2012
Use this template to create inline text links to Item pages.
Use: | Result: |
---|---|
{{Items|xxxxxx}}
|
A link to the page 'Items/xxxxxx' that reads as "xxxxxx"
Example: |
{{Items|xxxxxx|other text}}
|
A link to the page 'Items/xxxxxx' that reads as "other text"
Example: |
Important! Capital letters count when making links. Copper Axe is not the same as copper axe. warm head is not the same as warm head (Mouse over to check the link!) |