Actions

Template

Difference between revisions of "Bob"

From Sonic Retro

(if Sega Retro is moving away from "romsize=" in favour of the Romtable template then I guess Sonic Retro should too)
(251 intermediate revisions by 18 users not shown)
Line 1: Line 1:
 +
<div itemscope itemtype="http://schema.org/VideoGame">
 +
<link itemprop="applicationCategory" href="http://schema.org/GameApplication"/>
 +
<span itemprop="operatingSystem" style="display:none">n/a</span>
 +
{{#vardefine:type|0}}{{#vardefine:genre|0}}{{BobTable|
 +
{{BobRow||{{{bobscreen|}}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>|content={{#if: {{{bobscreen2|}}} |
 +
{{tabs
 +
| hidetitle=yes
 +
| instant=yes
 +
| style=border:none; padding:0px;
 +
| orientation=horizontal
 +
| width=320px
 +
| icon1={{{tab1|Image 1}}}
 +
| icon2={{{tab2|Image 2}}}
 +
| icon3={{#if:{{{bobscreen3|}}}|{{{tab3|Image 3}}}}}
 +
| content1={{bobscreen|{{{bobscreen}}}}}
 +
| content2={{bobscreen|{{{bobscreen2}}}}}
 +
| content3={{#if:{{{bobscreen3|}}}|{{bobscreen|{{{bobscreen3}}}}}}}
 +
}}
 +
|{{bobscreen|{{{bobscreen}}}}}}}{{#ifeq: {{fileext|{{{bobscreen}}}}} | jpg | [[Category:JPEG titlescreen]] }}}}
 +
{{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||{{{publisher|}}}|content='''Publisher:''' <span itemprop="publisher">{{{publisher}}}</span>}}
 +
{{BobRow||{{{developer|}}}|content='''Developer:''' <span itemprop="author">{{{developer}}}</span>}}
 +
{{BobRow|Distributor|{{{distributor|}}}}}
 +
{{BobRow|Publisher(s) of original games|{{{originalpublishers|}}}}}
 +
{{BobRow|Developer(s) of original games|{{{originaldevelopers|}}}}}
 +
{{BobRow|Game total|{{{gamecount|}}}}}
 +
{{BobRow||{{{system|}}}|content='''System(s)''': <span itemprop="gamePlatform">{{{system}}}</span>}}
 +
{{BobRow|Original system(s)|{{{consolescompilation|}}}}}
 +
{{BobRow||{{{romsize|}}}|content='''ROM size''': <span itemprop="fileSize">{{{romsize}}}</span>}}
 +
{{#if: {{{romsize|}}}|<includeonly>[[Category:Use romtable template]]</includeonly> }}
 +
{{BobRow|Save file size|{{{savesize|}}}}}
 +
{{BobRow|Sound driver|{{{sounddriver|}}}}}
 +
{{BobRow|Peripherals supported|{{{peripherals|}}}}}
 +
{{BobRow||{{{genre|}}}|content='''Genre''': <span itemprop="genre">{{{genre}}}</span>}}
 +
{{BobRow|Series|{{{series|}}}}}
 +
{{BobRow||{{{players|}}}|content='''Number of players''': <span itemprop="numberOfPlayers">{{{players}}}</span>}}
 +
{{#if:{{{players|}}}| |<includeonly>[[Category:No players field]]</includeonly>}}
 +
{{BobRow||{{{releases|}}}|nomargin=yes|align=center|content={{releasesHeader}}
 +
{{{releases}}}
 +
{{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:{{{gcam|}}}|{{GCAM|{{{gcam}}}}}|}}
 +
}}
 +
}}
 +
</div>
 +
<div style="display:none;">
 +
{{#seo:
 +
|og:image={{filepath:{{#if: {{{bobscreen|}}}|{{{bobscreen}}}|Notavailable.svg}}}}
 +
|og:site_name=Sonic Retro
 +
|title={{PAGENAME}}
 +
|twitter:card=summary_large_image
 +
|twitter:site=@sonicretro
 +
|twitter:image:src={{filepath:{{#if: {{{bobscreen|}}}|{{{bobscreen}}}|Notavailable.svg}}}}
 +
}}</div><noinclude>
 +
This template is to be used on articles about video games. Place the following at the top of a page:
  
{|cellpadding="0" cellspacing="0" style="padding: 0.3em; float:right; margin-left:15px; border: 1px solid #999; border-right-width: 2px; border-bottom-width: 2px; background:#f4f4ff; text-align:left"
+
<pre>
| [[Image:{{{bobscreen}}}]]
+
{{Bob
|-
+
| bobscreen=
|style="padding: 0.3em; font-family: sans-serif; font-size: 0.9em; background-color: #ccf"| '''Fast Facts on {{{PAGENAME}}}'''
+
| title=
|-
+
| publisher=
|style="padding: 0.3em; line-height: 1.5em" |
+
| developer=
:'''Publisher''': [[{{{publisher}}}]]
+
| distributor=
:'''Developer''': [[{{{developer}}}]]
+
| system=
:'''System''': [[{{{system}}}]]
+
| savesize=
:'''Released in  EU''': {{{europe}}}
+
| sounddriver=
:'''Released in US''': {{{usa}}}
+
| peripherals=
:'''Released in JP''': {{{japan}}}
+
| players=
|-
+
| genre=
|style="padding: 0.3em; font-family: sans-serif; font-size: 0.8em; background-color: #ccf"| See also...
+
| releases={{releases
|-
+
...
|style="padding: 0.3em; line-height: 1.5em"|
+
}}
:[[{{{seealso}}}]]
+
| vrc=
|}
+
| sega=
 +
| elspa=
 +
| esrb=
 +
| pegi=
 +
| bbfc=
 +
| usk=
 +
| oflc=
 +
| adese=
 +
| sell=
 +
| djctq=
 +
| cero=
 +
| grb=
 +
| csrr=
 +
| esra=
 +
| tectoy=
 +
| vet=
 +
| gcam=
 +
}}
 +
</pre>
 +
 
 +
All fields except "bobscreen" are optional. See [[:Template:Releases]] for how to add individual releases and variants of the game.
 +
 
 +
Compilation-only fields:
 +
<pre>
 +
|originalpublishers=
 +
|originaldevelopers=
 +
|gamecount=
 +
|consolescompilation=
 +
</pre>
 +
[[Category:Breakout box templates]]</noinclude>

Revision as of 13:34, 15 February 2020

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=
| system=
| savesize=
| sounddriver=
| peripherals=
| players=
| genre=
| releases={{releases
...
}}
| vrc=
| sega=
| elspa=
| esrb=
| pegi=
| bbfc=
| usk=
| oflc=
| adese=
| sell=
| djctq=
| cero=
| grb=
| csrr=
| esra=
| tectoy=
| vet=
| gcam=
}}

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

Compilation-only fields:

|originalpublishers=
|originaldevelopers=
|gamecount=
|consolescompilation=