Template:AreaItems: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>Use this in conjunction with [[Template:AIR]] in order to construct data-table rows for it. Its applicative usage is strictly on area pages wherein you note the item, quantity, and acquisitional location of it.
[[Category:Item-table templates]]
</noinclude>
<includeonly>
<includeonly>
{{#if:{{{Type|}}} |  
{{#if:{{{Type|}}} |  
Line 5: Line 9:
{{#vardefine:cell|#{{{{{Type}}}_color_light}}}}
{{#vardefine:cell|#{{{{{Type}}}_color_light}}}}
}}
}}
<table style="width: 80%; border: 4px solid {{#var:border}}; background-color:{{#var:background}}; border-radius: 25px; padding: 8px;">
<table style="width: 100%; border: 4px solid {{#var:border}}; background-color:{{#var:background}}; border-radius: 25px; padding: 8px;">
<tr style="background-color:{{#var:cell}};"><th colspan="2" style="border-radius: 20px 1px 1px 1px; color:{{#var:border}}; border: 1px solid {{#var:border}}; width: 15%;">Item</th><th style="color:{{#var:border}}; border: 1px solid {{#var:border}};">Quantity</th><th style="color:{{#var:border}}; border: 1px solid {{#var:border}};">Cooldown</th><th style="color:{{#var:border}}; border: 1px solid {{#var:border}}; border-radius: 1px 20px 1px 1px;">Location</th></tr>
<tr style="background-color:{{#var:cell}};"><th colspan="2" style="color:{{#var:border}}; border: 1px solid {{#var:border}}; width: 15%;">Item</th><th style="color:{{#var:border}}; border: 1px solid {{#var:border}};">Quantity</th><th style="color:{{#var:border}}; border: 1px solid {{#var:border}}; width: 13%;">Cooldown</th><th style="color:{{#var:border}}; border: 1px solid {{#var:border}};">Location</th></tr>
{{{Contents}}}
{{{Contents}}}
</table>
</table>
</includeonly>
</includeonly>

Latest revision as of 04:48, 25 March 2020

Use this in conjunction with Template:AIR in order to construct data-table rows for it. Its applicative usage is strictly on area pages wherein you note the item, quantity, and acquisitional location of it.