Template:PokemartItems: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly> <td><table style="border-radius: 25px; background-color: {{#var:border}}; width: 100%; padding: 3px;"> <tr><td>[[File:{{{Item}}}.png|right]]</td><td>{{{Item}}}..." |
Since Item is the only parameter needed, I added the fallback positional value of 1. |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#vardefine:items|{{#expr:{{#var:items}}+1}}}} | ||
<td><table style="border-radius: 25px; background-color: {{#var:border}}; width: 100%; padding: 3px;"> | <td><table style="border-radius: 25px; background-color: {{#var:border}}; width: 100%; padding: 3px; text-align: center;"> | ||
<tr><td>[[File:{{{Item}}}.png | <tr><td style="text-align: right;">[[File:{{{Item|{{{1}}}}}}.png]]</td><td>[[{{{Item|{{{1}}}}}}|<span style="color:{{#var:cell}}; font-weight: bold;">{{{Item|{{{1}}}}}}</span>]]</td></tr> | ||
<tr style="background-color:{{#var:cell}};"><td colspan="2" style="border-radius: 1px 1px 30px 30px;">{{Pdollar}}{{{ | <tr style="background-color:{{#var:cell}};"><td colspan="2" style="border-radius: 1px 1px 30px 30px;">{{Pdollar}}{{MartCatalog|{{ucfirst:{{{Item|{{{1}}}}}}}}}}</td></tr> | ||
</table></td>{{# | </table></td>{{#ifexpr:{{#var:items}} = 5|</tr><tr>}}</includeonly> |