Difference between revisions of "GalleryPrintAd"

From Sega Retro

(Created page with "<!-- pdf | name | issue | page --> {{#vardefine:i|0}}{{#forargs: | key | value {{#switch: {{#var: i}} |0=PDF: {{#var: value}} |1=NAME: {{#var: value}} |2=ISSUE: {{#var: value}...")
 
Line 1: Line 1:
 
<!-- pdf | name | issue | page -->
 
<!-- pdf | name | issue | page -->
{{#vardefine:i|0}}{{#forargs:
+
{{#vardefine:i|0}}{{#fornumargs: number
| key
 
 
| value
 
| value
 +
|
 
{{#switch: {{#var: i}}
 
{{#switch: {{#var: i}}
|0=PDF: {{#var: value}}
+
|0={{#vardefine:pdf|{{#var: value}}}}
|1=NAME: {{#var: value}}
+
|1={{#vardefine:name|{{#var: value}}}}
|2=ISSUE: {{#var: value}}
+
|2={{#vardefine:issue|{{#var: value}}}}
|3=PAGE: {{#var: value}}
+
|3={{#vardefine:page|{{#var: value}}}}
 
}}
 
}}
 
{{addvar|i|1}}
 
{{addvar|i|1}}
{{#ifeq:{{#var:i}}|4|{{#vardefine:i|0}}|}}
+
{{#ifeq:{{#var:i}}|4|
}}<noinclude>[[Category:Sega Retro templates]]</noinclude>
+
[[File:{{#var:pdf}}|page={{#var:page}}|100px]]<br/>
 +
{{MagazineName|{{#var:name}}|{{#var:issue}}}}<br/>
 +
 
 +
{{#vardefine:i|0}}|}}
 +
}}<noinclude>[[Category:Sega Retro templates]]
 +
 
 +
{{GalleryPrintAd
 +
|EGM US BuyersGuide 1989.pdf|egm|bg89|53
 +
|EGM US 001.pdf|egm|1|47
 +
|EGM US 002.pdf|egm|2|68
 +
|EGM US 003.pdf|egm|3|55
 +
}}
 +
 
 +
</noinclude>

Revision as of 12:50, 9 July 2016


File:EGM US BuyersGuide 1989.pdf
Electronic Gaming Monthly (US) #bg89: "1989 Buyer's Guide" (1989-xx-xx)
File:EGM US 001.pdf
Electronic Gaming Monthly (US) #1: "May 1989" (1989-0x-xx)
File:EGM US 002.pdf
Electronic Gaming Monthly (US) #2: "July/August 1989" (1989-04-22)
File:EGM US 003.pdf
Electronic Gaming Monthly (US) #3: "September/October 1989" (1989-0x-xx)