Template:GenericItemShop: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
</td></tr>
</td></tr>
{{#ifeq:{{#var:currency}}|Pdollars||
{{#ifeq:{{#var:currency}}|Pdollars||
<tr>
<tr><td style="text-align: left; border: 1px solid {{#var:border}}; border-radius: 1px 1px 25px 25px; background-color: {{#var:cell}}; color: {{#var:border}};"><p style="margin-top: 8px; margin-left: 10px;"><ul><li>{{#var:currency}} are the currency of this shop.</li></ul></p></td></tr>
<td style="text-align: left; border: 3px solid {{#var:border}}; border-radius: 1px 1px 25px 25px; background-color: {{#var:cell}}; color: {{#var:border}};"><p style="margin-top: 8px; margin-left: 10px;">
<ul>
<li>{{#var:currency}} are the currency of this shop.</li>
</ul>
</p>
</td>
</tr>
}}
}}
</table>
</table>
</includeonly>
</includeonly>

Revision as of 03:41, 25 April 2017

Use this when you want to tabulate a thematically generic shop. Use Template:ITS to construct data rows as an argument to {{{Contents}}}.

Additionally, furnish an argument for {{{Currency}}} if you wish to specify any currency other than Pokédollars (Pokédollars is the default one) for the shop.