Difference between revisions of "Bob"

From Sega Retro

(using BobRowPlus templates; saving company names/roles to cargo db)
Line 2: Line 2:
 
<link itemprop="applicationCategory" href="http://schema.org/GameApplication"/>
 
<link itemprop="applicationCategory" href="http://schema.org/GameApplication"/>
 
<span itemprop="operatingSystem" style="display:none">n/a</span>
 
<span itemprop="operatingSystem" style="display:none">n/a</span>
{{#vardefine:type|0}}{{#vardefine:genre|0}}{{BobTable|
+
{{#vardefine:type|0}}{{#vardefine:genre|0}}{{BobTablePlus|
{{#if:{{{image|}}}
+
{{#if:{{{image|}}}|{{BobRowPlus
|{{BobRow||{{image|}}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No bob image]]</includeonly>|content=[[File:{{{image|}}}|{{#ifexpr:{{#mediawidth:{{{image|}}}}}>320|320}}x320px]]}}
+
| if={{{image|}}}
|{{BobRow||{{{bobscreen|}}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>|content={{#if:{{{bobscreen2|}}}
+
| align=center
|{{bobscreenMulti|{{{bobscreen|}}}|{{{bobscreen2|}}}|{{{bobscreen3|}}}|{{{bobscreen4|}}}|{{{bobscreen5|}}}|{{{bobscreen6|}}}|{{{bobscreen7|}}}|{{{bobscreen8|}}}|{{{bobscreen9|}}}|{{{bobscreen10|}}}|width=320}}
+
| default=[[File:Notavailable.svg]]<includeonly>[[Category:No bob image]]</includeonly>
|{{#vardefine:bobscreenwidth|{{#ifexpr:{{#mediawidth:{{{bobscreen|}}}}}>320|320|}}}}{{#vardefine:forcewidescreen|{{{forcewidescreen|}}}}}{{bobscreen|{{{bobscreen|}}}|forcewidescreen={{#var:forcewidescreen}}|width={{#var:bobscreenwidth}}}}{{#if: {{#ifeq: {{fileext|{{{bobscreen}}}}} | jpg | [[Category:JPEG titlescreen]] }}}}
+
| content=[[File:{{{image|}}}|320x240px]]
 +
}}|
 +
{{BobRowPlus
 +
| if={{{bobscreen|}}}
 +
| align=center
 +
| default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>
 +
| content={{#vardefine:bobscreenwidth|{{#ifexpr:{{#mediawidth:{{{bobscreen|}}}}}>320|320|}}}}{{#vardefine:forcewidescreen|{{{forcewidescreen|}}}}}{{#if:{{{bobscreen2|}}}
 +
| {{tabs
 +
| icon1={{#if:{{{tab1|}}}|{{{tab1}}}|{{{bobscreen|}}}}}
 +
| icon2={{#if:{{{tab2|}}}|{{{tab2}}}|{{{bobscreen2|}}}}}
 +
| icon3={{#if:{{{tab3|}}}|{{{tab3}}}|{{{bobscreen3|}}}}}
 +
| icon4={{#if:{{{tab4|}}}|{{{tab4}}}|{{{bobscreen4|}}}}}
 +
| icon5={{#if:{{{tab5|}}}|{{{tab5}}}|{{{bobscreen5|}}}}}
 +
| icon6={{#if:{{{tab6|}}}|{{{tab6}}}|{{{bobscreen6|}}}}}
 +
| icon7={{#if:{{{tab7|}}}|{{{tab7}}}|{{{bobscreen7|}}}}}
 +
| icon8={{#if:{{{tab8|}}}|{{{tab8}}}|{{{bobscreen8|}}}}}
 +
| icon9={{#if:{{{tab9|}}}|{{{tab9}}}|{{{bobscreen9|}}}}}
 +
| icon10={{#if:{{{tab10|}}}|{{{tab10}}}|{{{bobscreen10|}}}}}
 +
| content1={{bobscreen|{{{bobscreen|}}}|forcewidescreen={{#var:forcewidescreen}}|width={{#var:bobscreenwidth}}}}
 +
| content2={{bobscreen|{{{bobscreen2|}}}|forcewidescreen={{#var:forcewidescreen}}|width={{#var:bobscreenwidth}}}}
 +
| content3={{#if:{{{bobscreen3|}}}|{{bobscreen|{{{bobscreen3|}}}|forcewidescreen={{#var:forcewidescreen}}|width={{#var:bobscreenwidth}}}}}}
 +
| content4={{#if:{{{bobscreen4|}}}|{{bobscreen|{{{bobscreen4|}}}|forcewidescreen={{#var:forcewidescreen}}|width={{#var:bobscreenwidth}}}}}}
 +
| content5={{#if:{{{bobscreen5|}}}|{{bobscreen|{{{bobscreen5|}}}|forcewidescreen={{#var:forcewidescreen}}|width={{#var:bobscreenwidth}}}}}}
 +
| content6={{#if:{{{bobscreen6|}}}|{{bobscreen|{{{bobscreen6|}}}|forcewidescreen={{#var:forcewidescreen}}|width={{#var:bobscreenwidth}}}}}}
 +
| content7={{#if:{{{bobscreen7|}}}|{{bobscreen|{{{bobscreen7|}}}|forcewidescreen={{#var:forcewidescreen}}|width={{#var:bobscreenwidth}}}}}}
 +
| content8={{#if:{{{bobscreen8|}}}|{{bobscreen|{{{bobscreen8|}}}|forcewidescreen={{#var:forcewidescreen}}|width={{#var:bobscreenwidth}}}}}}
 +
| content9={{#if:{{{bobscreen9|}}}|{{bobscreen|{{{bobscreen9|}}}|forcewidescreen={{#var:forcewidescreen}}|width={{#var:bobscreenwidth}}}}}}
 +
| content10={{#if:{{{bobscreen10|}}}|{{bobscreen|{{{bobscreen10|}}}|forcewidescreen={{#var:forcewidescreen}}|width={{#var:bobscreenwidth}}}}}}
 +
| orientation=horizontal
 +
| hidetitle=yes
 +
| tabliststyle=margin:2px;
 +
}}
 +
| {{bobscreen|{{{bobscreen|}}}|forcewidescreen={{#var:forcewidescreen}}|width={{#var:bobscreenwidth}}}}
 +
}}{{#ifeq:{{lc:{{fileext|{{{bobscreen}}}}}}}|jpg|[[Category:JPEG titlescreen]]}}
 +
}}}}
 +
{{BobRowPlus
 +
| if={{{title|}}}
 +
| default=''<span itemprop="name">{{PAGENAME}}</span>''
 +
| content=''<span itemprop="name">{{{title}}}</span>''
 +
| headline=yes
 +
| align=center
 +
}}
 +
{{BobRowPlus
 +
| if={{{icon|}}}
 +
| align=right
 +
| content=[[File:{{{icon}}}|32x32px]]
 +
}}
 +
{{BobRowPlus
 +
| if={{{system|}}}
 +
| title=System(s)
 +
| content=<span itemprop="gamePlatform">{{{system}}}</span>{{#if:{{#pos:{{{system}}}|,}}|{{#vardefine:multi|yes}}|{{#vardefine:system|{{delink|{{{system}}}}}}}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{publisher|}}}
 +
| title=Publisher
 +
| content={{#vardefine:companyrole|Publisher}}<span itemprop="publisher">{{{publisher}}}</span>{{#if:{{#var:multi}}||{{CompanyStore
 +
| name={{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}
 +
| format={{#var:system}}
 +
| company={{delink|{{{publisher|}}}}}
 +
| role={{#var:companyrole}}
 +
| credited=
 
}}}}
 
}}}}
 
}}
 
}}
{{BobRow||{{{title|}}}|default=''<span itemprop="name">{{PAGENAME}}</span>''|content=''<span itemprop="name">{{{title}}}</span>''|headline=yes|align=center}}
+
{{BobRowPlus
{{BobRow||{{{icon|}}}|align=right|content=[[File:{{{icon}}}|32px]]}}
+
| if={{{developer|}}}
{{BobRow||{{{publisher|}}}|content='''Publisher:''' <span itemprop="publisher">{{{publisher}}}</span>}}
+
| title=Developer
{{BobRow||{{{developer|}}}|content='''Developer:''' <span itemprop="author">{{{developer}}}</span>}}
+
| content={{#vardefine:companyrole|Developer}}<span itemprop="author">{{{developer}}}</span>{{#if:{{#var:multi}}||{{CompanyStore
{{BobRow|Distributor|{{{distributor|}}}}}
+
| name={{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}
{{BobRow|Licensor|{{{licensor|}}}}}
+
| format={{#var:system}}
{{BobRow|Publisher(s) of original games|{{{originalpublishers|}}}}}
+
| company={{delink|{{{developer|}}}}}
{{BobRow|Developer(s) of original games|{{{originaldevelopers|}}}}}
+
| role={{#var:companyrole}}
{{BobRow|Game total|{{{gamecount|}}}}}
+
| credited=
{{BobRow||{{{system|}}}|content='''System(s)''': <span itemprop="gamePlatform">{{{system}}}</span>}}
+
}}}}
{{BobRow|Original system(s)|{{{consolescompilation|}}}}}
+
}}
{{BobRow|Save file size|{{{savesize|}}}}}
+
{{BobRowPlus
{{BobRow|Sound driver|{{{sounddriver|}}}}}
+
| if={{{distributor|}}}
{{BobRow|Peripherals supported|{{AccessoryCategoryCheck|{{{peripherals|}}}}} {{{peripherals|}}}}}{{#if:{{{peripherals|}}}||[[Category:No peripherals field]]}}
+
| title=Distributor
{{BobRow||{{{genre|}}}|content='''Genre''': <span itemprop="genre">{{{genre}}}</span> {{genre2num|{{{genre}}}}}}}
+
| content={{#vardefine:companyrole|Distributor}}{{{distributor|}}}{{#if:{{#var:multi}}||{{CompanyStore
{{BobRow|Series|{{{series|}}}}}
+
| name={{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}
{{BobRow||{{{players|}}}|content='''Number of players''': <span itemprop="numberOfPlayers">{{{players}}}</span>}}
+
| format={{#var:system}}
{{BobRow||{{{languages|}}}|content='''Official in-game languages''':
+
| company={{delink|{{{distributor|}}}}}
{{{languages|}}}}}
+
| role={{#var:companyrole}}
{{BobRow||{{{releases|}}}|align=center|content={{releasesHeader}}
+
| credited=
 +
}}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{licensor|}}}
 +
| title=Licensor
 +
| content={{#vardefine:companyrole|Licensor}}{{{licensor|}}}{{#if:{{#var:multi}}||{{CompanyStore
 +
| name={{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}
 +
| format={{#var:system}}
 +
| company={{delink|{{{licensor|}}}}}
 +
| role={{#var:companyrole}}
 +
| credited=
 +
}}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{originalsystem|}}}
 +
| title=Original system(s)
 +
| content={{{originalsystem|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{originalpublishers|}}}
 +
| title=Publisher(s) of original games
 +
| content={{{originalpublishers|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{originaldevelopers|}}}
 +
| title=Developer(s) of original games
 +
| content={{{originaldevelopers|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{gamecount|}}}
 +
| title=Game total
 +
| content={{{gamecount|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{sounddriver|}}}
 +
| title=Sound driver
 +
| content={{{sounddriver|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{peripherals|}}}
 +
| title=Peripherals supported
 +
| content={{AccessoryCategoryCheck|{{{peripherals|}}}}} {{{peripherals|}}}
 +
}}{{#if:{{{peripherals|}}}||[[Category:No peripherals field]]}}
 +
{{BobRowPlus
 +
| if={{{genre|}}}
 +
| title=Genre
 +
| content=<span itemprop="genre">{{{genre}}}</span> {{genre2num|{{{genre}}}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{series|}}}
 +
| title=Series
 +
| content={{{series|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{players|}}}
 +
| title=Number of players
 +
| content=<span itemprop="numberOfPlayers">{{{players}}}</span>
 +
}}
 +
{{BobRowPlus
 +
| if={{{languages|}}}
 +
| title=Official in-game languages
 +
| content=
 +
{{{languages|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{releases|}}}
 +
| style=padding-left:0px; padding-right:0px;
 +
| content={{releasesHeader}}
 
{{{releases}}}
 
{{{releases}}}
{{releasesEnd}}}}
+
{{releasesEnd}}
{{BobRow||{{{esrb|}}}{{{vrc|}}}{{{sega|}}}{{{pegi|}}}{{{elspa|}}}{{{bbfc|}}}{{{usk|}}}{{{oflc|}}}{{{adese|}}}{{{sell|}}}{{{cero|}}}{{{grb|}}}{{{csrr|}}}{{{esra|}}}{{{djctq|}}}{{{tectoy|}}}{{{vet|}}}{{{gsrr|}}}|content=
+
}}
 +
{{BobRowPlus
 +
| if={{{esrb|}}}{{{vrc|}}}{{{sega|}}}{{{pegi|}}}{{{elspa|}}}{{{bbfc|}}}{{{usk|}}}{{{oflc|}}}{{{adese|}}}{{{sell|}}}{{{cero|}}}{{{grb|}}}{{{csrr|}}}{{{esra|}}}{{{djctq|}}}{{{tectoy|}}}{{{vet|}}}{{{gsrr|}}}
 +
| content=
 
{{#if:{{{esrb|}}}|{{ESRB|{{{esrb}}}}}|}}{{#if:{{{vrc|}}}|{{VRC|{{{vrc}}}}}|}}{{#if:{{{sega|}}}|{{SegaRating|{{{sega}}}}}|}}{{#if:{{{pegi|}}}|{{PEGI|{{{pegi}}}}}|}}{{#if:{{{elspa|}}}|{{ELSPA|{{{elspa}}}}}|}}{{#if:{{{bbfc|}}}|{{BBFC|{{{bbfc}}}}}|}}{{#if:{{{usk|}}}|{{USK|{{{usk}}}}}|}}{{#if:{{{oflc|}}}|{{OFLC|{{{oflc}}}|{{{oflc2|}}}}}|}}{{#if:{{{adese|}}}|{{ADeSe|{{{adese}}}}}|}}{{#if:{{{sell|}}}|{{SELL|{{{sell}}}}}|}}{{#if:{{{cero|}}}|{{CERO|{{{cero}}}|{{{cero2|}}}}}|}}{{#if:{{{grb|}}}|{{GRB|{{{grb}}}}}|}}{{#if:{{{csrr|}}}|{{CSRR|{{{csrr}}}}}|}}{{#if:{{{esra|}}}|{{ESRA|{{{esra}}}}}|}}{{#if:{{{djctq|}}}|{{DJCTQ|{{{djctq}}}}}|}}{{#if:{{{tectoy|}}}|{{TectoyRating|{{{tectoy}}}}}|}}{{#if:{{{vet|}}}|{{VET|{{{vet}}}}}|}}{{#if:{{{gsrr|}}}|{{GSRR|{{{gsrr}}}}}|}}{{#if:{{{russia|}}}|{{RussiaRating|{{{russia}}}}}|}}{{#if:{{{ecb|}}}|{{ECB|{{{ecb}}}}}|}}{{#if:{{{czech|}}}|{{CzechRating|{{{czech}}}}}|}}{{#if:{{{oflcnz|}}}|{{OFLCNZ|{{{oflcnz}}}}}|}}{{#if:{{{fpb|}}}|{{FPB|{{{fpb}}}}}|}}{{#if:{{{gcam|}}}|{{GCAM|{{{gcam}}}}}|}}
 
{{#if:{{{esrb|}}}|{{ESRB|{{{esrb}}}}}|}}{{#if:{{{vrc|}}}|{{VRC|{{{vrc}}}}}|}}{{#if:{{{sega|}}}|{{SegaRating|{{{sega}}}}}|}}{{#if:{{{pegi|}}}|{{PEGI|{{{pegi}}}}}|}}{{#if:{{{elspa|}}}|{{ELSPA|{{{elspa}}}}}|}}{{#if:{{{bbfc|}}}|{{BBFC|{{{bbfc}}}}}|}}{{#if:{{{usk|}}}|{{USK|{{{usk}}}}}|}}{{#if:{{{oflc|}}}|{{OFLC|{{{oflc}}}|{{{oflc2|}}}}}|}}{{#if:{{{adese|}}}|{{ADeSe|{{{adese}}}}}|}}{{#if:{{{sell|}}}|{{SELL|{{{sell}}}}}|}}{{#if:{{{cero|}}}|{{CERO|{{{cero}}}|{{{cero2|}}}}}|}}{{#if:{{{grb|}}}|{{GRB|{{{grb}}}}}|}}{{#if:{{{csrr|}}}|{{CSRR|{{{csrr}}}}}|}}{{#if:{{{esra|}}}|{{ESRA|{{{esra}}}}}|}}{{#if:{{{djctq|}}}|{{DJCTQ|{{{djctq}}}}}|}}{{#if:{{{tectoy|}}}|{{TectoyRating|{{{tectoy}}}}}|}}{{#if:{{{vet|}}}|{{VET|{{{vet}}}}}|}}{{#if:{{{gsrr|}}}|{{GSRR|{{{gsrr}}}}}|}}{{#if:{{{russia|}}}|{{RussiaRating|{{{russia}}}}}|}}{{#if:{{{ecb|}}}|{{ECB|{{{ecb}}}}}|}}{{#if:{{{czech|}}}|{{CzechRating|{{{czech}}}}}|}}{{#if:{{{oflcnz|}}}|{{OFLCNZ|{{{oflcnz}}}}}|}}{{#if:{{{fpb|}}}|{{FPB|{{{fpb}}}}}|}}{{#if:{{{gcam|}}}|{{GCAM|{{{gcam}}}}}|}}
 
}}
 
}}
}}{{#if:{{{properties|}}}|{{{properties}}}|}}{{#if:{{{romsize|}}}|[[Category:Use romtable template]]|}}
+
}}{{#if:{{{properties|}}}|{{{properties}}}}}{{#if:{{{romsize|}}}|[[Category:Use romtable template]]}}
 
</div>
 
</div>
 
<div style="display:none;">
 
<div style="display:none;">
Line 57: Line 188:
 
| licensor= <!-- Non-game developers only -->
 
| licensor= <!-- Non-game developers only -->
 
| system=
 
| system=
| savesize=
 
 
| sounddriver=
 
| sounddriver=
 
| peripherals=
 
| peripherals=
Line 90: Line 220:
 
All fields except "bobscreen" are optional. See [[:Template:Releases]] for how to add individual releases and variants of the game.
 
All fields except "bobscreen" are optional. See [[:Template:Releases]] for how to add individual releases and variants of the game.
  
Compilation-only fields:
+
Compilation and port-only fields:
 
<pre>
 
<pre>
 
|originalpublishers=
 
|originalpublishers=
 
|originaldevelopers=
 
|originaldevelopers=
|gamecount=
+
|originalsystem=
 
|consolescompilation=
 
|consolescompilation=
 
</pre>
 
</pre>
Line 101: Line 231:
 
{{Bob
 
{{Bob
 
| bobscreen=NiGHTS title.png
 
| bobscreen=NiGHTS title.png
 +
| bobscreen2=NiGHTS title.png
 
| publisher=[[Sega]]
 
| publisher=[[Sega]]
 
| forcewidescreen=true
 
| forcewidescreen=true

Revision as of 18:34, 26 October 2018

n/a

Notavailable.svg
Bob

This template is to be used on articles about video games. Place the following at the top of a page:

{{Bob
| bobscreen=
| title=
| publisher=
| developer=
| distributor=
| licensor= <!-- Non-game developers only -->
| system=
| sounddriver=
| peripherals=
| players=
| genre=
| releases={{releases
...
}}
| vrc=
| sega=
| elspa=
| esrb=
| pegi=
| bbfc=
| usk=
| oflc=
| adese=
| sell=
| djctq=
| cero=
| grb=
| csrr=
| esra=
| tectoy=
| vet=
| russia=
| ecb=
| gcam=
}}

All fields except "bobscreen" are optional. See Template:Releases for how to add individual releases and variants of the game.

Compilation and port-only fields:

|originalpublishers=
|originaldevelopers=
|originalsystem=
|consolescompilation=

Tests

n/a

  • NiGHTS title.png
  • NiGHTS title.png

NiGHTS title.png

NiGHTS title.png

Bob
Publisher: Sega

n/a

Alex Kidd in Miracle World Title.png

Bob
Publisher: Sega

n/a

RevengeOfShinobi title.png

Bob
Publisher: Sega

n/a

CTCaR Title.png
Bob
Publisher: Sega

n/a

Periscope cabinet.jpg
Bob
Publisher: Sega