Difference between revisions of "Reprints"

From Sega Retro

 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span style="font-size:8pt;">'''Reprints/translations:'''<span class="mw-collapsible mw-collapsed"><ul style="margin-top:0px; margin-bottom:0px; margin-right:0px;">{{#vardefine:arg|1}}{{#while:|{{{{{#var:arg}}|}}}
+
<includeonly><span style="font-size:8pt;">'''Reprints/translations:'''<span class="mw-collapsible mw-collapsed"><ul style="mrpargin-top:0px; mrpargin-bottom:0px; mrpargin-right:0px;">{{#vardefine:rparg|1}}{{#while:|{{{{{#var:rparg}}|}}}
| {{#switch:{{fileext|{{{{{#var:arg}}|}}}}}|pdf|PDF={{incvar|arg}}[[Category:GalleryPrintAd file defined]]|}}{{#vardefine:mcode|{{{{{#var:arg}}|}}}}}{{incvar|arg}}{{#vardefine:missue|{{{{{#var:arg}}|}}}}}{{incvar|arg}}{{#vardefine:mpage|{{{{{#var:arg}}|}}}}}{{#vardefine:mpageclean|{{#explode:{{#explode:{{#var:mpage}}|,|0}}|-|0}}}}
+
| {{#vardefine:rpcode|{{{{{#var:rparg}}|}}}}}{{incvar|rparg}}{{#vardefine:rpissue|{{{{{#var:rparg}}|}}}}}{{incvar|rparg}}{{#vardefine:rppage|{{{{{#var:rparg}}|}}}}}{{#vardefine:rppageclean|{{#explode:{{#explode:{{#var:rppage}}|,|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|arg}}
+
<li style="font-size:8pt;">{{MagazineName|{{#var:rpcode}}|{{#var:rpissue}}}}{{magref|{{#var:rpcode}}|{{#var:rpissue}}|{{#var:rppageclean}}}}</li>{{incvar|rparg}}
}}</ul></span></span></includeonly><noinclude>Template for listing reprints. For use with [[Template:Magtable]]/[[Template:Magrow]]
+
}}</ul></span></span></includeonly><noinclude>
 +
Template for listing reprints. For use with [[Template:Magtable]]/[[Template:Magrow]]
  
 
{{Reprints
 
{{Reprints
Line 10: Line 11:
 
}}
 
}}
  
[[Category:Sega Retro templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 12:52, 1 January 2022