Template:MiscPokemon: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
Created page with "<noinclude>Use this conjunctively with Template:MiscPokemonLocations in order to construct data rows for the tabular nest. It is receptible to input for three arguments {..."
 
No edit summary
Line 6: Line 6:
<td>{{{Level}}}</td>
<td>{{{Level}}}</td>
<td>{{#if:{{{Held|}}}|
<td>{{#if:{{{Held|}}}|
{{#vardefine:helditem|{{ucfirst:{{{Held}}}}}}}}}
{{#vardefine:helditem|{{ucfirst:{{{Held}}}}}}}
{{#ifexist:File:{{#var:helditem}}.png|[[File:{{#var:helditem}}.png|link={{#var:helditem}}|{{#var:helditem}}]]|[[{{#var:helditem}}]]
{{#ifexist:File:{{#var:helditem}}.png|[[File:{{#var:helditem}}.png|link={{#var:helditem}}|{{#var:helditem}}]]|[[{{#var:helditem}}]]}}
|N/A}}</td>
|N/A}}</td>
<td>{{{Notes|None}}}.</td>
<td style="text-align: left; margin-left: 5px;">{{{Notes|None}}}.</td>
</tr>
</tr>
</includeonly>
</includeonly>

Revision as of 23:57, 18 September 2017

Use this conjunctively with Template:MiscPokemonLocations in order to construct data rows for the tabular nest.

It is receptible to input for three arguments {{{Mode}}} to categorize the method (NPC Traders, for example), {{{Article}}} for the article name that you want to link it to (if discrepant from {{{Mode}}}, {{{Level}}} for the level, {{{Held}}} for the held item (if applicable), and {{{Notes}}} for more descriptive information (if needed).