Template:GenericItemShop: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>Use this when you want to tabulate a thematically generic shop. Use [[Template:ITS]] to construct data rows as an argument to {{{Contents}}}. | <noinclude>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. | |||
[[Category:Item-table templates]] | [[Category:Item-table templates]] | ||
</noinclude> | </noinclude> | ||
<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}}}}{{#vardefine:currency|{{{Currency|Pdollars}}}}} | ||
<table style="width: 41%; padding: 5px; text-align: center; background-color: {{#var:background}}; border: 3px solid {{#var:border}}; border-radius: 25px; border-spacing: 5px;"> | <table style="width: 41%; padding: 5px; 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}}; border-top-left-radius: 25px; color:{{#var:border}}; font-weight: bold;">Items</th><th style="background-color: {{#var:cell}}; border: 1px solid {{#var:border}}; border-top-right-radius: 25px; border-radius: color:{{#var:border}}; font-weight: bold;">Price</th></tr> | <tr><th colspan="2" style="background-color: {{#var:cell}}; border: 1px solid {{#var:border}}; border-top-left-radius: 25px; color:{{#var:border}}; font-weight: bold;">Items</th><th style="background-color: {{#var:cell}}; border: 1px solid {{#var:border}}; border-top-right-radius: 25px; border-radius: color:{{#var:border}}; font-weight: bold;">Price</th></tr> |
Revision as of 19:13, 21 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.