Difference between revisions of "Merch"
From Sonic Retro
BSonirachi (talk | contribs) m (Text replacement - "Category:Sonic Retro templates" to "Category:Templates") |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | |style="width: | + | |style="width:130px; text-align:right"| {{#if:{{{pdf|}}}|[[File:{{{pdf|}}}{{#if:{{{pdfpage|}}}|{{!}}page={{{pdfpage|}}}}}{{!}}100x120px]]|{{#if:{{{image1|}}}|[[File:{{{image1|}}}|100x120px]]}}}} |
+ | |style="width:130px; text-align:left"| {{#forargs:image|ii|iii| | ||
+ | {{#switch:{{#var:ii}}|1={{#if:{{{pdf|}}}|{{#if:{{{image1|}}}|[[File:{{{image1|}}}|50x60px]]}}}} | ||
+ | |{{#if:{{#var:iii}}|[[File:{{#var:iii}}|50x60px]]}}}} | ||
+ | }} | ||
| {{#if:{{{product|}}}|{{{product|}}}}} | | {{#if:{{{product|}}}|{{{product|}}}}} | ||
| {{#if:{{{date|}}}|{{{date|}}}}} | | {{#if:{{{date|}}}|{{{date|}}}}} | ||
Line 9: | Line 13: | ||
|- | |- | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
+ | |||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
Line 27: | Line 32: | ||
</pre> | </pre> | ||
− | [[Category: | + | [[Category:Templates]] |
</noinclude> | </noinclude> |
Latest revision as of 19:20, 1 January 2022
Usage
{{merchtable| {{merch | pdf= | pdfpage= | image1= | image2= | product= | date= | price= | company= | desc= | game= }} }}