Template:Pokestop: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
Created page with "<includeonly> {{#if:{{{Type|}}} | {{#vardefine:cell|#{{{{{Type}}}_color_light}}}} {{#vardefine:background|#{{{{{Type}}}_color}}}} {{#vardefine:border|#{{{{{Type}}}_color_dark}..."
 
m De-radialized the items subtable.
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>Use [[Template:PSI]] as an argument to {{{Contents}}} in order to construct each data-table row for it. Also, use the {{{Badge}}} argument to specify which badge is required in order for this agent's items to be reapable.
[[Category:Item-table templates]]
</noinclude>
<includeonly>
<includeonly>
{{#if:{{{Type|}}} |
{{#if:{{{Type|}}} |
Line 7: Line 11:
<table style="width: 30%; padding: 5px; background-color: {{#var:background}}; border: 5px solid {{#var:border}}; border-radius: 25px; text-align: center;">
<table style="width: 30%; padding: 5px; background-color: {{#var:background}}; border: 5px solid {{#var:border}}; border-radius: 25px; text-align: center;">
<tr><td colspan="2" style="color:{{#var:border}}; font-weight: bold;"><div style="background-color:{{#var:cell}}; padding: 4px; border-radius: 25px; margin: auto auto; width: 50%; border: 3px solid {{#var:border}};"><div style="height: 50px; width: 50px; background-color:#FFFFFF; border: 3px solid {{#var:border}}; border-radius: 35px; margin: auto auto; padding: 5px;">[[File:Pokéstop Agent.png]]</div>Pokéstop</div></td></tr>
<tr><td colspan="2" style="color:{{#var:border}}; font-weight: bold;"><div style="background-color:{{#var:cell}}; padding: 4px; border-radius: 25px; margin: auto auto; width: 50%; border: 3px solid {{#var:border}};"><div style="height: 50px; width: 50px; background-color:#FFFFFF; border: 3px solid {{#var:border}}; border-radius: 35px; margin: auto auto; padding: 5px;">[[File:Pokéstop Agent.png]]</div>Pokéstop</div></td></tr>
<tr><td style="background-color:{{#var:cell}}; font-weight: bold; border-radius: 25px 1px 1px 25px; border: 3px solid {{#var:border}}; padding: 3px; width: 60%; margin: auto auto; color:{{#var:border}};">Required badge:</td><td style="background-color:#FFFFFF; padding: 5px; border-radius: 1px 25px 25px 1px; border: 3px solid {{#var:border}}; width: 55px; height: 55px; margin: auto auto;">[[File:Boulder {{{Badge}}}.png|link={{{Badge}}} Badge|alt={{{Badge}}} Badge]]</td></tr>
<tr><td style="background-color:{{#var:cell}}; font-weight: bold; border-radius: 25px 1px 1px 25px; border: 3px solid {{#var:border}}; padding: 3px; width: 60%; margin: auto auto; color:{{#var:border}};">Required badge</td><td style="background-color:#FFFFFF; padding: 5px; border-radius: 1px 25px 25px 1px; border: 3px solid {{#var:border}}; width: 55px; height: 55px; margin: auto auto;">[[File:{{{Badge}}} Badge.png|alt={{{Badge}}} Badge|{{{Badge}}} Badge|link=Gyms]]</td></tr>
<tr><td colspan="2"><table style="width: 100%; padding: 5px; text-align: center;">
<tr><td colspan="2"><table style="width: 100%; padding: 5px; text-align: center;">
<tr><th colspan="2" style="background-color:{{#var:cell}}; border: 1px solid {{#var:border}}; border-radius: 25px 25px 1px 1px; color:{{#var:border}}; font-weight: bold;">Items</th></tr>
<tr><th colspan="2" style="background-color:{{#var:cell}}; border: 1px solid {{#var:border}}; color:{{#var:border}}; font-weight: bold;">Items</th></tr>
{{{Contents|}}}
{{{Contents|}}}
</table>
</table>

Latest revision as of 17:10, 12 April 2022

Use Template:PSI as an argument to {{{Contents}}} in order to construct each data-table row for it. Also, use the {{{Badge}}} argument to specify which badge is required in order for this agent's items to be reapable.