Difference between revisions of "ConsoleBob"

From Sega Retro

Line 1: Line 1:
{{#vardefine:type|2}}{{#if:{{{unlicensed|}}}|{{#vardefine:type|-1}}}}{{BobTable|
+
{{#vardefine:type|2}}{{#if:{{{unlicensed|}}}|{{#vardefine:type|-1}}}}{{BobTablePlus|
{{BobRow||{{{logos|}}}|align=center}}
+
{{BobRowPlus
{{BobRow||{{{consoleimage|}}}|align=center|default=[[File:Notavailable.svg]]|content=[[File:{{{consoleimage}}}|{{#if:{{{imgwidth|}}}|{{{imgwidth}}}|{{#if:{{{consoleimage2|}}}|160|320}}x240}}px]]{{#if:{{{consoleimage2|}}}|[[File:{{{consoleimage2}}}|{{#if:{{{imgwidth2|}}}|{{{imgwidth2}}}|160x240}}px]]|}}}}
+
| if={{{logos|}}}
{{BobRow||{{{name|}}}|default=Fast facts on {{PAGENAME}}|content=Fast facts on {{{name}}}|headline=yes|align=center}}
+
| content={{{logos|}}}
{{BobRow|Manufacturer|{{{maker|}}}}}
+
| align=center
{{BobRow|Distributor(s)|{{{distributor|}}}}}
+
}}
{{BobRow|Variants|{{{variants|}}}}}
+
{{BobRowPlus
{{BobRow|Add-ons|{{{add-ons|}}}}}
+
| if={{{consoleimage|}}}
<!-- {{BobRow|Main processor|{{{processor|}}}}} best covered in technical details? -->
+
| content=[[File:{{{consoleimage}}}|{{#if:{{{consoleimage2|}}}|160x240|320x240}}px]]{{#if:{{{consoleimage2|}}}|[[File:{{{consoleimage2|}}}|160x240px]]}}
{{BobRow|Built-in games|{{{internal_games|}}}}}
+
| default=[[File:Notavailable.svg]]
{{BobRow||{{{releases|}}}|align=center|content={{releasesHeader}}
+
| align=center
{{{releases}}}
+
}}
{{releasesEnd}}}}
+
{{BobRowPlus
 +
| if={{{name|}}}
 +
| headline=yes
 +
| content={{{name|}}}
 +
| default={{PAGENAME}}
 +
| align=center
 +
}}
 +
{{BobRowPlus
 +
| if={{{maker|}}}
 +
| title=Manufacturer
 +
| content={{{maker|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{distributor|}}}
 +
| title=Distributor(s)
 +
| content={{{distributor|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{variants|}}}
 +
| title=Variants
 +
| content={{{variants|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{add-ons|}}}
 +
| title=Add-ons
 +
| content={{{add-ons|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{internal_games|}}}
 +
| title=Built-in games
 +
| content={{{internal_games|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{releases|}}}
 +
| content={{releasesHeader}}
 +
{{{releases|}}}
 +
{{releasesEnd}}
 +
}}
 
}}{{#seo:
 
}}{{#seo:
 
  |og:image={{filepath:{{#if: {{{consoleimage|}}}|{{{consoleimage}}}|Notavailable.svg}}}}
 
  |og:image={{filepath:{{#if: {{{consoleimage|}}}|{{{consoleimage}}}|Notavailable.svg}}}}
Line 27: Line 64:
 
| logos=
 
| logos=
 
| consoleimage=
 
| consoleimage=
| imgwidth=
 
 
| name=
 
| name=
 
| maker=
 
| maker=
Line 40: Line 76:
 
</pre>
 
</pre>
  
All fields except "consoleimage" are optional.
+
All fields are optional.
  
 
[[Category:Breakout box templates]]</noinclude>
 
[[Category:Breakout box templates]]</noinclude>

Revision as of 22:14, 3 August 2018

Notavailable.svg
ConsoleBob

Usage

This template is to be used on articles about video game consoles. Place the following at the top of a page:

{{ConsoleBob
| logos=
| consoleimage=
| name=
| maker=
| distributor=
| variants=
| add-ons=
| internal_games=
| releases={{releases
...
}}
}}

All fields are optional.