Editor
112
edits
No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
* '''npc''' is the trainer's name. It is additionally used to get the trainer's image, where the file is assumed to be at <code><nowiki>[[File:<npc>.png]]</nowiki></code>. | * '''npc''' is the trainer's name. It is additionally used to get the trainer's image, where the file is assumed to be at <code><nowiki>[[File:<npc>.png]]</nowiki></code>. | ||
* '''location''' is the trainer's location (for example, the name of the gym). | * '''location''' is the trainer's location (for example, the name of the gym). | ||
* '''type''' is the type of Pokémon that the trainer uses on their team. It is used to get the type icon, where the file is assumed to be at <code><nowiki>[[File:<type>.gif]]</nowiki></code>. | * '''type''' is the type of Pokémon that the trainer uses on their team. It is used to get the type icon via [[Template:Type]], where the file is assumed to be at <code><nowiki>[[File:<type>.gif]]</nowiki></code>. | ||
* '''theme''' is not directly visible – it is used to set the background color of the table. The theme must be lowercase to match class names listed at [[MediaWiki:Common.css]]. | * '''theme''' is not directly visible – it is used to set the background color of the table. The theme must be lowercase to match class names listed at [[MediaWiki:Common.css]]. | ||
* '''num1 ... num6''' is the Pokémon's National Pokédex number. It is used to get the Pokémon's sprite, where the file is assumed to be at <code><nowiki>[[File:<num>MS.png]]</nowiki></code>. | * '''num1 ... num6''' is the Pokémon's National Pokédex number. It is used to get the Pokémon's sprite, where the file is assumed to be at <code><nowiki>[[File:<num>MS.png]]</nowiki></code>. | ||