Difference between revisions of "GalleryPrintAd"

From Sega Retro

(removed need for pdf specified)
 
(3 intermediate revisions by 2 users not shown)
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}}|Logo-pdf.svg}}|page={{#var:mpageclean}}|link={{fullurl:File:{{#var:filename}}|page={{#var:mpageclean}}}}
| {{#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={{#titleparts:{{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;">
 
{{#while:|{{{{{#var:gpa}}|}}}
 
{{#while:|{{{{{#var:gpa}}|}}}
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
[[Category:Sega Retro templates]]
+
|SMS TR PrintAdvert 08 03 91.jpg|egm|bg89|53
 +
}}
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:17, 19 July 2022

Logo-pdf.svg
Print advert in Electronic Gaming Monthly (US) #bg89: "1989 Buyer's Guide" (1989-xx-xx)
also published in:
Logo-pdf.svg
Logo-pdf.svg
Print advert in Electronic Gaming Monthly (US) #bg89: "1989 Buyer's Guide" (1989-xx-xx)
also published in:
Logo-pdf.svg
Logo-pdf.svg
Print advert in Electronic Gaming Monthly (US) #bg89: "1989 Buyer's Guide" (1989-xx-xx)
also published in:
Logo-pdf.svg
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