Difference between revisions of "MagCheck/Cargo"
From Sega Retro
Line 1: | Line 1: | ||
*{{MagazineName|{{{1|}}}|{{{3|}}}}}: {{#if:{{{2|}}}|{{#vardefine:pages|{{#mediapages:File:{{{2|}}}}}}}|{{#vardefine:pages|}}NO SCAN}}{{#if:{{#var:pages}}| | *{{MagazineName|{{{1|}}}|{{{3|}}}}}: {{#if:{{{2|}}}|{{#vardefine:pages|{{#mediapages:File:{{{2|}}}}}}}|{{#vardefine:pages|}}NO SCAN}}{{#if:{{#var:pages}}| | ||
− | {{#vardefine:i| | + | {{#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 | ||
+ | |default= | ||
+ | |format=template | ||
+ | |template=CargoBulletPoints | ||
+ | }} | ||
}} | }} | ||
}}<noinclude>[[Category:Cargo templates]]</noinclude> | }}<noinclude>[[Category:Cargo templates]]</noinclude> |
Revision as of 07:51, 19 July 2022
- : NO SCAN