Difference between revisions of "Adding cards"

From The Dim Future Wiki
(Add duplication link and template link)
(Update and clarify. Remove needs work.)
 
Line 1: Line 1:
 
Cards are put on the wiki as pages named "Card:card name". Each [[card]] page should contain a <nowiki><card></nowiki> tag showing the card text and properties. It can optionally have a Notes section that contains information about the card and a Related Cards section that links to other cards. Cards can also belong to other categories in addition to this one. For instance, a category of all cards in a specific faction.
 
Cards are put on the wiki as pages named "Card:card name". Each [[card]] page should contain a <nowiki><card></nowiki> tag showing the card text and properties. It can optionally have a Notes section that contains information about the card and a Related Cards section that links to other cards. Cards can also belong to other categories in addition to this one. For instance, a category of all cards in a specific faction.
  
For example:
+
For example (see {{c|Scout Runner}} for what this looks like):
 
<pre>
 
<pre>
<card>Fire Walker (name)
+
<card>Scout Runner
The Circle (faction)
+
The Circle
Cost: 5P 1L
+
Play Cost: 2P 1L
Restore cost: 2P 1L
+
Restore Cost: 1P 1L
Endurance: 7
+
Range: 1
Attack: 4
+
Attack: 1
Range: 0
+
Endurance: 1
Character -- Fighter Human
+
Character -- Human Athlete
1L: This gets +1 to attack until end of turn. Use this ability only 2 times per turn.
+
Commander
 +
Speed: 2
 
</card>
 
</card>
  
Line 17: Line 18:
 
</pre>
 
</pre>
  
The [[range]], [[cost]], [[restore cost]], [[attack]], and [[endurance]] should be placed before the type line. The type line should be a [[type]] (Character, Tool, etc) followed by a double-dash ("--") and then the [[subtype]]. All the text after the type line is the [[card text]].
+
The first two lines in the &lt;card> block are the [[card name]] and the [[faction]] respectively. The lines between the faction and the type are property values in the form "<property name>: <property value>". The property values ([[range]], [[cost|play cost]], [[restore cost]], [[attack]], and [[endurance]]) must be placed before the type line. The type line should be a [[type]] (Character, Tool, etc) followed by a double-dash ("--") and then the [[subtype]]. All the text after the type line is the [[card text]].
  
For factionless cards, leave the faction line the card tag blank and but "Factionless" as the argument to <nowiki>{{cardpage|...}}</nowiki>.
+
For factionless cards, leave the faction line the card tag blank (do not leave out the line, just leave a blank line) and use "Factionless" as the argument to <nowiki>{{cardpage|...}}</nowiki>.
  
 
The easiest way to add a card page is to type the full page name ("Card:card name") into the search box and then click "create this page" near the top of the page.
 
The easiest way to add a card page is to type the full page name ("Card:card name") into the search box and then click "create this page" near the top of the page.
Line 27: Line 28:
 
* [[Template:Cardpage]]
 
* [[Template:Cardpage]]
 
* [[Duplication]]
 
* [[Duplication]]
 
{{needs work}}
 

Latest revision as of 11:59, 25 November 2007

Cards are put on the wiki as pages named "Card:card name". Each card page should contain a <card> tag showing the card text and properties. It can optionally have a Notes section that contains information about the card and a Related Cards section that links to other cards. Cards can also belong to other categories in addition to this one. For instance, a category of all cards in a specific faction.

For example (see Scout Runner for what this looks like):

<card>Scout Runner
The Circle
Play Cost: 2P 1L
Restore Cost: 1P 1L
Range: 1
Attack: 1
Endurance: 1
Character -- Human Athlete
Commander
Speed: 2
</card>

{{cardpage|The Circle}}

The first two lines in the <card> block are the card name and the faction respectively. The lines between the faction and the type are property values in the form "<property name>: <property value>". The property values (range, play cost, restore cost, attack, and endurance) must be placed before the type line. The type line should be a type (Character, Tool, etc) followed by a double-dash ("--") and then the subtype. All the text after the type line is the card text.

For factionless cards, leave the faction line the card tag blank (do not leave out the line, just leave a blank line) and use "Factionless" as the argument to {{cardpage|...}}.

The easiest way to add a card page is to type the full page name ("Card:card name") into the search box and then click "create this page" near the top of the page.

See Also