Template:Pokémon locations/usage: Difference between revisions

no need for this
(translated from https://www.wikidex.net/wiki/Documentaci%C3%B3n_de_plantilla:Localizaci%C3%B3n)
 
(no need for this)
Line 43: Line 43:
}}
}}
</pre>
</pre>
'''Note:''' If the location is the same between several games, write the location in one of them (preferably the first one) followed by the title of the parameter with the location to other applicable parameters.
For example, if the location is identical in ''Pokémon Ruby'', ''Sapphire'', and ''Emerald Versions'', it can be typed as:
<nowiki>{{</nowiki>Pokémon locations
| <span style="color:#8b0000">ruby</span> = ''(Location in Pokémon Ruby Version)''
| sapphire = <span style="color:#8b0000">ruby</span>
| emerald = <span style="color:#8b0000">ruby</span>
<nowiki>}}</nowiki>
This will output the same text for all three parameters. However, this property is not recursive, so there cannot be a reference to a parameter that is itself a reference. This wouldn't work, for example:
<nowiki>{{</nowiki>Pokémon locations
| <span style="color:#8b0000">ruby</span> = ''(Location in Pokémon Ruby Version)''
| sapphire = <span style="color:#8b0000">ruby</span>
| emerald = <s>sapphire</s>
<nowiki>}}</nowiki>


== Structure ==
== Structure ==