Difference between revisions of "Bob"

From Sega Retro

(improvements for GB and GG games)
Line 7: Line 7:
 
| align=center
 
| align=center
 
| default=[[File:Notavailable.svg]]<includeonly>[[Category:No bob image]]</includeonly>
 
| default=[[File:Notavailable.svg]]<includeonly>[[Category:No bob image]]</includeonly>
| content=[[File:{{{image|}}}|320x240px]]
+
| content=[[File:{{{image|}}}|{{#ifexpr:{{#mediawidth:{{{image|}}}}}<320|{{#mediawidth:{{{image|}}}}}|320}}x240px]]
 
}}|
 
}}|
 
{{BobRowPlus
 
{{BobRowPlus
 
| if={{{bobscreen|}}}
 
| if={{{bobscreen|}}}
 
| align=center
 
| align=center
| default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>
+
| default=[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>
 
| content={{#if:{{{bobscreen2|}}}
 
| content={{#if:{{{bobscreen2|}}}
 
| {{tabs
 
| {{tabs
| icon1={{#if:{{{tab1|}}}|{{{tab1}}}|{{{bobscreen|}}}}}
+
| icon1={{#if:{{{tab1|}}}|{{{tab1|}}}|{{{bobscreen|}}}}}
| icon2={{#if:{{{tab2|}}}|{{{tab2}}}|{{{bobscreen2|}}}}}
+
| icon2={{#if:{{{tab2|}}}|{{{tab2|}}}|{{{bobscreen2|}}}}}
| icon3={{#if:{{{tab3|}}}|{{{tab3}}}|{{{bobscreen3|}}}}}
+
| icon3={{#if:{{{tab3|}}}|{{{tab3|}}}|{{{bobscreen3|}}}}}
| icon4={{#if:{{{tab4|}}}|{{{tab4}}}|{{{bobscreen4|}}}}}
+
| icon4={{#if:{{{tab4|}}}|{{{tab4|}}}|{{{bobscreen4|}}}}}
| icon5={{#if:{{{tab5|}}}|{{{tab5}}}|{{{bobscreen5|}}}}}
+
| icon5={{#if:{{{tab5|}}}|{{{tab5|}}}|{{{bobscreen5|}}}}}
| icon6={{#if:{{{tab6|}}}|{{{tab6}}}|{{{bobscreen6|}}}}}
+
| icon6={{#if:{{{tab6|}}}|{{{tab6|}}}|{{{bobscreen6|}}}}}
| icon7={{#if:{{{tab7|}}}|{{{tab7}}}|{{{bobscreen7|}}}}}
+
| icon7={{#if:{{{tab7|}}}|{{{tab7|}}}|{{{bobscreen7|}}}}}
| icon8={{#if:{{{tab8|}}}|{{{tab8}}}|{{{bobscreen8|}}}}}
+
| icon8={{#if:{{{tab8|}}}|{{{tab8|}}}|{{{bobscreen8|}}}}}
| icon9={{#if:{{{tab9|}}}|{{{tab9}}}|{{{bobscreen9|}}}}}
+
| icon9={{#if:{{{tab9|}}}|{{{tab9|}}}|{{{bobscreen9|}}}}}
| icon10={{#if:{{{tab10|}}}|{{{tab10}}}|{{{bobscreen10|}}}}}
+
| icon10={{#if:{{{tab10|}}}|{{{tab10|}}}|{{{bobscreen10|}}}}}
| content1={{bobscreen|{{{bobscreen|}}}|forcewidescreen={{{forcewidescreen1|}}}}}
+
| content1={{bobscreen|{{{bobscreen|}}}|forcewidescreen={{{forcewidescreen1|}}}|smsgg={{#switch:{{{tab1|}}}|Game Gear|{{GG}}={{{smsgg|}}}}}}}
| content2={{bobscreen|{{{bobscreen2|}}}|forcewidescreen={{{forcewidescreen2|}}}}}
+
| content2={{bobscreen|{{{bobscreen2|}}}|forcewidescreen={{{forcewidescreen2|}}}|smsgg={{#switch:{{{tab2|}}}|Game Gear|{{GG}}={{{smsgg|}}}}}}}
| content3={{#if:{{{bobscreen3|}}}|{{bobscreen|{{{bobscreen3|}}}|forcewidescreen={{{forcewidescreen3|}}}}}}}
+
| content3={{#if:{{{bobscreen3|}}}|{{bobscreen|{{{bobscreen3|}}}|forcewidescreen={{{forcewidescreen3|}}}}}|smsgg={{#switch:{{{tab3|}}}|Game Gear|{{GG}}={{{smsgg|}}}}}}}
| content4={{#if:{{{bobscreen4|}}}|{{bobscreen|{{{bobscreen4|}}}|forcewidescreen={{{forcewidescreen4|}}}}}}}
+
| content4={{#if:{{{bobscreen4|}}}|{{bobscreen|{{{bobscreen4|}}}|forcewidescreen={{{forcewidescreen4|}}}}}|smsgg={{#switch:{{{tab4|}}}|Game Gear|{{GG}}={{{smsgg|}}}}}}}
| content5={{#if:{{{bobscreen5|}}}|{{bobscreen|{{{bobscreen5|}}}|forcewidescreen={{{forcewidescreen5|}}}}}}}
+
| content5={{#if:{{{bobscreen5|}}}|{{bobscreen|{{{bobscreen5|}}}|forcewidescreen={{{forcewidescreen5|}}}}}|smsgg={{#switch:{{{tab5|}}}|Game Gear|{{GG}}={{{smsgg|}}}}}}}
| content6={{#if:{{{bobscreen6|}}}|{{bobscreen|{{{bobscreen6|}}}|forcewidescreen={{{forcewidescreen6|}}}}}}}
+
| content6={{#if:{{{bobscreen6|}}}|{{bobscreen|{{{bobscreen6|}}}|forcewidescreen={{{forcewidescreen6|}}}}}|smsgg={{#switch:{{{tab6|}}}|Game Gear|{{GG}}={{{smsgg|}}}}}}}
 
| content7={{#if:{{{bobscreen7|}}}|{{bobscreen|{{{bobscreen7|}}}|forcewidescreen={{{forcewidescreen7|}}}}}}}
 
| content7={{#if:{{{bobscreen7|}}}|{{bobscreen|{{{bobscreen7|}}}|forcewidescreen={{{forcewidescreen7|}}}}}}}
 
| content8={{#if:{{{bobscreen8|}}}|{{bobscreen|{{{bobscreen8|}}}|forcewidescreen={{{forcewidescreen8|}}}}}}}
 
| content8={{#if:{{{bobscreen8|}}}|{{bobscreen|{{{bobscreen8|}}}|forcewidescreen={{{forcewidescreen8|}}}}}}}
Line 39: Line 39:
 
| tabliststyle=margin:2px;
 
| tabliststyle=margin:2px;
 
}}
 
}}
| {{bobscreen|{{{bobscreen|}}}|forcewidescreen={{{forcewidescreen|}}}}}
+
| {{bobscreen|{{{bobscreen|}}}|forcewidescreen={{{forcewidescreen|}}}|smsgg={{#switch:{{{system|}}}|[[Sega Game Gear]]={{{smsgg|}}}}}}}
}}{{#switch:{{lc:{{fileext|{{{bobscreen|}}}}}}}|jpg|jpeg=[[Category:JPEG titlescreen]]}}
+
}}{{#switch:{{lc:{{fileext|{{{bobscreen|}}}}}}}|jpg|jpeg=[[Category:JPEG title screen]]}}
 
}}}}
 
}}}}
 
{{BobRowPlus
 
{{BobRowPlus
 
| if={{{title|}}}
 
| if={{{title|}}}
 
| default=''<span itemprop="name">{{PAGENAME}}</span>''
 
| default=''<span itemprop="name">{{PAGENAME}}</span>''
| content=''<span itemprop="name">{{{title}}}</span>''
+
| content=''<span itemprop="name">{{{title|}}}</span>''
 
| headline=yes
 
| headline=yes
 
| align=center
 
| align=center
Line 52: Line 52:
 
| if={{{icon|}}}
 
| if={{{icon|}}}
 
| align=right
 
| align=right
| content=[[File:{{{icon}}}|32x32px]]
+
| content=[[File:{{{icon|}}}|32x32px]]
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus
 
| if={{{system|}}}
 
| if={{{system|}}}
 
| title=System(s)
 
| title=System(s)
| content=<span itemprop="gamePlatform">{{{system}}}</span>{{#vardefine:systemfull|{{{system|}}}}}{{#if:{{#pos:{{{system}}}|,}}|{{#vardefine:multi|yes}}}}
+
| content=<span itemprop="gamePlatform">{{{system|}}}</span>{{#vardefine:systemfull|{{{system|}}}}}{{#if:{{#pos:{{{system|}}}|,}}|{{#vardefine:multi|yes}}}}
 
}}
 
}}
 
{{#vardefine:companyrole|Publisher}}{{BobRowPlus
 
{{#vardefine:companyrole|Publisher}}{{BobRowPlus
 
| if={{{publisher|}}}
 
| if={{{publisher|}}}
 
| title=Publisher
 
| title=Publisher
| content=<span itemprop="publisher">{{#if:{{#pos:{{{publisher|}}}|<}}|{{{publisher}}}|{{company|{{{publisher|}}}}}}}</span>
+
| content=<span itemprop="publisher">{{#if:{{#pos:{{{publisher|}}}|<}}|{{{publisher|}}}|{{company|{{{publisher|}}}}}}}</span>
 
}}
 
}}
 
{{#vardefine:companyrole|Developer}}{{BobRowPlus
 
{{#vardefine:companyrole|Developer}}{{BobRowPlus
 
| if={{{developer|}}}
 
| if={{{developer|}}}
 
| title=Developer
 
| title=Developer
| content=<span itemprop="author">{{#if:{{#pos:{{{developer|}}}|<}}|{{{developer}}}|{{company|{{{developer|}}}}}}}</span>
+
| content=<span itemprop="author">{{#if:{{#pos:{{{developer|}}}|<}}|{{{developer|}}}|{{company|{{{developer|}}}}}}}</span>
 
}}
 
}}
 
{{#vardefine:companyrole|Distributor}}{{BobRowPlus
 
{{#vardefine:companyrole|Distributor}}{{BobRowPlus
Line 126: Line 126:
 
| if={{{genre|}}}
 
| if={{{genre|}}}
 
| title=Genre
 
| title=Genre
| content=<span itemprop="genre">{{{genre}}}</span> {{genre2num|{{{genre}}}}}
+
| content=<span itemprop="genre">{{{genre|}}}</span> {{genre2num|{{{genre|}}}}}
 
}}
 
}}
 
{{BobRowPlus
 
{{BobRowPlus
Line 136: Line 136:
 
| if={{{players|}}}
 
| if={{{players|}}}
 
| title=Number of players
 
| title=Number of players
| content=<span itemprop="numberOfPlayers">{{{players}}}</span>{{PlayersCheck|{{{players}}}}}
+
| content=<span itemprop="numberOfPlayers">{{{players|}}}</span>{{PlayersCheck|{{{players|}}}}}
 
}}{{#if:{{{players|}}}||[[Category:No players field]]}}
 
}}{{#if:{{{players|}}}||[[Category:No players field]]}}
 
{{BobRowPlus
 
{{BobRowPlus
Line 148: Line 148:
 
| style=padding-left:0px; padding-right:0px;
 
| style=padding-left:0px; padding-right:0px;
 
| content={{releasesHeader}}
 
| content={{releasesHeader}}
{{{releases}}}
+
{{{releases|}}}
 
{{releasesEnd}}
 
{{releasesEnd}}
 
}}
 
}}
Line 157: Line 157:
 
}}
 
}}
 
}}{{
 
}}{{
#if:{{{properties|}}}|{{{properties}}}}}{{
+
#if:{{{properties|}}}|{{{properties|}}}}}{{
 
#if:{{{romsize|}}}|[[Category:Use romtable template]]}}{{
 
#if:{{{romsize|}}}|[[Category:Use romtable template]]}}{{
 
#if:{{{otherformats|}}}|{{{otherformats}}}|}}{{
 
#if:{{{otherformats|}}}|{{{otherformats}}}|}}{{
Line 165: Line 165:
 
<div style="display:none;">
 
<div style="display:none;">
 
{{#seo:
 
{{#seo:
  |image={{filepath:{{#if: {{{bobscreen|}}}|{{{bobscreen}}}|Notavailable.svg}}}}
+
  |image={{filepath:{{#if: {{{bobscreen|}}}|{{{bobscreen|}}}|Notavailable.svg}}}}
 
  |site_name=Sega Retro
 
  |site_name=Sega Retro
 
  |title={{PAGENAME}}
 
  |title={{PAGENAME}}
Line 210: Line 210:
 
{{Bob
 
{{Bob
 
| bobscreen=Alex Kidd in Miracle World Title.png
 
| bobscreen=Alex Kidd in Miracle World Title.png
 +
| bobscreen2=Alex Kidd in Miracle World Title.png
 +
| tab1={{SMS}}
 +
| tab2={{GG}}
 
| publisher=[[Sega]]
 
| publisher=[[Sega]]
 +
| smsgg=yes
 
}}
 
}}
 
{{Bob
 
{{Bob
| bobscreen=RevengeOfShinobi title.png
+
| image=AnBMnJ title.png
 
| publisher=[[Sega]]
 
| publisher=[[Sega]]
 
}}
 
}}

Revision as of 21:05, 8 June 2021

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
...
}}
}}

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=

Tests

n/a

  • NiGHTS title.png
  • NiGHTS title.png

NiGHTS title.png

NiGHTS title.png

Bob
Publisher: Sega
Developer:

n/a

  • Sega Master System
  • Sega Game Gear

Alex Kidd in Miracle World Title.png

Alex Kidd in Miracle World Title.png

Bob
Publisher: Sega

n/a

AnBMnJ title.png
Bob
Publisher: Sega

n/a

CTCaR Title.png

Bob
Publisher: Sega

n/a

Periscope cabinet.jpg
Bob
Publisher: Sega

n/a

BladeEagle title.png

Bob
Publisher: Sega