Actions

Template

Difference between revisions of "Bob"

From NEC Retro

m
 
(23 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
<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}}{{BobTable|
{{BobRow||{{{bobscreen|}}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>|content={{bobscreen|{{{bobscreen}}}}}{{#ifeq: {{fileext|{{{bobscreen}}}}} | jpg | [[Category:JPEG titlescreen]] }}}}
+
{{BobRowPlus
 +
| if={{{bobscreen|}}}
 +
| align=center
 +
| default=[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>
 +
| content={{#if:{{{tab2|}}}
 +
| {{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|}}}}}
 +
| icon11={{#if:{{{tab11|}}}|{{{tab11|}}}|{{{bobscreen11|}}}}}
 +
| icon12={{#if:{{{tab12|}}}|{{{tab12|}}}|{{{bobscreen12|}}}}}
 +
| icon13={{#if:{{{tab13|}}}|{{{tab13|}}}|{{{bobscreen13|}}}}}
 +
| icon14={{#if:{{{tab14|}}}|{{{tab14|}}}|{{{bobscreen14|}}}}}
 +
| icon15={{#if:{{{tab15|}}}|{{{tab15|}}}|{{{bobscreen15|}}}}}
 +
| icon16={{#if:{{{tab16|}}}|{{{tab16|}}}|{{{bobscreen16|}}}}}
 +
| icon17={{#if:{{{tab17|}}}|{{{tab17|}}}|{{{bobscreen17|}}}}}
 +
| icon18={{#if:{{{tab18|}}}|{{{tab18|}}}|{{{bobscreen18|}}}}}
 +
| icon19={{#if:{{{tab19|}}}|{{{tab19|}}}|{{{bobscreen19|}}}}}
 +
| icon20={{#if:{{{tab20|}}}|{{{tab20|}}}|{{{bobscreen20|}}}}}
 +
| content1={{#if:{{{bobscreen|}}}|{{bobscreen|{{{bobscreen|}}}|forcewidescreen={{{forcewidescreen1|}}}|noresize={{{noresize1|}}}|smsgg={{#if:{{#pos:{{{tab1|}}}|Game Gear}}|{{{smsgg|}}}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content2={{#if:{{{bobscreen2|}}}|{{bobscreen|{{{bobscreen2|}}}|forcewidescreen={{{forcewidescreen2|}}}|noresize={{{noresize2|}}}|smsgg={{#if:{{#pos:{{{tab2|}}}|Game Gear}}|{{{smsgg|}}}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content3={{#if:{{{bobscreen3|}}}|{{bobscreen|{{{bobscreen3|}}}|forcewidescreen={{{forcewidescreen3|}}}|noresize={{{noresize3|}}}|smsgg={{#if:{{#pos:{{{tab3|}}}|Game Gear}}|{{{smsgg|}}}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content4={{#if:{{{bobscreen4|}}}|{{bobscreen|{{{bobscreen4|}}}|forcewidescreen={{{forcewidescreen4|}}}|noresize={{{noresize4|}}}|smsgg={{#if:{{#pos:{{{tab4|}}}|Game Gear}}|{{{smsgg|}}}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content5={{#if:{{{bobscreen5|}}}|{{bobscreen|{{{bobscreen5|}}}|forcewidescreen={{{forcewidescreen5|}}}|noresize={{{noresize5|}}}|smsgg={{#if:{{#pos:{{{tab5|}}}|Game Gear}}|{{{smsgg|}}}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content6={{#if:{{{bobscreen6|}}}|{{bobscreen|{{{bobscreen6|}}}|forcewidescreen={{{forcewidescreen6|}}}|noresize={{{noresize6|}}}|smsgg={{#if:{{#pos:{{{tab6|}}}|Game Gear}}|{{{smsgg|}}}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content7={{#if:{{{bobscreen7|}}}|{{bobscreen|{{{bobscreen7|}}}|forcewidescreen={{{forcewidescreen7|}}}|noresize={{{noresize7|}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content8={{#if:{{{bobscreen8|}}}|{{bobscreen|{{{bobscreen8|}}}|forcewidescreen={{{forcewidescreen8|}}}|noresize={{{noresize8|}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content9={{#if:{{{bobscreen9|}}}|{{bobscreen|{{{bobscreen9|}}}|forcewidescreen={{{forcewidescreen9|}}}|noresize={{{noresize9|}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content10={{#if:{{{bobscreen10|}}}|{{bobscreen|{{{bobscreen10|}}}|forcewidescreen={{{forcewidescreen10|}}}|noresize={{{noresize10|}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content11={{#if:{{{bobscreen11|}}}|{{bobscreen|{{{bobscreen11|}}}|forcewidescreen={{{forcewidescreen11|}}}|noresize={{{noresize11|}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content12={{#if:{{{bobscreen12|}}}|{{bobscreen|{{{bobscreen12|}}}|forcewidescreen={{{forcewidescreen12|}}}|noresize={{{noresize12|}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content13={{#if:{{{bobscreen13|}}}|{{bobscreen|{{{bobscreen13|}}}|forcewidescreen={{{forcewidescreen13|}}}|noresize={{{noresize13|}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content14={{#if:{{{bobscreen14|}}}|{{bobscreen|{{{bobscreen14|}}}|forcewidescreen={{{forcewidescreen14|}}}|noresize={{{noresize14|}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content15={{#if:{{{bobscreen15|}}}|{{bobscreen|{{{bobscreen15|}}}|forcewidescreen={{{forcewidescreen15|}}}|noresize={{{noresize15|}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content16={{#if:{{{bobscreen16|}}}|{{bobscreen|{{{bobscreen16|}}}|forcewidescreen={{{forcewidescreen16|}}}|noresize={{{noresize16|}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content17={{#if:{{{bobscreen17|}}}|{{bobscreen|{{{bobscreen17|}}}|forcewidescreen={{{forcewidescreen17|}}}|noresize={{{noresize17|}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content18={{#if:{{{bobscreen18|}}}|{{bobscreen|{{{bobscreen18|}}}|forcewidescreen={{{forcewidescreen18|}}}|noresize={{{noresize18|}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content19={{#if:{{{bobscreen19|}}}|{{bobscreen|{{{bobscreen19|}}}|forcewidescreen={{{forcewidescreen19|}}}|noresize={{{noresize19|}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| content20={{#if:{{{bobscreen20|}}}|{{bobscreen|{{{bobscreen20|}}}|forcewidescreen={{{forcewidescreen20|}}}|noresize={{{noresize20|}}}}}|[[File:Notavailable.svg]]<includeonly>[[Category:No title screen]]</includeonly>}}
 +
| orientation=horizontal
 +
| hidetitle=yes
 +
| tabliststyle=margin:2px;
 +
}}
 +
| {{bobscreen|{{{bobscreen|}}}|forcewidescreen={{{forcewidescreen|}}}|noresize={{{noresize|}}}|smsgg={{#switch:{{{system|}}}|[[Sega Game Gear]]={{{smsgg|}}}}}}}
 +
}}{{#switch:{{lc:{{fileext|{{{bobscreen|}}}}}}}|jpg|jpeg=[[Category:JPEG title screen]]}}
 +
}}
 
{{BobRow||{{{title|}}}|default=''<span itemprop="name">{{PAGENAME}}</span>''|content=''<span itemprop="name">{{{title}}}</span>''|headline=yes|align=center}}
 
{{BobRow||{{{title|}}}|default=''<span itemprop="name">{{PAGENAME}}</span>''|content=''<span itemprop="name">{{{title}}}</span>''|headline=yes|align=center}}
 
{{BobRow||{{{icon|}}}|align=right|content=[[File:{{{icon}}}|32px]]}}
 
{{BobRow||{{{icon|}}}|align=right|content=[[File:{{{icon}}}|32px]]}}
 +
{{BobRow||{{{system|}}}|content='''System(s)''': <span itemprop="gamePlatform">{{{system}}}</span>}}
 
{{BobRow||{{{publisher|}}}|content='''Publisher:''' <span itemprop="publisher">{{{publisher}}}</span>}}
 
{{BobRow||{{{publisher|}}}|content='''Publisher:''' <span itemprop="publisher">{{{publisher}}}</span>}}
 
{{BobRow||{{{developer|}}}|content='''Developer:''' <span itemprop="author">{{{developer}}}</span>}}
 
{{BobRow||{{{developer|}}}|content='''Developer:''' <span itemprop="author">{{{developer}}}</span>}}
 +
{{#vardefine:companyrole|Support}}{{BobRowPlus
 +
| if={{{support|}}}
 +
| title=Supporting companies
 +
| content=<span itemprop="author">{{#if:{{#pos:{{{support|}}}|<}}|{{{support|}}}|{{company|{{{support|}}}}}}}</span>
 +
}}
 +
{{BobRow|Brand|{{{brand|}}}}}
 
{{BobRow|Distributor|{{{distributor|}}}}}
 
{{BobRow|Distributor|{{{distributor|}}}}}
{{BobRow|Publisher(s) of original games|{{{originalpublishers|}}}}}
+
{{BobRow|Licensor|{{{licensor|}}}}}
 
{{BobRow|Developer(s) of original games|{{{originaldevelopers|}}}}}
 
{{BobRow|Developer(s) of original games|{{{originaldevelopers|}}}}}
 
{{BobRow|Game total|{{{gamecount|}}}}}
 
{{BobRow|Game total|{{{gamecount|}}}}}
{{BobRow||{{{system|}}}|content='''System(s)''': <span itemprop="gamePlatform">{{{system}}}</span>}}
 
 
{{BobRow|Original system(s)|{{{originalsystem|}}}}}
 
{{BobRow|Original system(s)|{{{originalsystem|}}}}}
 
{{BobRow|Save file size|{{{savesize|}}}}}
 
{{BobRow|Save file size|{{{savesize|}}}}}
 
{{BobRow|Sound driver|{{{sounddriver|}}}}}
 
{{BobRow|Sound driver|{{{sounddriver|}}}}}
{{BobRow|Peripherals supported|{{{peripherals|}}}}}
+
{{BobRow|Peripherals supported|{{#if:{{{peripherals|}}}|{{AccessoryCategoryCheck|{{{peripherals|}}}}}{{{peripherals|}}}}}}}
 
{{BobRow||{{{genre|}}}|content='''Genre''': <span itemprop="genre">{{{genre}}}</span> {{genre2num|{{{genre}}}}}}}
 
{{BobRow||{{{genre|}}}|content='''Genre''': <span itemprop="genre">{{{genre}}}</span> {{genre2num|{{{genre}}}}}}}
 
{{BobRow|Series|{{{series|}}}}}
 
{{BobRow|Series|{{{series|}}}}}
{{BobRow||{{{players|}}}|content='''Number of players''': <span itemprop="numberOfPlayers">{{{players}}}</span>}}
+
{{BobRow||{{{players|}}}|content='''Number of players''': <span itemprop="numberOfPlayers">{{{players}}}</span>{{PlayersCheck|{{{players|}}}}}
 +
}}{{#if:{{{players|}}}||[[Category:No players field]]}}
 +
{{BobRow|Official in-game languages|{{{languages|}}}}}
 
{{BobRow||{{{releases|}}}|align=center|content={{releasesHeader}}
 
{{BobRow||{{{releases|}}}|align=center|content={{releasesHeader}}
 
{{{releases}}}
 
{{{releases}}}
 
{{releasesEnd}}}}
 
{{releasesEnd}}}}
 +
{{BobRowPlus
 +
| if={{{otherformats|}}}
 +
| style=padding-left:0px; padding-right:0px;
 +
| title=
 +
| content={{{otherformats}}}
 +
}}
 
{{BobRow||{{{esrb|}}}{{{pegi|}}}{{{elspa|}}}{{{bbfc|}}}{{{usk|}}}{{{oflc|}}}{{{adese|}}}{{{sell|}}}{{{cero|}}}{{{grb|}}}{{{csrr|}}}{{{esra|}}}{{{djctq|}}}{{{vet|}}}{{{gsrr|}}}|content=
 
{{BobRow||{{{esrb|}}}{{{pegi|}}}{{{elspa|}}}{{{bbfc|}}}{{{usk|}}}{{{oflc|}}}{{{adese|}}}{{{sell|}}}{{{cero|}}}{{{grb|}}}{{{csrr|}}}{{{esra|}}}{{{djctq|}}}{{{vet|}}}{{{gsrr|}}}|content=
 
{{#if:{{{esrb|}}}|{{ESRB|{{{esrb}}}}}|}}{{#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:{{{vet|}}}|{{VET|{{{vet}}}}}|}}{{#if:{{{gsrr|}}}|{{GSRR|{{{gsrr}}}}}|}}
 
{{#if:{{{esrb|}}}|{{ESRB|{{{esrb}}}}}|}}{{#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:{{{vet|}}}|{{VET|{{{vet}}}}}|}}{{#if:{{{gsrr|}}}|{{GSRR|{{{gsrr}}}}}|}}
 
}}
 
}}
 
}}{{
 
}}{{
#if:{{NAMESPACE}}||[[Category:All games]]}}
+
#if:{{{properties|}}}|{{{properties|}}}|[[Category:No properties]]}}{{
 +
#if:{{NAMESPACE}}||[[Category:All games]]{{#if:{{{genre|}}}||[[Category:No genre]]}}{{#if:{{{otherformats|}}}||[[Category:No non-NEC versions]]}}}}
 
</div>
 
</div>
 
<div style="display:none;">
 
<div style="display:none;">
Line 37: Line 104:
 
  |twitter:image:src={{filepath:{{#if: {{{bobscreen|}}}|{{{bobscreen}}}|Notavailable.svg}}}}
 
  |twitter:image:src={{filepath:{{#if: {{{bobscreen|}}}|{{{bobscreen}}}|Notavailable.svg}}}}
 
  }}</div><noinclude>
 
  }}</div><noinclude>
 +
{{TODO}}
 
This template is to be used on articles about video games. Place the following at the top of a page:
 
This template is to be used on articles about video games. Place the following at the top of a page:
  
Line 45: Line 113:
 
| publisher=
 
| publisher=
 
| developer=
 
| developer=
 +
| support=
 
| distributor=
 
| distributor=
 +
| licensor= <!-- Non-game developers only -->
 
| system=
 
| system=
 
| savesize=
 
| savesize=
 
| sounddriver=
 
| sounddriver=
 
| peripherals=
 
| peripherals=
 +
| genre=
 
| players=
 
| players=
| genre=
+
| languages={{LanguageList|xx}}
 
| releases={{releases
 
| releases={{releases
 
...
 
...
 
}}
 
}}
| elspa=
+
| otherformats={{NonNEC|xx}}
| esrb=
 
| pegi=
 
| bbfc=
 
| usk=
 
| oflc=
 
| adese=
 
| sell=
 
| djctq=
 
| cero=
 
| grb=
 
| csrr=
 
| esra=
 
| vet=
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 76: Line 134:
 
Compilation and port-only fields:
 
Compilation and port-only fields:
 
<pre>
 
<pre>
| originalpublishers=
 
 
| originaldevelopers=
 
| originaldevelopers=
 +
| gamecount=
 
| originalsystem=
 
| originalsystem=
 
</pre>
 
</pre>
 +
 +
 +
For multiple title screens (e.g. different versions and regions), add these fields:
 +
<pre>
 +
| bobscreen2=
 +
| bobscreen3=
 +
| bobscreen4=
 +
| tab1=
 +
| tab2=
 +
| tab3=
 +
| tab4=
 +
</pre>
 +
 +
Currently, up to 20 title screens may be added.
  
 
[[Category:Breakout box templates]]</noinclude>
 
[[Category:Breakout box templates]]</noinclude>

Latest revision as of 20:14, 5 June 2024

n/a

Notavailable.svg
Bob

{{#seo:

|og:image=https://necretro.org/images/0/0b/Notavailable.svg
|og:site_name=NEC Retro
|title=Bob
|twitter:card=summary_large_image
|twitter:image:src=https://necretro.org/images/0/0b/Notavailable.svg
}}
48
This task is unfinished
This is a wiki task that requires more thought or peer review. An important issue that needs to be solved, which will appear at the top of NEC Retro:Todo until this message is removed.

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=
| support=
| distributor=
| licensor= <!-- Non-game developers only -->
| system=
| savesize=
| sounddriver=
| peripherals=
| genre=
| players=
| languages={{LanguageList|xx}}
| releases={{releases
...
}}
| otherformats={{NonNEC|xx}}
}}

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:

| originaldevelopers=
| gamecount=
| originalsystem=


For multiple title screens (e.g. different versions and regions), add these fields:

| bobscreen2=
| bobscreen3=
| bobscreen4=
| tab1=
| tab2=
| tab3=
| tab4=

Currently, up to 20 title screens may be added.