Difference between revisions of "GalleryPrintAd"
From Sega Retro
(removed need for pdf specified) |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{ | + | <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 |
− | {{#if: {{{ | + | |{{#cargo_query: |
− | {{# | + | tables=issuenames |
− | + | |fields=issuenames.name=issuename,issuenames.date,issuenames.pdf | |
− | | {{ | + | |where=issuenames.code="{{#var:mcode}}" and issuenames.num="{{#var:missue}}" |
− | {{#vardefine: | + | |limit=1 |
− | <li>{{MagazineName|{{#var: | + | |format=template |
− | }} | + | |template=Magref/Cargo |
− | + | |more results text= | |
− | + | }}{{#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: {{{{{#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}}|}}} | ||
+ | | {{#switch:{{fileext|{{{{{#var:gpa}}|}}}}}|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}}}} | ||
+ | <li style="font-size:8pt;">{{MagazineName|{{#var:mcode}}|{{#var:missue}}}}{{magref|{{#var:mcode}}|{{#var:missue}}|{{#var:mpageclean}}}}{{MagStore|pubcode={{#var:mcode}}|issue={{#var:missue}}|pubpage={{#var:mpageclean}}|name={{PAGENAME}}}}</li>{{incvar|gpa}} | ||
}} | }} | ||
+ | <ul></span></span>}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
+ | |||
{{GalleryPrintAd | {{GalleryPrintAd | ||
|EGM US BuyersGuide 1989.pdf|egm|bg89|53 | |EGM US BuyersGuide 1989.pdf|egm|bg89|53 | ||
Line 16: | Line 23: | ||
|EGM US 002.pdf|egm|2|68 | |EGM US 002.pdf|egm|2|68 | ||
|EGM US 003.pdf|egm|3|55 | |EGM US 003.pdf|egm|3|55 | ||
+ | }} | ||
+ | {{GalleryPrintAd | ||
+ | |egm|bg89|53 | ||
+ | |egm|1|47-48 | ||
+ | |egm|2|68 | ||
+ | |egm|3|55 | ||
+ | }} | ||
+ | {{GalleryPrintAd | ||
+ | |not even a real pdf.pdf|egm|bg89|53 | ||
+ | |egm|1|47-48 | ||
+ | |EGM US 002.pdf|egm|2|68 | ||
+ | |egm|3|55 | ||
}} | }} | ||
[[Category:Sega Retro templates]] | [[Category:Sega Retro templates]] | ||
</noinclude> | </noinclude> |
Revision as of 22:07, 4 April 2020
Expression error: Unexpected < operator. File:EGM US BuyersGuide 1989.pdf
PDF
also published in:
- Electronic Gaming Monthly (US) #1: "May 1989" (1989-0x-xx)[1]
- Electronic Gaming Monthly (US) #2: "July/August 1989" (1989-04-22)[2]
- Electronic Gaming Monthly (US) #3: "September/October 1989" (1989-0x-xx)[3]
Expression error: Unexpected < operator. File:EGM US BuyersGuide 1989.pdf
PDF
also published in:
- Electronic Gaming Monthly (US) #1: "May 1989" (1989-0x-xx)[1]
- Electronic Gaming Monthly (US) #2: "July/August 1989" (1989-04-22)[2]
- Electronic Gaming Monthly (US) #3: "September/October 1989" (1989-0x-xx)[3]
Expression error: Unexpected < operator. File:EGM US BuyersGuide 1989.pdf
PDF
also published in:
- Electronic Gaming Monthly (US) #1: "May 1989" (1989-0x-xx)[1]
- Electronic Gaming Monthly (US) #2: "July/August 1989" (1989-04-22)[2]
- Electronic Gaming Monthly (US) #3: "September/October 1989" (1989-0x-xx)[3]