Template:Cards

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
m (text cleanup)
 
(7 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly>[[Cards/{{{1}}}|{{{1}}}]]</includeonly>
+
<includeonly>{{#if:{{{2|}}}|[[Cards/{{{1}}}|{{{2}}}]]|[[Cards/{{{1}}}|{{{1}}}]]}}</includeonly><noinclude>
  
<noinclude>This is a simple template for easily linking Card pages with less typing.
+
----
  
Adding
 
  
'''<nowiki>{{Cards|xxxxxx}}</nowiki>'''
+
Use this template to create inline text links to Card pages.
  
on any page creates an internal link for the card 'xxxxxx'.</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 15: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