Editing Template:Card/doc

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
==Usage==
 
==Usage==
<pre>{{Card|card name|alt text|oi=number}}</pre>
+
<nowiki>{{Card|card name|alt text|oi=number}}</nowiki><br>
; card name : is a card name, like Moat, Throne Room etc.
+
'''"card name"''' is a card name, like Moat, Throne Room etc.
; alt text : is optional. It is an alternative link text that will be displayed instead of the supplied card name.
+
'''"alt text"''' is optional. It is an alternative link text that will be displayed instead of the supplied card name.
; oi : this named parameter stands for "old image". When present, will change the image that is displayed by hovering over the link. Value of 1 simply adds "Old" to the image name. Any other value of this parameter adds "Old" + the value itself, for example <tt>oi=2</tt> will add "Old2" to the file name.
+
'''oi''' - this named parameter stands for "old image". When present, will change the image that is displayed by hovering over the link. Value of 1 simply adds "Old" to the image name. Any other value of this parameter adds "Old" + the value itself, for example oi=2 will add "Old2" to the file name.
  
 
==Examples==
 
==Examples==
* <tt><nowiki>{{Card|Curse}}</nowiki> → {{Card|Curse}}</tt>
+
* <nowiki>{{Card|Curse}}</nowiki> → {{Card|Curse}}
* <tt><nowiki>{{Card|Curse|the Curse card}}</nowiki> → {{Card|Curse|the Curse card}}</tt>
+
* <nowiki>{{Card|Curse|the Curse card}}</nowiki> → {{Card|Curse|the Curse card}}
* <tt><nowiki>{{Card|Death Cart|first printing of Death Cart|oi=1}}</nowiki> → {{Card|Death Cart|first printing of Death Cart|oi=1}}</tt>
+
* <nowiki>{{Card|Death Cart|first printing of Death Cart|oi=1}}</nowiki> → {{Card|Death Cart|first printing of Death Cart|oi=1}}
* <tt><nowiki>{{Card|Death Cart|second printing of Death Cart|oi=2}}</nowiki> → {{Card|Death Cart|second printing of Death Cart|oi=2}}</tt>
+
* <nowiki>{{Card|Death Cart|second printing of Death Cart|oi=2}}</nowiki> → {{Card|Death Cart|second printing of Death Cart|oi=2}}

Please note that all contributions to DominionStrategy Wiki are considered to be released under the Creative Commons Attribution Non-Commercial Share Alike (see DominionStrategy Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)

Templates used on this page:

Personal tools
Namespaces

Variants
Views
Actions
Navigation
Toolbox