From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
Tags: Mobile edit Mobile web edit
(Added /Challenge documentation)
Tags: Mobile edit Mobile web edit
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/Challenge}} is used to create a Capture Challenge table for the {{|Pokémon Ranger}} games. The template will automatically detect the guide it is used in and display the appropriate content based on the provided browser numbers.


==Usage==
==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===
<code><nowiki>{{</nowiki>Pokemon/Ranger challengeRow row|''browsernum''''|''browsernum''|...}}}}</code>
The code:
<pre>
{{Pokemon/Ranger challenge|RA}}
{{Pokemon/Ranger challengeRow|RA|001}}
{{Pokemon/Ranger challengeRow|RA|002}}
|}
</pre>


The result:
<code>''browsernum''</code> is the Browser Number of the desired Pokémon. It is used to display all the relevant information in the table. As many entries as required may be entered. For a list of valid numbers and their corresponding pokémon, see [[Module:Pokemon Ranger/Browser.json]].
{{Pokemon/Ranger challenge|RA}}
{{Pokemon/Ranger challengeRow|RA|001}}
{{Pokemon/Ranger challengeRow |RA|002}}
|}

Revision as of 00:52, 26 April 2024

{{Pokemon Ranger/Challenge}} is used to create a Capture Challenge table for the {{|Pokémon Ranger}} games. The template will automatically detect the guide it is used in and display the appropriate content based on the provided browser numbers.

Usage

{{Pokemon/Ranger challengeRow row|browsernum''|browsernum|...}}}}

browsernum is the Browser Number of the desired Pokémon. It is used to display all the relevant information in the table. As many entries as required may be entered. For a list of valid numbers and their corresponding pokémon, see Module:Pokemon Ranger/Browser.json.