Template:Mag Issue: Difference between revisions

From Railway Knowledge Base for New Zealand
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{Title number}}
{{#template_params:MAGAZINE (label=Full Name)|Issue_Number (label=Issue Number)|Issue Date|Volume_Number (label=Volume and Number)|Page_Count (label=Pages)|Page_Range (label=Page Range)|Cover_Image (label=Cover Image;namespace=File)}}
{{#template_params:Magazine (label=Full Name)|Issue_Number (label=Issue Number)|Issue_Date (label=Issue Date)|Volume_Number|Page_Count (label=Pages)|Page_Range (label=Page Range)|Cover_Image (label=Cover Image;namespace=File)}}
{{#cargo_declare:_table=Mag_Issue|MAGAZINE=Page|Issue_Number=Integer|Issue_Date=Date|Volume_Number=String|Page_Count=Integer|Page_Range=String|Cover_Image=File}}
{{#cargo_declare:_table=Mag_Issue|Magazine=Page|Issue_Number=Integer|Issue_Date=Date|Volume_Number=String|Page_Count=Integer|Page_Range=String|Cover_Image=File}}
</noinclude><includeonly>
</noinclude><includeonly>{{#cargo_store:_table=Mag_Issue}}
{{Clickable button 2|{{Str letter/trim|{{PAGENAME}}}}{{#expr:{{Title number}}-1}}|Prev Issue}} {{Clickable button 2|{{Str letter/trim|{{PAGENAME}}}}{{#expr:{{Title number}}+1}}|Next Issue}}
{{#cargo_store:_table=Mag_Issue}}
{{#template_display:_format=standard}}
{{#template_display:_format=standard}}
[[Category:Mag Issues]]
[[Category:Mag Issue]]
{{#switch:{{Str letter/trim|{{PAGENAME}}}}
|YARN = [[Category:YARN Issue]]
|Observer =[[Category:Observer Issue]]
}}
</includeonly>
</includeonly>

Latest revision as of 07:10, 14 May 2023

This is the "Mag Issue" template.

It should be called in the following format:

{{Mag Issue
|MAGAZINE=
|Issue_Number=
|Issue Date=
|Volume_Number=
|Page_Count=
|Page_Range=
|Cover_Image=
}}

Edit the page to see the template text.

This template defines the table "Mag_Issue". View table.