Difference between revisions of "MagCheck/Cargo"
From Sega Retro
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{MagazineName|{{{1|}}}|{{{3|}}}}}:<br/> | |
− | {{#vardefine:i| | + | {{#vardefine:file|File:{{{2|}}}}}{{#if:{{{2|}}}|{{#vardefine:pages|{{#mediapages:File:{{{2|}}}}}}}|{{#vardefine:pages|}}NO SCAN<br/>}}{{#if:{{#var:pages}}| |
+ | {{#vardefine:i|0}}{{#while: | ||
|{{#ifexpr: {{#var:i}} < {{#var:pages}} | true }} | |{{#ifexpr: {{#var:i}} < {{#var:pages}} | true }} | ||
| | | | ||
− | + | {{#cargo_query: | |
+ | table=publications | ||
+ | |fields=name | ||
+ | |where=code="{{{1|}}}" and issue="{{{3|}}}" and pubpage="{{#expr:{{#var:i}}+1}}" | ||
+ | |order by=name | ||
+ | |limit=1 | ||
+ | |default={{MagCheck/Cargo/Display}} | ||
+ | |more results text= | ||
+ | |format=template | ||
+ | |template=MagCheck/Cargo/Display | ||
+ | |||
+ | }}{{incvar|i}} | ||
}} | }} | ||
− | }}<noinclude>[[Category:Cargo templates]]</noinclude> | + | }}<br/><noinclude> |
+ | |||
+ | {{MagCheck/Cargo|mdag|MDAG UK 01.pdf|1}} | ||
+ | |||
+ | [[Category:Cargo templates]]</noinclude> |