Difference between revisions of "Template:MovepoolTable/Data"

From We Are All Pokémon Trainers
Jump to navigation Jump to search
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>| {{typeicon|{{{2|Normal}}}}} || {{{1}}} || style="font-family:serif;" | {{{3|Unknown}}} || style="text-align:left;" | {{#loop:star|0|{{{performance|0}}}|★}} || ? || style="font-size: 85%; text-align: left; padding: 4px; " | {{{notes|–}}}   
+
{{#vardefine:linkbase|{{#switch:{{{link}}}|veekun=http://veekun.com/dex/lookup?lookup={{{1}}}|bulbapedia=http://bulbapedia.bulbagarden.net/wiki/Special:Search?search={{{1}}}|search=http://duckduckgo.com/?q={{{1}}}|}}}}
|- style="border: 2px outset gray;"</includeonly>
+
<includeonly>| {{typeicon|{{{2|Normal}}}}} || {{{1}}} || style="font-family:serif;" | {{{3|Unknown}}} || style="text-align:left;" | {{#loop:star|0|{{{performance|0}}}|★}} || <!-- {{#if:{{#var:linkbase}}|[{{#var:linkbase}} info]|–}} --> – || style="font-size: 85%; text-align: left; padding: 4px; " | {{{notes|–}}}   
 +
|- style="border: 2px outset gray;"</includeonly><noinclude>
  
 
== Data Entry for Movepool Table ==
 
== Data Entry for Movepool Table ==
Line 9: Line 10:
 
* Second, the '''type''' of the move. Must be a single word with uppercase initial (eg.: "Dragon") and must ''not'' have trailing or leading whitespace. Defaults to "Normal".
 
* Second, the '''type''' of the move. Must be a single word with uppercase initial (eg.: "Dragon") and must ''not'' have trailing or leading whitespace. Defaults to "Normal".
 
* Third, is how your Pokémon '''learnt''' that move. Is is a move learned naturally, bred, taught by TM, from the TCG, etc.?
 
* Third, is how your Pokémon '''learnt''' that move. Is is a move learned naturally, bred, taught by TM, from the TCG, etc.?
* The <tt>performance=''n''</tt> argument tells how good your Pokémon is at that move, in a rank from <tt>0</tt> to <tt>5</tt>. The scale is ''relative to the whole movepool'', ie.: a mon that has a performance of 1 in Close Combat doesn't mean he is horrible at it, just that he is much worse at it than at eg.: a 2-stars move.
+
* The <tt>performance=''n''</tt> argument tells how good your Pokémon is at that move, in a rank from <tt>0</tt> to <strike>Lanius</strike> <tt>5</tt>. The scale is ''relative to the whole movepool'', ie.: a mon that has a performance of 1 in Close Combat doesn't mean he is horrible at it, just that he is much worse at it than at eg.: a 2-stars move.
 
* The <tt>link=''...''</tt> argument allows you to place a link to a source for the move, eg.: Bulbapedia or Veekun. Right now it is unused, but will default to a link to {{color|brown|Veekun}} once implemented.
 
* The <tt>link=''...''</tt> argument allows you to place a link to a source for the move, eg.: Bulbapedia or Veekun. Right now it is unused, but will default to a link to {{color|brown|Veekun}} once implemented.
 
* The <tt>notes=''...''</tt> argument allows you to add notes about the move. Add here any information that you consider valuable about the move.
 
* The <tt>notes=''...''</tt> argument allows you to add notes about the move. Add here any information that you consider valuable about the move.
Line 18: Line 19:
  
 
-[[User:VeniaSilente]]
 
-[[User:VeniaSilente]]
 +
</noinclude>

Latest revision as of 19:54, 25 July 2013


Data Entry for Movepool Table

Arguments are as follows:

  • First, the name of the move.
  • Second, the type of the move. Must be a single word with uppercase initial (eg.: "Dragon") and must not have trailing or leading whitespace. Defaults to "Normal".
  • Third, is how your Pokémon learnt that move. Is is a move learned naturally, bred, taught by TM, from the TCG, etc.?
  • The performance=n argument tells how good your Pokémon is at that move, in a rank from 0 to Lanius 5. The scale is relative to the whole movepool, ie.: a mon that has a performance of 1 in Close Combat doesn't mean he is horrible at it, just that he is much worse at it than at eg.: a 2-stars move.
  • The link=... argument allows you to place a link to a source for the move, eg.: Bulbapedia or Veekun. Right now it is unused, but will default to a link to Veekun once implemented.
  • The notes=... argument allows you to add notes about the move. Add here any information that you consider valuable about the move.

There is an empty column that reads "?". I'm trying to implement something with it but can't get it done well enough yet.

Cheers.

-User:VeniaSilente