Difference between revisions of "Bob"

From Sega Retro

Line 5: Line 5:
 
{{#if:{{{image|}}}
 
{{#if:{{{image|}}}
 
|{{BobRow||{{image|}}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No bob image]]</includeonly>|content=[[File:{{{image|}}}|320x320px]]}}
 
|{{BobRow||{{image|}}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No bob image]]</includeonly>|content=[[File:{{{image|}}}|320x320px]]}}
|{{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]] }}}}
+
|{{BobRow||{{{bobscreen|}}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>|content={{#if:{{{bobscreen2|}}}
 +
|{{bobscreenMulti|{{{bobscreen|}}}|{{{bobscreen2|}}}|{{{bobscreen3|}}}|{{{bobscreen4|}}}|{{{bobscreen5|}}}|{{{bobscreen6|}}}|{{{bobscreen7|}}}|{{{bobscreen8|}}}|{{{bobscreen9|}}}|{{{bobscreen10|}}}|width=320}}
 +
|{{bobscreen|{{{bobscreen|}}}|{{#ifexpr:{{#mediawidth:{{{bobscreen|}}}}}>320|width=320|}}}}{{#if: {{#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||{{{title|}}}|default=''<span itemprop="name">{{PAGENAME}}</span>''|content=''<span itemprop="name">{{{title}}}</span>''|headline=yes|align=center}}
Line 93: Line 96:
 
|consolescompilation=
 
|consolescompilation=
 
</pre>
 
</pre>
 +
 +
==Tests==
 +
{{Bob
 +
| bobscreen=NiGHTS title.png
 +
| publisher=[[Sega]]
 +
}}
 +
{{Bob
 +
| bobscreen=Alex Kidd in Miracle World Title.png
 +
| publisher=[[Sega]]
 +
}}
 +
{{Bob
 +
| bobscreen=RevengeOfShinobi title.png
 +
| publisher=[[Sega]]
 +
}}
 +
 
[[Category:Breakout box templates]]</noinclude>
 
[[Category:Breakout box templates]]</noinclude>

Revision as of 06:37, 7 July 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=
| savesize=
| 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=
}}

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=

Tests

n/a

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