Difference between revisions of "MagazineBob"

From Sega Retro

(16 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
{{BobRowPlus
 
{{BobRowPlus
 
| if={{{logo|}}}
 
| if={{{logo|}}}
| content={{{logo|}}}
+
| content=[[File:{{{logo}}}|320x100px]]
 
| align=center
 
| align=center
 
}}
 
}}
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
Line 52: Line 57:
 
| title=Frequency
 
| title=Frequency
 
| content={{{frequency|}}}
 
| content={{{frequency|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{circulation|}}}
 +
| title=Circulation
 +
| content={{{circulation|}}}
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus
Line 73: Line 83:
 
|console=MAG
 
|console=MAG
 
|region=
 
|region=
|date={{#var:startdate}}
+
|date=<!-- TODO: make {{#var:startdate}} work -->
 
|rrp=
 
|rrp=
 
|code=
 
|code=
}}</includeonly>
+
}}{{#if:{{{defaultratingsystem|}}}|{{#cargo_store:
<noinclude>
+
_table = magdefaultratingsystems
 +
|code={{#var:magcode}}
 +
|system={{{defaultratingsystem|}}}
 +
|firstissue=0
 +
}}{{#if:{{{defaultratingsystem2|}}}|{{#cargo_store:
 +
_table = magdefaultratingsystems
 +
|code={{#var:magcode}}
 +
|system={{{defaultratingsystem2|}}}
 +
|firstissue={{padleft:{{{defaultratingsystem2_issue|0}}}|8|0}}
 +
}}}}{{#if:{{{defaultratingsystem3|}}}|{{#cargo_store:
 +
_table = magdefaultratingsystems
 +
|code={{#var:magcode}}
 +
|system={{{defaultratingsystem3|}}}
 +
|firstissue={{padleft:{{{defaultratingsystem3_issue|0}}}|8|0}}
 +
}}}}{{#if:{{{defaultratingsystem4|}}}|{{#cargo_store:
 +
_table = magdefaultratingsystems
 +
|code={{#var:magcode}}
 +
|system={{{defaultratingsystem4|}}}
 +
|firstissue={{padleft:{{{defaultratingsystem4_issue|0}}}|8|0}}
 +
}}}}{{#if:{{{defaultratingsystem5|}}}|{{#cargo_store:
 +
_table = magdefaultratingsystems
 +
|code={{#var:magcode}}
 +
|system={{{defaultratingsystem5|}}}
 +
|firstissue={{padleft:{{{defaultratingsystem5_issue|0}}}|8|0}}
 +
}}}}|[[Category:No rating system]]}}</includeonly>
 +
<noinclude>{{#cargo_declare:
 +
_table = magdefaultratingsystems
 +
|code=Text
 +
|system=Text
 +
|firstissue=Text
 +
}}
 
==Usage==
 
==Usage==
 
This template is to be used on articles Sega-based magazines. Place the following at the top of a page:
 
This template is to be used on articles Sega-based magazines. Place the following at the top of a page:
Line 88: Line 128:
 
| publisher=
 
| publisher=
 
| system=
 
| system=
 +
| subject=
 
| country=
 
| country=
 
| firstissue=
 
| firstissue=
Line 93: Line 134:
 
| numberofissues=
 
| numberofissues=
 
| frequency=
 
| frequency=
 +
| circulation=
 
| ISSN=
 
| ISSN=
 
| predecessor=
 
| predecessor=
 
| successor=
 
| successor=
 +
| defaultratingsystem=
 
}}</pre>
 
}}</pre>
 
  
 
[[Category:Breakout box templates]]</noinclude>
 
[[Category:Breakout box templates]]</noinclude>

Revision as of 06:21, 4 July 2020

Notavailable.svg
MagazineBob
First issue date:

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

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=
| circulation=
| ISSN=
| predecessor=
| successor=
| defaultratingsystem=
}}