Difference between revisions of "ConsoleBob"
From NEC Retro
(Created page with "{{#vardefine:type|2}}{{BobTable| {{BobRow||{{{logos|}}}|align=center}} {{BobRow||{{{consoleimage|}}}|align=center|default=File:Notavailable.svg|content=File:{{{consoleim...") |
Ccawley2011 (talk | contribs) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{#vardefine:type|2}}{{ | + | {{#vardefine:type|2}}{{#if:{{{unlicensed|}}}|{{#vardefine:type|-1}}}}{{BobTablePlus| |
− | {{ | + | {{BobRowPlus |
− | {{ | + | | if={{{logo|}}} |
− | {{ | + | | content=[[File:{{{logo}}}|320x100px]] |
− | {{ | + | | align=center |
− | {{ | + | }} |
− | {{ | + | {{BobRowPlus |
− | {{ | + | | if={{{consoleimage|}}} |
− | {{ | + | | content=[[File:{{{consoleimage}}}|{{#if:{{{consoleimage2|}}}|160x240|320x240}}px]]{{#if:{{{consoleimage2|}}}|[[File:{{{consoleimage2|}}}|160x240px]]}} |
− | {{{ | + | | default=[[File:Notavailable.svg]] |
− | {{ | + | | align=center |
− | }}{{ | + | }} |
− | + | {{BobRowPlus | |
− | + | | if={{{name|}}} | |
− | + | | headline=yes | |
− | + | | content={{{name|}}} | |
− | + | | default={{PAGENAME}} | |
− | | | + | | align=center |
− | }}<noinclude> | + | }} |
+ | {{#vardefine:companyrole|Manufacturer}}{{BobRowPlus | ||
+ | | if={{{maker|}}} | ||
+ | | title=Manufacturer | ||
+ | | content={{#if:{{#pos:{{{maker|}}}|<}}|{{{maker}}}|{{company|{{{maker|}}}}}}} | ||
+ | }} | ||
+ | {{#vardefine:companyrole|Distributor}}{{BobRowPlus | ||
+ | | if={{{distributor|}}} | ||
+ | | title=Distributor | ||
+ | | content={{#if:{{#pos:{{{distributor|}}}|<}}|{{{distributor|}}}|{{company|{{{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}} | ||
+ | }} | ||
+ | }} | ||
+ | <div style="display:none;"> | ||
+ | {{#seo: | ||
+ | |image={{filepath:{{#if: {{{consoleimage|}}}|{{{consoleimage}}}|Notavailable.svg}}}} | ||
+ | |site_name=NEC Retro | ||
+ | |locale=en_GB | ||
+ | }}</div><noinclude> | ||
==Usage== | ==Usage== | ||
This template is to be used on articles about video game consoles. Place the following at the top of a page: | This template is to be used on articles about video game consoles. Place the following at the top of a page: | ||
Line 23: | Line 61: | ||
<pre> | <pre> | ||
{{ConsoleBob | {{ConsoleBob | ||
− | | | + | | logo= |
| consoleimage= | | consoleimage= | ||
− | |||
| name= | | name= | ||
| maker= | | maker= | ||
Line 31: | Line 68: | ||
| variants= | | variants= | ||
| add-ons= | | add-ons= | ||
+ | | internal_games= | ||
| releases={{releases | | releases={{releases | ||
− | + | ... | |
}} | }} | ||
}} | }} | ||
</pre> | </pre> | ||
− | All fields | + | All fields are optional. |
[[Category:Breakout box templates]]</noinclude> | [[Category:Breakout box templates]]</noinclude> |