Template:Items

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
m
 
Line 1: Line 1:
[[Items/{{{1}}}|{{{1}}}]]<noinclude>
+
<includeonly>{{#if:{{{2|}}}|[[Items/{{{1}}}|{{{2}}}]]|[[Items/{{{1}}}|{{{1}}}]]}}</includeonly><noinclude>
 +
 
 
----
 
----
  
This is a template for easily linking Item pages.
 
 
Adding
 
 
<code><nowiki>{{Items|xxxxxx}}</nowiki></code>
 
 
on any page creates an internal link for to the page 'Items/xxxxxx' that reads "xxxxxx."
 
  
''Example: ''<code><nowiki>{{Items|Spiked Shield}}</nowiki></code> creates the linked text {{Items|Spiked Shield}}.
+
Use this template to create inline text links to Item pages.
  
'''Important!''' Capitalization counts in this template. {{Items|Spiked Shield}} is not the same as {{Items|spiKED ShielD}}.</noinclude>
+
{| 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 16: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|Cloth Cap}} gives Cloth Cap

{{Items|xxxxxx|other text}} A link to the page 'Items/xxxxxx' that reads as "other text"

Example: {{Items|Spiked Shield|ouch!}} gives ouch!

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!)

      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools