Difference between revisions of "AccessoryBob"
From Sega Retro
(43 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {| | + | <noinclude>{{cleanup}}</noinclude>{{#vardefine:type|1}} |
− | + | {{BobTablePlus| | |
− | {{ | + | {{BobRowPlus |
− | {{ #if: {{{ | + | | if={{{accessoryimage|}}}{{{accessoryprogramscreen|}}} |
− | + | | content={{#if: {{{accessoryprogramscreen|}}} | |
− | + | | {{tabs | |
− | | | + | | icon1=Accessory |
− | + | | icon2=Program | |
− | {{ | + | | content1={{#if:{{{accessoryimage|}}}|[[File:{{{accessoryimage}}}|320x240px]]|[[File:Notavailable.svg]][[Category:Missing accessory image]]}} |
− | + | | content2={{bobscreen|{{{accessoryprogramscreen|}}}}} | |
− | + | | orientation=horizontal | |
− | + | | hidetitle=yes | |
− | + | | tabliststyle=margin:2px; | |
− | + | }} | |
− | + | | [[File:{{{accessoryimage}}}|320x240px]] | |
− | + | }} | |
− | + | | default=[[File:Notavailable.svg]][[Category:Missing accessory image]] | |
− | + | | align=center | |
− | + | }} | |
− | + | {{BobRowPlus | |
− | #if: {{{ | + | | if={{{title|}}} |
− | |}<noinclude> | + | | 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|}}}||{{#if:{{{official|}}}||[[Category:Accessory with missing type]]}}}} | ||
+ | {{BobRowPlus | ||
+ | | if={{{releases|}}} | ||
+ | | content={{releasesHeader}} | ||
+ | {{{releases}}} | ||
+ | {{releasesEnd}} | ||
+ | }} | ||
+ | }} | ||
+ | {{#seo: | ||
+ | |image={{filepath:{{#if: {{{bookimage|}}}|{{{bookimage}}}|Notavailable.svg}}}} | ||
+ | |locale=en_GB | ||
+ | |site_name=Sega Retro | ||
+ | |type=article | ||
+ | }}<noinclude> | ||
==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 27: | Line 70: | ||
{{AccessoryBob | {{AccessoryBob | ||
| accessoryimage= | | accessoryimage= | ||
− | | | + | | accessoryprogramscreen= |
| title= | | title= | ||
| maker= | | maker= | ||
+ | | type= | ||
| madefor= | | madefor= | ||
− | | | + | | releases={{releases |
− | + | ... | |
− | + | }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
</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 | + | [[Category:Breakout box templates]]</noinclude> |
Latest revision as of 07:06, 25 June 2023
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. |
AccessoryBob |
---|
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. 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 SC-3000, SG-1000, and SG-1000 II, but also works with the Sega Mark III, Sega Master System, and Sega Mega Drive.