Difference between revisions of "Gbackissue"
From Sega Retro
m (Text replacement - "Category:Sega Retro templates" to "Category:Templates") |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>< | + | <includeonly><div style="display:none;">{{gbackissue/Cargo}}{{#vardefine:pubcode|{{{1}}}}}{{#vardefine:issueno|{{{2}}}}}{{#cargo_query: |
tables=issuenames,magnames | tables=issuenames,magnames | ||
|fields=issuenames.name,issuenames.date,issuenames.price,issuenames.barcode,issuenames.pdf,magnames.country | |fields=issuenames.name,issuenames.date,issuenames.price,issuenames.barcode,issuenames.pdf,magnames.country | ||
Line 7: | Line 7: | ||
|format=template | |format=template | ||
|template=gbackissue/Cargo | |template=gbackissue/Cargo | ||
− | }}</ | + | }}</div>{{#if:{{#var:pdf}}|{{#vardefine:image|Logo-pdf.svg}}|{{#vardefine:image|{{{image|Notavailable.svg}}}}}}}{{gitem|{{#var:image}}|#{{#var:issueno}}: "{{#var:name}}"<br/>({{#var:date}}, {{currency|{{EuroCheck|{{#var:country}}|{{#var:date}}}}|{{#var:price}}}}){{#if:{{#var:barcode}}|<br/>({{#var:barcode}})|}}|link={{#if:{{#var:pdf}}|File:{{#var:pdf}}}}}}<!-- |
+ | |||
+ | Original: | ||
+ | |||
+ | {{#if:{{#var:pdf}}||{{#vardefine:pdf|{{{image|Notavailable.svg}}}}}}}{{gitem|{{#var:pdf}}|#{{#var:issueno}}: "{{#var:name}}"<br/>({{#var:date}}, {{currency|{{EuroCheck|{{#var:country}}|{{#var:date}}}}|{{#var:price}}}}){{#if:{{#var:barcode}}|<br/>({{#var:barcode}})|}}}}--></includeonly><noinclude>[[Category:Templates]] | ||
Template for easy formatting of back issues (for use in magazine pages). | Template for easy formatting of back issues (for use in magazine pages). |
Latest revision as of 13:01, 1 January 2022
Template for easy formatting of back issues (for use in magazine pages).
Usage
{{gallery| {{Gbackissue|cvg|100}} }}
If we haven't got a PDF yet, specify a placeholder image:
{{gallery| {{Gbackissue|cvg|1|image=Sonic1 title.png}} }}