Difference between revisions of "MagazineBob"

From Sega Retro

(10 intermediate revisions by the same user not shown)
Line 21: Line 21:
 
| if={{{publisher|}}}
 
| if={{{publisher|}}}
 
| title=Publisher
 
| title=Publisher
| content={{#vardefine:companyrole|Publisher}}{{company|{{{publisher|}}}|system=MAG||icons=no|inline=yes}}{{#vardefine:companyrole|}}
+
| content={{#vardefine:companyrole|Publisher}}{{company|{{{publisher|}}}|system=MAG|icons=no|inline=yes}}{{#vardefine:companyrole|}}
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus
Line 33: Line 33:
 
| content={{{system|}}}{{#if: {{#pos:{{{system}}}|Mega Drive}} | [[Category:Mega Drive magazines]] }}{{#if: {{#pos:{{{system}}}|Master System}} | [[Category:Master System magazines]] }}{{#if: {{#pos:{{{system}}}|Mega-CD}} | [[Category:Mega-CD magazines]] }}{{#if: {{#pos:{{{system}}}|Game Gear}} | [[Category:Game Gear magazines]] }}{{#if: {{#pos:{{{system}}}|Saturn}} | [[Category:Saturn magazines]] }}{{#if: {{#pos:{{{system}}}|Dreamcast}} | [[Category:Dreamcast magazines]] }}
 
| content={{{system|}}}{{#if: {{#pos:{{{system}}}|Mega Drive}} | [[Category:Mega Drive magazines]] }}{{#if: {{#pos:{{{system}}}|Master System}} | [[Category:Master System magazines]] }}{{#if: {{#pos:{{{system}}}|Mega-CD}} | [[Category:Mega-CD magazines]] }}{{#if: {{#pos:{{{system}}}|Game Gear}} | [[Category:Game Gear magazines]] }}{{#if: {{#pos:{{{system}}}|Saturn}} | [[Category:Saturn magazines]] }}{{#if: {{#pos:{{{system}}}|Dreamcast}} | [[Category:Dreamcast magazines]] }}
 
}}
 
}}
 +
{{BobRowPlus
 +
| if={{{subject|}}}
 +
| title=Subject(s)
 +
| content={{{subject|}}}[[Category:{{{subject|}}} magazines]]
 +
}}{{#if:{{{system|}}}{{{subject|}}}||[[Category:Magazines without subject]]}}
 
{{BobRowPlus
 
{{BobRowPlus
 
| if=yes
 
| if=yes
 
| title=First issue date
 
| title=First issue date
| content={{MagazineName|{{#var:magcode}}|{{#if:{{{firstissue|}}}|{{{firstissue|}}}|1}}|nomagname=yes|noissuename=yes}}
+
| content={{#vardefine:startdate|{{MagazineName|{{#var:magcode}}|{{#if:{{{firstissue|}}}|{{{firstissue|}}}|1}}|nomagname=yes|noissuename=yes}}}}{{#var:startdate}}
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus
Line 68: Line 73:
 
| content={{{successor|}}}
 
| content={{{successor|}}}
 
}}
 
}}
}}<includeonly>{{#if:{{{system|}}}|[[Category:Magazines]]|[[Category:Non-Sega magazines]]}}</includeonly>
+
}}<includeonly>{{#if:{{{system|}}}|[[Category:Magazines]]|[[Category:Non-Sega magazines]]}}{{StoreRelease
 +
|name={{#titleparts:{{PAGENAME}}}}
 +
|type=99
 +
|console=MAG
 +
|region=
 +
|date=<!-- TODO: make {{#var:startdate}} work -->
 +
|rrp=
 +
|code=
 +
}}</includeonly>
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
Line 80: Line 93:
 
| publisher=
 
| publisher=
 
| system=
 
| system=
 +
| subject=
 
| country=
 
| country=
 
| firstissue=
 
| firstissue=

Revision as of 17:41, 20 March 2020

Notavailable.svg
MagazineBob
First issue date:

Usage

This template is to be used on articles Sega-based magazines. Place the following at the top of a page:

{{MagazineBob
| logo=
| magimage=
| title=
| publisher=
| system=
| subject=
| country=
| firstissue=
| lastissue=
| numberofissues=
| frequency=
| ISSN=
| predecessor=
| successor=
}}