Difference between revisions of "Template:Pokeballs"

From Pokémon Revolution Online Wiki
Jump to: navigation, search
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:border|#{{{{{Color|Normal}}}_color_dark}}}}{{#vardefine:background|#{{{{{Color|Normal}}}_color}}}}{{#vardefine:cell|#{{{{{Color|Normal}}}_color_light}}}}
+
<includeonly>{{Trichrome|Color={{{Color|Normal}}}}}
 
<table style="width: 88%; border: 5px solid {{#var:border}}; border-radius: 25px; background-color:{{#var:background}}; text-align: center; padding: 5px;">
 
<table style="width: 88%; border: 5px solid {{#var:border}}; border-radius: 25px; background-color:{{#var:background}}; text-align: center; padding: 5px;">
 
<tr style="background-color:{{#var:cell}}; color:{{#var:border}};"><th colspan="3" style="border-radius: 25px; border: 3px solid {{#var:border}};">
 
<tr style="background-color:{{#var:cell}}; color:{{#var:border}};"><th colspan="3" style="border-radius: 25px; border: 3px solid {{#var:border}};">
Line 9: Line 9:
 
<tr style="color: {{#var:border}}; font-weight: bold; text-align: center;"><td width="33%">
 
<tr style="color: {{#var:border}}; font-weight: bold; text-align: center;"><td width="33%">
 
<table width="100%" style="background-color: {{#var:cell}}; border-radius: 25px; border: 3px solid {{#var:border}};">
 
<table width="100%" style="background-color: {{#var:cell}}; border-radius: 25px; border: 3px solid {{#var:border}};">
<tr><td>[[Catch Rates|<span style="color: {{#var:border}};">Catch-rate</span>]] multipler<td></tr>
+
<tr><td>[[Catch Rates|<span style="color: {{#var:border}};">Catch-rate</span>]] multiplier<td></tr>
 
<tr><td><div style="background-color: #FFFFFF; border-radius: 25px; border: 1px solid {{#var:border}}; font-weight: normal; color: #000000; width: 75%; margin: auto auto;">{{{Rate|1×}}}</div></td></tr>
 
<tr><td><div style="background-color: #FFFFFF; border-radius: 25px; border: 1px solid {{#var:border}}; font-weight: normal; color: #000000; width: 75%; margin: auto auto;">{{{Rate|1×}}}</div></td></tr>
 
</table>
 
</table>
Line 26: Line 26:
 
<table class="collapsible collapsed" style="width: 100%; background-color:{{#var:cell}}; border: 3px solid {{#var:border}}; border-radius: 25px;">
 
<table class="collapsible collapsed" style="width: 100%; background-color:{{#var:cell}}; border: 3px solid {{#var:border}}; border-radius: 25px;">
 
<tr><th style="font-weight: bold; color: {{#var:border}};">Obtainability</th></tr>
 
<tr><th style="font-weight: bold; color: {{#var:border}};">Obtainability</th></tr>
{{#if:{{{Shops|}}}|{{#vardefine:border|#{{{{{Type|Normal}}}_color_dark}}}}{{#vardefine:background|#{{{{{Type|Normal}}}_color}}}}{{#vardefine:cell|#{{{{{Type|Normal}}}_color_light}}}}
+
{{#if:{{{Shops|}}}|{{Trichrome|Color={{{Color|Normal}}}}}
 
<tr>
 
<tr>
 
<td>
 
<td>
Line 33: Line 33:
 
<td style="background-color: {{#var:border}}; color:{{#var:cell}}; border-radius: 25px; font-weight: bold; border: 3px solid {{#var:border}};">
 
<td style="background-color: {{#var:border}}; color:{{#var:cell}}; border-radius: 25px; font-weight: bold; border: 3px solid {{#var:border}};">
 
Shops
 
Shops
{{{Shops|
+
{{{Shops|}}}</td></tr>
}}}</tr>
 
 
</table>
 
</table>
 
</td>
 
</td>
 
</tr>
 
</tr>
}}{{#vardefine:border|#{{{{{Type|Normal}}}_color_dark}}}}{{#vardefine:background|#{{{{{Type|Normal}}}_color}}}}{{#vardefine:cell|#{{{{{Type|Normal}}}_color_light}}}}
+
{{Trichrome|Color={{{Color|Normal}}}}}}}
 
{{#if:{{{Repeatable|}}}|
 
{{#if:{{{Repeatable|}}}|
 
<tr>
 
<tr>

Revision as of 01:27, 21 May 2020