Difference between revisions of "Magrow"
From Sega Retro
(20 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{ | + | <includeonly><span style="display:none;">{{#vardefine:oldmagrow|}}{{#if:{{{file|}}}|{{#ifexpr:{{#pos:{{{file|}}}|.pdf}}>0|[[Category:Old magrow template]]{{#vardefine:oldmagrow|yes}}|}}|}}{{#vardefine:pubcode|{{{1|{{{source}}}}}}}}{{#vardefine:issueno|{{{2|{{{issueno}}}}}}}}{{#vardefine:page|{{{3|{{{page}}}}}}}}{{#cargo_query: |
− | |style="vertical-align:top"|{{#if: {{ | + | tables=issuenames,magnames |
− | |style="vertical-align:top"|{{ | + | |fields=issuenames.name=issuename,issuenames.date,issuenames.pdf,magnames.name=magname,magnames.country |
− | |style="vertical-align:top"|{{ | + | |where=issuenames.code="{{#var:pubcode}}" and issuenames.num="{{#var:issueno}}" |
− | |style="vertical-align:top"|{{#if: {{{title|}}} | '''"{{{title}}}"'''<br> | }}{{{comment|}}} | + | |join on=issuenames.code=magnames.code |
− | |-</includeonly><noinclude> | + | |limit=1 |
+ | |format=template | ||
+ | |template=magref/Cargo | ||
+ | }}</span>{{MagStore|pubcode={{#var:pubcode}}|issue={{#var:issueno}}|pubpage={{#var:page}}|name={{PAGENAME}}}} | ||
+ | {{#ifeq:{{#var:filename}}||{{#vardefine:filename|{{{file|}}}}}|}} | ||
+ | |style="vertical-align:top"|{{#if: {{#var:filename}} | {{#if: {{{cover|}}} | [[File:{{#var:filename}}|120x120px|page=1]] | }} {{#ifeq:{{fileext|{{#var:filename}}}}|pdf| [[File:Logo-pdf.svg|120x120px|link={{fullurl:File:{{#var:filename}}|page={{#var:page}}}}]] | [[File:{{#var:filename}}|120x120px]] }} }} | ||
+ | |style="vertical-align:top"|{{#var:date}} | ||
+ | |style="vertical-align:top"|{{#if:{{#var:pubname}}|''{{#var:pubname}}'' ({{#var:country}}), "{{#var:issuename}}"|{{#if:{{#var:issuename}}||[[Category:Bad magazine reference]]}}}} | ||
+ | |style="vertical-align:top"|{{#if:{{#var:oldmagrow}}|<span style="color:#FF0000;"><b>Editors: PDF magazine with "file" parameter - add to or use [[:Template:IssueNameStore]]</b></span><br/>|}}{{#if: {{{title|}}} | '''"{{{title}}}"'''<br> | }}{{{comment|}}} | ||
+ | |-{{#vardefine:date|}}{{#vardefine:filename|}}{{#vardefine:pubname|}}{{#vardefine:country|}}{{#vardefine:issuename|}}</includeonly><noinclude> | ||
See [[Template:Magtable]] for usage. | See [[Template:Magtable]] for usage. | ||
{{magtable| | {{magtable| | ||
− | {{magrow|file=CVG UK 120.pdf|page=10}} | + | {{magrow |
+ | | file=CVG UK 120.pdf | ||
+ | | page=10 | ||
+ | | cover= | ||
+ | | source=cvg | ||
+ | | issueno=120 | ||
+ | | title=Old style | ||
+ | | comment= | ||
+ | }} | ||
+ | {{magrow|cvg|120|10 | ||
+ | | title=New style | ||
+ | | comment= | ||
+ | }} | ||
+ | {{magrow | ||
+ | | file=Igromania 5 BG Lunacy PD II.jpg | ||
+ | | page= | ||
+ | | cover= | ||
+ | | source=igr | ||
+ | | issueno=5 | ||
+ | | title= | ||
+ | | comment= | ||
+ | }} | ||
}} | }} | ||
[[Category:Sega Retro templates]] | [[Category:Sega Retro templates]] | ||
</noinclude> | </noinclude> |
Revision as of 06:09, 11 May 2019
See Template:Magtable for usage.
- Back to: [[]].
File | Date | Source | Title and comments | |||
---|---|---|---|---|---|---|
1991-10-15 | Computer & Video Games (UK), "November 1991" | Editors: PDF magazine with "file" parameter - add to or use Template:IssueNameStore "Old style" | ||||
1991-10-15 | Computer & Video Games (UK), "November 1991" | "New style" | ||||
1998-xx-xx | Igromania (BG), "Avgust 1998" |