Template:Pokemon Ranger/Challenge/Documentation
This template uses TemplateStyles: |
This template uses Lua: |
{{Pokemon/Ranger challenge}} and {{Pokemon/Ranger challengeRow}} are a family of templates used to create Capture Challenge tables for Pokémon Ranger games.
Usage
Pokemon/Ranger challenger
{{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:
{{Pokemon/Ranger challenge|gamecode}}
gamecode
determines what game(s) the template is used for. Acceptable codes are as follows:
Code | Game(s) |
---|---|
RA | Ranger |
SoA | Shadows of Almia |
GS | Guardian Signs |
Pokemon/Ranger challengeRow
{{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:
{{Pokemon/Ranger challengeRow row|gamecode|browsernum}}
gamecode
must be inputted for every row. The code that is inputted determines what generation the Pokémon's sprite is taken from.
browsernum
is the Browser Number of the desired Pokémon. It is used to determine the Pokémon's sprite (alongside gamecode
), 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 {{Pokemon/Ranger challenge}}
family of templates may be used in various forms.
No mode
The code:
{{Pokemon/Ranger challenge|RA}} {{Pokemon/Ranger challengeRow|RA|001}} {{Pokemon/Ranger challengeRow|RA|002}} |}
The result: Template:Pokemon/Ranger challenge Template:Pokemon/Ranger challengeRow Template:Pokemon/Ranger challengeRow |}