Template:NPCTable: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#get_web_data:url=https://wiki.pokemonrevolution.net/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|data=number=Pokedex Number,name=Name}} | |||
<includeonly>{{#get_web_data:url= | |||
{{#arraydefine:name| | {{#arraydefine:name| | ||
{{#for_external_table: | {{#for_external_table: | ||
Line 16: | Line 10: | ||
}} | }} | ||
}} | }} | ||
</includeonly> | |||
<includeonly>{{#if:{{{Type|}}} | {{#vardefine:border|#{{{{{Type}}}_color_dark}}}}{{#vardefine:background|#{{{{{Type}}}_color}}}}{{#vardefine:cell|#{{{{{Type}}}_color_light}}}}}}<table align="center" style="width: 97%; border-spacing: 5px; padding: 5px; text-align: center; border: 4px solid {{#var:border}}; border-radius: 25px; background-color: {{#var:cell}};"> | |||
<tr><td><div style="margin: auto auto; border-radius: 25px; font-weight: bold; width: 45%; padding: 3px; background-color: {{#var:border}}; color: {{#var:cell}};">{{#if:{{{Location|}}} | {{{Location}}} | {{PAGENAME}}}} Trainers</div></td></tr> | |||
{{{Contents}}} | |||
<tr><td style="text-align: left; background-color: #FFFFFF; padding: 3px; border-radius: 25px; border: 3px solid {{#var:border}}; color:#000000;"><p style="margin-left: 15px;"> All NPCs cool down after 7 days unless noted contrariwise.</br>All NPCs may have new Pokémons, or higher level Pokémons upon rematch unless noted contrariwise.</p></td></tr> | |||
</table> | |||
</includeonly> | </includeonly> |
Latest revision as of 16:35, 28 August 2025