Actions

Template

Difference between revisions of "AccessoryBob"

From NEC Retro

(Created page with "<noinclude>{{cleanup}}</noinclude>{{#vardefine:type|1}}{{BobTable| {{BobRow||{{{logos|}}}|align=center}} {{BobRow||{{{accessoryimage|}}}|default=File:Notavailable.svg|cont...")
 
 
Line 1: Line 1:
<noinclude>{{cleanup}}</noinclude>{{#vardefine:type|1}}{{BobTable|
+
<noinclude>{{cleanup}}</noinclude>{{#vardefine:type|1}}
{{BobRow||{{{logos|}}}|align=center}}
+
{{BobTablePlus|
{{BobRow||{{{accessoryimage|}}}|default=[[File:Notavailable.svg]]|content=[[File:{{{accessoryimage}}}|{{#if:{{{imgwidth|}}}|{{{imgwidth}}}|320x240}}px]]|align=center}}
+
{{BobRowPlus
{{BobRow||{{{accessoryprogramscreen|}}}|content=[[File:{{{accessoryprogramscreen}}}]]|align=center}}
+
| if={{{accessoryimage|}}}{{{accessoryprogramscreen|}}}
{{BobRow||{{{title|}}}|default=Fast facts on the {{PAGENAME}}|content=Fast facts on the {{{title}}}|headline=yes|align=center}}
+
| content={{#if: {{{accessoryprogramscreen|}}}
{{BobRow|Manufacturer|{{{maker|}}}}}
+
| {{tabs
{{BobRow|Distributor|{{{distributor|}}}}}
+
| icon1=Accessory
{{BobRow|Made for|{{{madefor|}}}}}
+
| icon2=Program
{{BobRow|Size of program ROM|{{{romsize|}}}}}
+
| content1={{#if:{{{accessoryimage|}}}|[[File:{{{accessoryimage}}}|320x240px]]|[[File:Notavailable.svg]]}}
{{BobRow||{{{releases|}}}|content={{releasesHeader}}
+
| content2={{bobscreen|{{{accessoryprogramscreen|}}}}}
 +
| orientation=horizontal
 +
| hidetitle=yes
 +
| tabliststyle=margin:2px;
 +
}}
 +
| [[File:{{{accessoryimage}}}|320x240px]]
 +
}}
 +
| default=[[File:Notavailable.svg]]
 +
| align=center
 +
}}
 +
{{BobRowPlus
 +
| if={{{title|}}}
 +
| headline=yes
 +
| content={{{title|}}}
 +
| default={{PAGENAME}}
 +
| align=center
 +
}}
 +
{{BobRowPlus
 +
| if={{{madefor|}}}
 +
| title=Made for
 +
| content={{{madefor|}}}{{#vardefine:systemfull|{{{madefor|}}}}}{{#if:{{#pos:{{{madefor}}}|,}}|{{#vardefine:multi|yes}}}}
 +
}}
 +
{{#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|}}}}}}}
 +
}}
 +
{{#vardefine:companyrole|Licensor}}{{BobRowPlus
 +
| if={{{licensor|}}}
 +
| title=Licensor
 +
| content={{#if:{{#pos:{{{licensor|}}}|<}}|{{{licensor|}}}|{{company|{{{licensor|}}}}}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{type|}}}
 +
| title=Type
 +
| content={{{type|}}}
 +
| default=
 +
}}{{#if:{{{type|}}}||[[Category:Accessory with missing type]]}}
 +
{{BobRowPlus
 +
| if={{{releases|}}}
 +
| content={{releasesHeader}}
 
{{{releases}}}
 
{{{releases}}}
{{releasesEnd}}}}
+
{{releasesEnd}}
}}<noinclude>
+
}}
 +
}}
 +
<!--{{#seo:
 +
|image={{filepath:{{#if: {{{bookimage|}}}|{{{bookimage}}}|Notavailable.svg}}}}
 +
|locale=en_GB
 +
|site_name=NEC Retro
 +
|type=article
 +
}}--><noinclude>
 +
{{TODO}}
 
==Usage==
 
==Usage==
 
This template is to be used on articles about video game console accessories. Place the following at the top of a page:
 
This template is to be used on articles about video game console accessories. Place the following at the top of a page:
Line 18: Line 71:
 
{{AccessoryBob
 
{{AccessoryBob
 
| accessoryimage=
 
| accessoryimage=
| imgwidth=
 
 
| accessoryprogramscreen=
 
| accessoryprogramscreen=
 
| title=
 
| title=
 
| maker=
 
| maker=
 +
| type=
 
| madefor=
 
| madefor=
| romsize=
 
 
| releases={{releases
 
| releases={{releases
 
...
 
...
Line 30: Line 82:
 
</pre>
 
</pre>
  
All fields except "accessoryimage" are optional.
+
All fields except "accessoryimage" are optional. <!-- For "madefor" and "alsoworks," things explicitly advertised as working with an accessory should go into "madefor" and anything else should go into "alsoworks." For example, the [[SH-400]] is explicitly said to work with the [http://sega.jp/fb/segahard/sc3000/peri.html SC-3000], [http://sega.jp/fb/segahard/sg1000/peri.html SG-1000], and [http://sega.jp/fb/segahard/sg1000_2/peri.html SG-1000 II], but also works with the [[Sega Mark III]], [[Sega Master System]], and [[Sega Mega Drive]]. -->
  
 
[[Category:Breakout box templates]]</noinclude>
 
[[Category:Breakout box templates]]</noinclude>

Latest revision as of 18:56, 31 December 2021

48
This article needs cleanup.
This article needs to be edited to conform to a higher standard of article quality. After the article has been cleaned up, you may remove this message. For help, see the How to Edit a Page article.
Notavailable.svg
AccessoryBob


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.

Usage

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

{{AccessoryBob
| accessoryimage=
| accessoryprogramscreen=
| title=
| maker=
| type=
| madefor=
| releases={{releases
...
}}
}}

All fields except "accessoryimage" are optional.