Actions

Template

Difference between revisions of "Bob"

From Sega Retro

(39 intermediate revisions by 2 users not shown)
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|
{{BobRow||{{{bobscreen|}}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>|content={{bobscreenMulti|{{{bobscreen|}}}|{{{bobscreen2|}}}|{{{bobscreen3|}}}|{{{bobscreen4|}}}|{{{bobscreen5|}}}|{{{bobscreen6|}}}|{{{bobscreen7|}}}|{{{bobscreen8|}}}|{{{bobscreen9|}}}|{{{bobscreen10|}}}|width=320}}{{#ifeq: {{fileext|{{{bobscreen}}}}} | jpg | [[Category:JPEG titlescreen]] }}}}
+
{{#if:{{{image|}}}|{{BobRowPlus
{{BobRow||{{{title|}}}|default=''<span itemprop="name">{{PAGENAME}}</span>''|content=''<span itemprop="name">{{{title}}}</span>''|headline=yes|align=center}}
+
| if={{{image|}}}
{{BobRow||{{{icon|}}}|align=right|content=[[File:{{{icon}}}|32px]]}}
+
| align=center
{{BobRow||{{{publisher|}}}|content='''Publisher:''' <span itemprop="publisher">{{{publisher}}}</span>}}
+
| default=[[File:Notavailable.svg]]<includeonly>[[Category:No bob image]]</includeonly>
{{BobRow||{{{developer|}}}|content='''Developer:''' <span itemprop="author">{{{developer}}}</span>}}
+
| content=[[File:{{{image|}}}|320x240px]]
{{BobRow|Distributor|{{{distributor|}}}}}
+
}}|
{{BobRow|Licensor|{{{licensor|}}}}}
+
{{BobRowPlus
{{BobRow|Publisher(s) of original games|{{{originalpublishers|}}}}}
+
| if={{{bobscreen|}}}
{{BobRow|Developer(s) of original games|{{{originaldevelopers|}}}}}
+
| align=center
{{BobRow|Game total|{{{gamecount|}}}}}
+
| default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>
{{BobRow||{{{system|}}}|content='''System(s)''': <span itemprop="gamePlatform">{{{system}}}</span>}}
+
| content={{#vardefine:bobscreenwidth|{{#ifexpr:{{#mediawidth:{{{bobscreen|}}}}}>320|320|}}}}{{#vardefine:forcewidescreen|{{{forcewidescreen|}}}}}{{#if:{{{bobscreen2|}}}
{{BobRow|Original system(s)|{{{consolescompilation|}}}}}
+
| {{tabs
{{BobRow|Save file size|{{{savesize|}}}}}
+
| icon1={{#if:{{{tab1|}}}|{{{tab1}}}|{{{bobscreen|}}}}}
{{BobRow|Sound driver|{{{sounddriver|}}}}}
+
| icon2={{#if:{{{tab2|}}}|{{{tab2}}}|{{{bobscreen2|}}}}}
{{BobRow|Peripherals supported|{{{peripherals|}}}}}
+
| icon3={{#if:{{{tab3|}}}|{{{tab3}}}|{{{bobscreen3|}}}}}
{{BobRow||{{{genre|}}}|content='''Genre''': <span itemprop="genre">{{{genre}}}</span> {{genre2num|{{{genre}}}}}}}
+
| icon4={{#if:{{{tab4|}}}|{{{tab4}}}|{{{bobscreen4|}}}}}
{{BobRow|Series|{{{series|}}}}}
+
| icon5={{#if:{{{tab5|}}}|{{{tab5}}}|{{{bobscreen5|}}}}}
{{BobRow||{{{players|}}}|content='''Number of players''': <span itemprop="numberOfPlayers">{{{players}}}</span>}}
+
| icon6={{#if:{{{tab6|}}}|{{{tab6}}}|{{{bobscreen6|}}}}}
{{BobRow||{{{releases|}}}|align=center|content={{releasesHeader}}
+
| 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>{{#vardefine:systemfull|{{{system|}}}}}{{#if:{{#pos:{{{system}}}|,}}|{{#vardefine:multi|yes}}}}
 +
}}
 +
{{#vardefine:companyrole|Publisher}}{{BobRowPlus
 +
| if={{{publisher|}}}
 +
| title=Publisher
 +
| content=<span itemprop="publisher">{{#if:{{#pos:{{{publisher|}}}|<div}}|{{{publisher}}}|{{company|{{{publisher|}}}}}}}</span>
 +
}}
 +
{{#vardefine:companyrole|Developer}}{{BobRowPlus
 +
| if={{{developer|}}}
 +
| title=Developer
 +
| content=<span itemprop="author">{{#if:{{#pos:{{{developer|}}}|<div}}|{{{developer}}}|{{company|{{{developer|}}}}}}}</span>
 +
}}
 +
{{#vardefine:companyrole|Distributor}}{{BobRowPlus
 +
| if={{{distributor|}}}
 +
| title=Distributor
 +
| content={{#if:{{#pos:{{{distributor|}}}|<div}}|{{{distributor|}}}|{{company|{{{distributor|}}}}}}}
 +
}}
 +
{{#vardefine:companyrole|Licensor}}{{BobRowPlus
 +
| if={{{licensor|}}}
 +
| title=Licensor
 +
| content={{#if:{{#pos:{{{licensor|}}}|<div}}|{{{licensor|}}}|{{company|{{{licensor|}}}}}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{publishertest|}}}
 +
| content={{{!}}class="breakout"
 +
!Publisher(s)
 +
!Developer(s)
 +
{{!}}-
 +
{{!}}style="vertical-align:top;"{{!}}{{{publishertest|}}}
 +
{{!}}style="vertical-align:top;"{{!}}{{{developertest|}}}
 +
{{!}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{originalsystem|}}}
 +
| title=Original system(s)
 +
| content={{{originalsystem|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{originalpublishers|}}}
 +
| title=Publisher(s) of original games
 +
| content={{{originalpublishers|}}}[[Category:Original publishers field]]
 +
}}
 +
{{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|}}}{{SoundStore
 +
| name={{#titleparts:{{PAGENAME}}}}
 +
| format=
 +
| driver={{delink|{{Stripformat|{{{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=
 
{{#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}}}}}|}}
 
 
}}
 
}}
 +
{{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:{{{properties|}}}|{{{properties}}}}}{{#if:{{{romsize|}}}|[[Category:Use romtable template]]}}{{#if:{{{otherformats|}}}|{{{otherformats}}}|}}
 
</div>
 
</div>
 
<div style="display:none;">
 
<div style="display:none;">
Line 47: Line 176:
 
| developer=
 
| developer=
 
| distributor=
 
| distributor=
| licensor=
+
| licensor= <!-- Non-game developers only -->
 
| system=
 
| system=
| savesize=
 
 
| sounddriver=
 
| sounddriver=
 
| peripherals=
 
| peripherals=
Line 76: Line 204:
 
| russia=
 
| russia=
 
| ecb=
 
| ecb=
 +
| gcam=
 
}}
 
}}
 
</pre>
 
</pre>
Line 81: Line 210:
 
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>
 +
 +
==Tests==
 +
{{Bob
 +
| bobscreen=NiGHTS title.png
 +
| bobscreen2=NiGHTS title.png
 +
| publisher=[[Sega]]
 +
| developer=[[Sonic Team]]
 +
| forcewidescreen=true
 +
}}
 +
{{Bob
 +
| bobscreen=Alex Kidd in Miracle World Title.png
 +
| publisher=[[Sega]]
 +
}}
 +
{{Bob
 +
| bobscreen=RevengeOfShinobi title.png
 +
| publisher=[[Sega]]
 +
}}
 +
{{Bob
 +
| image=CTCaR Title.png
 +
| publisher=[[Sega]]
 +
}}
 +
{{Bob
 +
| image=Periscope cabinet.jpg
 +
| publisher=[[Sega]]
 +
}}
 +
 
[[Category:Breakout box templates]]</noinclude>
 
[[Category:Breakout box templates]]</noinclude>

Revision as of 08:39, 30 November 2019

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:
Developer:

n/a

Alex Kidd in Miracle World Title.png
Bob
Publisher:

n/a

RevengeOfShinobi title.png
Bob
Publisher:

n/a

CTCaR Title.png
Bob
Publisher:

n/a

Periscope cabinet.jpg
Bob
Publisher: