Template:ItemShops: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
m Reworded "shop" to "source" in the best interest of scalability.
Line 5: Line 5:
<includeonly>{{#vardefine:border|#{{{{{Type|Normal}}}_color_dark}}}}{{#vardefine:background|#{{{{{Type|Normal}}}_color}}}}{{#vardefine:cell|#{{{{{Type|Normal}}}_color_light}}}}
<includeonly>{{#vardefine:border|#{{{{{Type|Normal}}}_color_dark}}}}{{#vardefine:background|#{{{{{Type|Normal}}}_color}}}}{{#vardefine:cell|#{{{{{Type|Normal}}}_color_light}}}}
<table style="width: 63%; text-align: center; background-color: {{#var:background}}; border: 3px solid {{#var:border}};  border-radius: 25px; border-spacing: 5px;">
<table style="width: 63%; text-align: center; background-color: {{#var:background}}; border: 3px solid {{#var:border}};  border-radius: 25px; border-spacing: 5px;">
<tr><th colspan="2" style="background-color: {{#var:cell}}; border: 1px solid {{#var:border}}; color:{{#var:border}}; font-weight: bold; width: 25%; border-top-left-radius: 25px;">Item</th><th style="background-color: {{#var:cell}}; width: 38%; border: 1px solid {{#var:border}}; color:{{#var:border}}; font-weight: bold;}}">Shop</th><th style="background-color: {{#var:cell}}; border: 1px solid {{#var:border}}; color:{{#var:border}}; font-weight: bold; width: 25%; border: top-right-radius: 25px;">Price</th></tr>{{{Contents|
<tr><th colspan="2" style="background-color: {{#var:cell}}; border: 1px solid {{#var:border}}; color:{{#var:border}}; font-weight: bold; width: 25%; border-top-left-radius: 25px;">Item</th><th style="background-color: {{#var:cell}}; width: 38%; border: 1px solid {{#var:border}}; color:{{#var:border}}; font-weight: bold;}}">Sources</th><th style="background-color: {{#var:cell}}; border: 1px solid {{#var:border}}; color:{{#var:border}}; font-weight: bold; width: 25%; border: top-right-radius: 25px;">Price</th></tr>{{{Contents|
}}}
}}}
<tr><td colspan="8" style="text-align: left; border-radius: 1px 1px 25px 25px; border: 1px solid {{#var:border}}; background-color: {{#var:cell}};"><p style="margin-top: 8px; margin-left: 10px;"><ul>
<tr><td colspan="8" style="text-align: left; border-radius: 1px 1px 25px 25px; border: 1px solid {{#var:border}}; background-color: {{#var:cell}};"><p style="margin-top: 8px; margin-left: 10px;"><ul>
<li>'''Emboldened''' items are currently unavailable; see the corresponding shop article for more details</li>
<li>'''Emboldened''' items are currently unavailable; see the corresponding source's article for more details</li>
<li><span style="color:#0000FF;">♂</span> denotes that the item is only purchasable and equippable by male characters.</li>
<li><span style="color:#0000FF;">♂</span> denotes that the item is only purchasable and equippable by male characters.</li>
<li><span style="color:#FF33CC;">♀</span> denotes that the item is only purchasable and equippable by female characters.</li>
<li><span style="color:#FF33CC;">♀</span> denotes that the item is only purchasable and equippable by female characters.</li>
</ul></p></td></tr>
</ul></p></td></tr>
</table></includeonly>
</table></includeonly>

Revision as of 14:38, 29 March 2022

Used to tabulate buyable items carried by multiple types of shops.

Use Template:ItemShop to construct rows for the table.