Difference between revisions of "Template:AddonInfoBox"

From MegaDrive Wiki
Jump to: navigation, search
m (8 revisions imported)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#vardefine:type|1}}{|cellpadding="0" cellspacing="0" class="breakout" style="max-width: 340px; padding: 0px; float: right; margin-left: 15px; display: inline; position: relative"
+
{|cellpadding="0" cellspacing="0" style="background: #eeeeee; background: -moz-linear-gradient(top, #eeeeee 0%, #dddddd 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#dddddd));background: -webkit-linear-gradient(top, #eeeeee 0%,#dddddd 100%);background: -o-linear-gradient(top, #eeeeee 0%,#dddddd 100%);background: -ms-linear-gradient(top, #eeeeee 0%,#dddddd 100%);background: linear-gradient(to bottom, #eeeeee 0%,#dddddd 100%); padding: 5px; border: 1px solid #888; max-width: 340px; padding: 0px; float: right; margin-left: 15px; display: inline; position: relative"
 
| style="text-align: center;"|
 
| style="text-align: center;"|
 
{{ #if: {{{logos|}}} | {{{logos}}}<br> | }}
 
{{ #if: {{{logos|}}} | {{{logos}}}<br> | }}
{{ #if: {{{imgwidth|}}} | [[Image:{{ #if: {{{accessoryimage|}}} | {{{accessoryimage}}} | NoImageAvailable.png }}|{{{imgwidth}}}px]] | [[Image:{{ #if: {{{accessoryimage|}}} | {{{accessoryimage}}} | NoImageAvailable.png }}]] }}
+
{{ #if: {{{imgwidth|}}} | [[Image:{{ #if: {{{accessoryimage|}}} | {{{accessoryimage}}} | }}|{{{imgwidth}}}px]] | [[Image:{{ #if: {{{accessoryimage|}}} | {{{accessoryimage}}} | }}]] }}
 
{{ #if: {{{accessoryprogramscreen|}}} | [[Image:{{{accessoryprogramscreen}}}]] }}
 
{{ #if: {{{accessoryprogramscreen|}}} | [[Image:{{{accessoryprogramscreen}}}]] }}
 
|-
 
|-
Line 11: Line 11:
 
  #if: {{{madefor|}}} | '''Made For''': {{{madefor}}}<br> | }}{{
 
  #if: {{{madefor|}}} | '''Made For''': {{{madefor}}}<br> | }}{{
 
  #if: {{{alsoworks|}}} | '''Also Works With''': {{{alsoworks}}}<br> | }}{{
 
  #if: {{{alsoworks|}}} | '''Also Works With''': {{{alsoworks}}}<br> | }}{{
  #if: {{{romsize|}}} | '''Size of Program ROM''': {{{romsize}}}<br> | }}{{
+
  #if: {{{romsize|}}} | '''Size of Program ROM''': {{{romsize}}}<br> | }}
#if: {{{releases|}}} | {{{releases}}} | }}
 
 
|}<noinclude>
 
|}<noinclude>
 
==Usage==
 
==Usage==
Line 27: Line 26:
 
| alsoworks=
 
| alsoworks=
 
| romsize=
 
| romsize=
| releases={{releases
 
...
 
}}
 
 
}}
 
}}
 
</pre>
 
</pre>
  
 
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."
 
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."

Latest revision as of 11:29, 16 March 2015

[[Image:]]

Fast Facts on the AddonInfoBox

Usage

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

{{Template:InfoBox
| accessoryimage=
| imgwidth=
| accessoryprogramscreen=
| title=
| maker=
| madefor=
| alsoworks=
| romsize=
}}

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."