Template:Cards

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
(Revised information and caution)
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
[[Cards/{{{1}}}|{{{1}}}]]<noinclude>
+
<includeonly>{{#if:{{{2|}}}|[[Cards/{{{1}}}|{{{2}}}]]|[[Cards/{{{1}}}|{{{1}}}]]}}</includeonly><noinclude>
 +
 
 
----
 
----
  
This is a simple template for easily linking Card pages.
 
 
Adding
 
 
<code><nowiki>{{Cards|xxxxxx}}</nowiki></code>
 
 
on any page creates an internal link for to the page 'Cards/xxxxxx' that reads "xxxxxx."
 
  
''Example: ''<code><nowiki>{{Cards|Arcing Zap}}</nowiki></code> creates the linked text {{Cards|Arcing Zap}}.
+
Use this template to create inline text links to Card pages.
  
'''Important!''' Capitalization counts in this template. {{Cards|Bash}} is not the same as {{Cards|bash}}</noinclude>
+
{| class="wikitable"
 +
! Use:
 +
! Result:
 +
|-
 +
| align="center" | <code><nowiki>{{Cards|xxxxxx}}</nowiki></code>
 +
| A link to the page 'Cards/xxxxxx' that reads as "xxxxxx"
 +
''Example: ''<code><nowiki>{{Cards|Stunning Bash}}</nowiki></code>'' gives ''{{Cards|Stunning Bash}}
 +
|-
 +
| align="center" | <code><nowiki>{{Cards|xxxxxx|other text}}</nowiki></code>
 +
| A link to the page 'Cards/xxxxxx' that reads as "other text"
 +
''Example: ''<code><nowiki>{{Cards|Arcing Zap|Ouch!.. Ouch!.. Ouch!}}</nowiki></code>'' gives ''{{Cards|Arcing Zap|Ouch!.. Ouch!.. Ouch!}}
 +
|-
 +
! colspan="2" | Important! Capital letters count when making links. {{Cards|Bash}} is not the same as {{Cards|bash}}.<br>
 +
{{Cards|Teleport Other|bye-bye!}} is not the same as {{Cards|teleport OTHER|Bye-bye!}} (Mouse over to check the link!)
 +
|}
 +
</noinclude>

Latest revision as of 16:48, 22 October 2012




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

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

Example: {{Cards|Stunning Bash}} gives Stunning Bash

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

Example: {{Cards|Arcing Zap|Ouch!.. Ouch!.. Ouch!}} gives Ouch!.. Ouch!.. Ouch!

Important! Capital letters count when making links. Bash is not the same as bash.

bye-bye! is not the same as Bye-bye! (Mouse over to check the link!)

      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools