Difference between revisions of "GalleryPrintAd"

From Sega Retro

Line 1: Line 1:
 
<!-- pdf | name | issue | page -->
 
<!-- pdf | name | issue | page -->
{{#vardefine:firstLoopFlag|true}}{{#vardefine:i|0}}{{#fornumargs: number
+
{{#vardefine:loopNo|0}}{{#vardefine:i|0}}{{#fornumargs: number
 
| value
 
| value
 
|
 
|
Line 12: Line 12:
 
{{#ifeq:{{#var:i}}|4|
 
{{#ifeq:{{#var:i}}|4|
  
{{#ifeq:{{#var:firstLoopFlag}}|true
+
{{#ifeq:{{#var:loopNo}}|0
|{{!}}{{#var:pdf}}¦page#{{#var:page}}¦Print advert in {{MagazineName|{{#var:name}}|{{#var:issue}}}}
+
|{{#var:pdf}}¦page#{{#var:page}}¦Print advert in {{MagazineName|{{#var:name}}|{{#var:issue}}}}
|, {{MagazineName|{{#var:name}}|{{#var:issue}}}}{{fileref|{{#var:pdf}}|page={{#var:page}}}}
+
|{{#ifeq:{{#var:loopNo}}|1|; also published in:
 +
<ul style="margin-top:0px; margin-bottom:0px; margin-right:0px;">|}}
 +
<li>{{MagazineName|{{#var:name}}|{{#var:issue}}}}{{fileref|{{#var:pdf}}|page={{#var:page}}}}</li>
 
}}
 
}}
  
{{#vardefine:i|0}}{{#vardefine:firstLoopFlag|false}}|}}
+
{{#vardefine:i|0}}{{addvar|loopNo|1}}|}}
}}<noinclude>[[Category:Sega Retro templates]]
+
}}{{#ifeq:{{#var:loopNo}}|0||</ul>}}<noinclude>[[Category:Sega Retro templates]]
  
{{GalleryPrintAd
+
{{gallery
 +
|{{GalleryPrintAd
 
|EGM US BuyersGuide 1989.pdf|egm|bg89|53
 
|EGM US BuyersGuide 1989.pdf|egm|bg89|53
 
|EGM US 001.pdf|egm|1|47
 
|EGM US 001.pdf|egm|1|47
Line 26: Line 29:
 
|EGM US 003.pdf|egm|3|55
 
|EGM US 003.pdf|egm|3|55
 
}}
 
}}
 
+
}}
 
</noinclude>
 
</noinclude>

Revision as of 04:19, 10 July 2016


EGM US BuyersGuide 1989.pdf¦page#53¦Print advert in Electronic Gaming Monthly (US) #bg89: "1989 Buyer's Guide" (1989-xx-xx); also published in: