Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{TemplateStyles|Template:Pokemon Ranger/styles.css}} | {{TemplateStyles|Template:Pokemon Ranger/styles.css}} | ||
{{Lua|Module:Pokemon/Ranger}} | {{Lua|Module:Pokemon/Ranger}} | ||
{{t|Pokemon/Ranger challenge}} and {{t|Pokemon/Ranger challengeRow}} are a family of templates used to create Capture Challenge tables for [[:Category:Pokémon Ranger|Pokémon Ranger]] games. | |||
{{t|Pokemon Ranger | ==Usage== | ||
===Pokemon/Ranger challenger=== | |||
{{t|Pokemon/Ranger challenge}} is the primary template in the family, and determines the text put into the main header columns. The syntax for placing the template into an article looks like this: | |||
<code><nowiki>{{</nowiki>Pokemon/Ranger challenge|''gamecode''}}</code> | |||
== | <code>''gamecode''</code> determines what game(s) the template is used for. Acceptable codes are as follows: | ||
{{ContentBoxContainer}} | |||
{| {{prettytable|notwide=1}} | |||
! Code !! Game(s) | |||
|- | |||
| RA || Ranger | |||
|- | |||
| SoA || Shadows of Almia | |||
|- | |||
| GS || Guardian Signs | |||
|} | |||
</div> | |||
===Pokemon/Ranger challengeRow=== | |||
{{t|Pokemon/Ranger challengeRow}} makes up the bulk of your encounters table. One instance of the template must be used for each and every Pokémon you want. The syntax for this template is as follows: | |||
<code><nowiki>{{</nowiki>Pokemon/Ranger challengeRow row|''gamecode''|''browsernum''}}</code> | |||
<code>''gamecode''</code> must be inputted for every row. The code that is inputted determines what generation the Pokémon's sprite is taken from. | |||
<code>''browsernum''</code> is the Browser Number of the desired Pokémon. It is used to determine the Pokémon's sprite (alongside <code>''gamecode''</code>), as well as the Pokémon's name. For a list of valid numbers and their corresponding pokémon, see [[Module:Pokemon Ranger/Browser.json]]. | |||
''Examples'' section for further details. | |||
==Examples== | |||
The following are a series of examples of how the <code><nowiki>{{Pokemon/Ranger challenge}}</nowiki></code> family of templates may be used in various forms. | |||
===No mode=== | |||
The code: | |||
<pre> | |||
{{Pokemon/Ranger challenge|RA}} | |||
{{Pokemon/Ranger challengeRow|RA|001}} | |||
{{Pokemon/Ranger challengeRow|RA|002}} | |||
|} | |||
</pre> | |||
The result: | |||
{{Pokemon/Ranger challenge|RA}} | |||
{{Pokemon/Ranger challengeRow|RA|001}} | |||
{{Pokemon/Ranger challengeRow |RA|002}} | |||
|} |