Difference between revisions of "Merch"
From Sonic Retro
m |
BSonirachi (talk | contribs) m (Text replacement - "Category:Sonic Retro templates" to "Category:Templates") |
||
(9 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | | {{#if:{{{pdf|}}}|[[File:{{{pdf|}}}{{#if:{{{pdfpage|}}}|{{!}}page={{{pdfpage|}}}}}{{!}} | + | |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:{{{date|}}}|{{{date|}}}}} | | {{#if:{{{date|}}}|{{{date|}}}}} | ||
| {{#if:{{{price|}}}|{{{price|}}}}} | | {{#if:{{{price|}}}|{{{price|}}}}} | ||
| {{#if:{{{company|}}}|{{{company|}}}}} | | {{#if:{{{company|}}}|{{{company|}}}}} | ||
| {{#if:{{{desc|}}}|{{{desc|}}}}} | | {{#if:{{{desc|}}}|{{{desc|}}}}} | ||
+ | | {{#if:{{{game|}}}|{{{game|}}}}} | ||
|- | |- | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
+ | |||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
Line 15: | Line 22: | ||
| image1= | | image1= | ||
| image2= | | image2= | ||
+ | | product= | ||
| date= | | date= | ||
| price= | | price= | ||
| company= | | company= | ||
| desc= | | desc= | ||
+ | | game= | ||
}} | }} | ||
}} | }} | ||
</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= }} }}