Difference between revisions of "Adding cards"

From The Dim Future Wiki
 
(Update and clarify. Remove needs work.)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Each [[card]] article 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
Endurance: 7
+
Restore Cost: 1P 1L
Attack: 4
+
Range: 1
Range: 0
+
Attack: 1
Character -- Fighter Human
+
Endurance: 1
1L: This gets +1 to attack until end of turn. Use this ability only 2 times per turn.
+
Character -- Human Athlete
 +
Commander
 +
Speed: 2
 
</card>
 
</card>
  
Line 16: Line 18:
 
</pre>
 
</pre>
  
If there are multiple [[cost]]s they should be listed in separate "Cost:" lines. The [[range]], [[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>.
  
{{needs work}}
+
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 ===
 +
 
 +
* [[Template:Cardpage]]
 +
* [[Duplication]]

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