Template:Keywords

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
(Revised template explanation)
Line 1: Line 1:
[[Keywords/{{{1}}}|{{{1}}}]]<noinclude>
+
<includeonly>{{#if:{{{2|}}}|[[Keywords/{{{1}}}|{{{2}}}]]|[[Keywords/{{{1}}}|{{{1}}}]]}}</includeonly><noinclude>
 +
 
 
----
 
----
  
This is a template for easily linking Keyword pages.
 
 
Adding
 
 
<code><nowiki>{{Keywords|xxxxxx}}</nowiki></code>
 
 
on any page creates an internal link for to the page 'Keywords/xxxxxx' that reads "xxxxxx."
 
  
''Example: ''<code><nowiki>{{Keywords|Poison}}</nowiki></code> creates the linked text {{Keywords|Poison}}.
+
Use this template to create inline text links to Keyword pages.
  
'''Important!''' Capitalization counts in this template. {{Keywords|Poison}} is not the same as {{Keywords|poisoN}}.</noinclude>
+
{| class="wikitable"
 +
! Use:
 +
! Result:
 +
|-
 +
| align="center" | <code><nowiki>{{Keywords|xxxxxx}}</nowiki></code>
 +
| A link to the page 'Keywords/xxxxxx' that reads as "xxxxxx"
 +
''Example: ''<code><nowiki>{{Keywords|Holy}}</nowiki></code>'' gives ''{{Keywords|Holy}}
 +
|-
 +
| align="center" | <code><nowiki>{{Keywords|xxxxxx|other text}}</nowiki></code>
 +
| A link to the page 'Keywords/xxxxxx' that reads as "other text"
 +
''Example: ''<code><nowiki>{{Keywords|Poison|Poison 2}}</nowiki></code>'' gives ''{{Keywords|Poison|Poison 2}}
 +
|-
 +
! colspan="2" | Important! Capital letters count when making links. {{Keywords|Holy}} is not the same as {{Keywords|holy}}.<br>
 +
{{Keywords|Teleport|Teleport 3}} is not the same as {{Keywords|teLEPorT|Teleport 3}} (Mouse over to check the link!)
 +
|}
 +
</noinclude>

Revision as of 15:58, 22 October 2012




Use this template to create inline text links to Keyword pages.

Use: Result:
{{Keywords|xxxxxx}} A link to the page 'Keywords/xxxxxx' that reads as "xxxxxx"

Example: {{Keywords|Holy}} gives Holy

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

Example: {{Keywords|Poison|Poison 2}} gives Poison 2

Important! Capital letters count when making links. Holy is not the same as holy.

Teleport 3 is not the same as Teleport 3 (Mouse over to check the link!)

      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools