Template:Cards
From Card Hunter Wiki
(Difference between revisions)
(Creating template page for card links - may not work yet) |
|||
(10 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | [[Cards/{{{1}}}]] | + | <includeonly>{{#if:{{{2|}}}|[[Cards/{{{1}}}|{{{2}}}]]|[[Cards/{{{1}}}|{{{1}}}]]}}</includeonly><noinclude> |
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | Use this template to create inline text links to Card pages. | ||
+ | |||
+ | {| 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|xxxxxx|other text}}
|
A link to the page 'Cards/xxxxxx' that reads as "other text"
Example: |
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!) |