Difference between revisions of "GalleryPrintAd"

From Sega Retro

(removed need for pdf specified)
Line 1: Line 1:
<includeonly>{{#vardefine:gpa|1}}{{#switch:{{fileext|{{{1|}}}}}|pdf|PDF={{incvar|gpa}}[[Category:GalleryPrintAd file defined]]|}}{{#vardefine:mcode|{{{{{#var:gpa}}|}}}}}{{incvar|gpa}}{{#vardefine:missue|{{{{{#var:gpa}}|}}}}}{{incvar|gpa}}{{#vardefine:mpage|{{{{{#var:gpa}}|}}}}}{{#vardefine:mpageclean|{{#explode:{{#explode:{{#var:mpage}}|,|0}}|-|0}}}}{{gitem
+
<includeonly>{{#vardefine:gpa|1}}{{#switch:{{fileext|{{{1|}}}}}|pdf|PDF={{incvar|gpa}}[[Category:GalleryPrintAd file defined]]|jpg|JPG|jpeg|JPEG|png|PNG={{incvar|gpa}}{{#vardefine:imageoverride|{{{1|}}}}}}}{{#vardefine:mcode|{{{{{#var:gpa}}|}}}}}{{incvar|gpa}}{{#vardefine:missue|{{{{{#var:gpa}}|}}}}}{{incvar|gpa}}{{#vardefine:mpage|{{{{{#var:gpa}}|}}}}}{{#vardefine:mpageclean|{{#explode:{{#explode:{{#var:mpage}}|,|0}}|-|0}}}}{{gitem
 
|{{#cargo_query:
 
|{{#cargo_query:
 
tables=issuenames
 
tables=issuenames
Line 8: Line 8:
 
|template=Magref/Cargo
 
|template=Magref/Cargo
 
|more results text=
 
|more results text=
}}{{#var:filename}}|page={{#var:mpage}}
+
}}{{#if:{{#var:imageoverride}}|{{#var:imageoverride}}|{{#var:filename}}}}|page={{#var:mpage}}
 
| {{#if:{{{text|}}}|{{{text|}}}|Print advert}} in {{MagazineName|{{#var:mcode}}|{{#var:missue}}}}{{MagStore|pubcode={{#var:mcode}}|issue={{#var:missue}}|pubpage={{#var:mpageclean}}|name={{PAGENAME}}}}{{incvar|gpa}}
 
| {{#if:{{{text|}}}|{{{text|}}}|Print advert}} in {{MagazineName|{{#var:mcode}}|{{#var:missue}}}}{{MagStore|pubcode={{#var:mcode}}|issue={{#var:missue}}|pubpage={{#var:mpageclean}}|name={{PAGENAME}}}}{{incvar|gpa}}
 
{{#if: {{{{{#var:gpa}}|}}} | <br><span style="font-size:8pt;">also published in:<span class="mw-collapsible mw-collapsed"><ul style="margin-top:0px; margin-bottom:0px; margin-right:0px;">
 
{{#if: {{{{{#var:gpa}}|}}} | <br><span style="font-size:8pt;">also published in:<span class="mw-collapsible mw-collapsed"><ul style="margin-top:0px; margin-bottom:0px; margin-right:0px;">
Line 16: Line 16:
 
}}
 
}}
 
<ul></span></span>}}
 
<ul></span></span>}}
}}</includeonly><noinclude>
+
}}{{#vardefine:imageoverride|}}</includeonly><noinclude>
  
 
{{GalleryPrintAd
 
{{GalleryPrintAd
Line 36: Line 36:
 
|egm|3|55
 
|egm|3|55
 
}}
 
}}
 
+
{{GalleryPrintAd
 +
|SMS TR PrintAdvert 08 03 91.jpg|egm|bg89|53
 +
}}
 
[[Category:Sega Retro templates]]
 
[[Category:Sega Retro templates]]
 
</noinclude>
 
</noinclude>

Revision as of 15:19, 11 April 2020

Expression error: Unexpected < operator. File:EGM US BuyersGuide 1989.pdf

PDF
<div style="width:Expression error: Unexpected < operator.px; padding-left:2px; padding-top:5px; padding-right:2px;"> Print advert in Electronic Gaming Monthly (US) #bg89: "1989 Buyer's Guide" (1989-xx-xx)
also published in:

Expression error: Unexpected < operator. File:EGM US BuyersGuide 1989.pdf

PDF
<div style="width:Expression error: Unexpected < operator.px; padding-left:2px; padding-top:5px; padding-right:2px;"> Print advert in Electronic Gaming Monthly (US) #bg89: "1989 Buyer's Guide" (1989-xx-xx)
also published in:

Expression error: Unexpected < operator. File:EGM US BuyersGuide 1989.pdf

PDF
<div style="width:Expression error: Unexpected < operator.px; padding-left:2px; padding-top:5px; padding-right:2px;"> Print advert in Electronic Gaming Monthly (US) #bg89: "1989 Buyer's Guide" (1989-xx-xx)
also published in:
SMS TR PrintAdvert 08 03 91.jpg
Print advert in Electronic Gaming Monthly (US) #bg89: "1989 Buyer's Guide" (1989-xx-xx)
SMS TR PrintAdvert 08 03 91.jpg