Template:Metabox-alt/doc

Description
This template is an offshoot of the Parthenon template.

Parameters
The template has the following parameters:

- This is the main text inside of the template. It is a mandatory parameter.

- This is for the color of the text inside the template. If it is left empty, the text will default to white text. You can either type in an HTML color name, or type in an HTML color code (without the #)

- This parameter adds a line of bolded text at the top of the template.

- This changes the color of the title. The parameter  must be defined for this parameter to do anything. If it is left empty, the title will default to white text. You can either type in an HTML color name, or type in an HTML color code (without the #)

- The color of the border surrounding the template. If it is left empty, the border will default to a white color. You can either type in an HTML color name, or type in an HTML color code (without the #)

- The color of the background of the template. If left empty, it will default to a transparent background (usually matches the wiki background color). You can either type in an HTML color name, or type in an HTML color code (without the #)

- The width of the entire template, measured in percentage. Type in a number (without the % sign). If left blank, it will default to 65%.

- Only one recognized argument - "small". If defined, the template will display as a smaller, left-aligned box instead of the default center-aligned position.

- Add the image name into this parameter to display the image. For example,. Do not include the  and   (the "File:" prefix and the square brackets); otherwise you will break the image.

- Changes the width of the column where the image resides in. Leave blank for the default value. The parameter  must be defined in order for this parameter to work.

- Changes the size of the image in the template, measured in pixels. The parameter  must be defined in order for this parameter to work.

- If defined, the image will link to the name of the page you put into this parameter (e.g. adding  to this parameter will create a link to Foo). The parameter  must be defined in order for this parameter to work.

Credits
The template was developed by K6ka, using code borrowed from The Sims Wiki's Metabox and Parthenon templates.

The code for this template, viewable at https://sims.miraheze.org/w/index.php?title=Template:Metabox-alt&action=raw&ctype=text/css, is licensed under the CC-BY-SA license. You are free to copy and reuse the text, as long as you give credit to the original authors. You can provide a link to https://k6ka.miraheze.org/wiki/Template:Metabox/doc#Credits in your edit summary or template documentation if you want to export the template to another MediaWiki installation, or you can use Special:Export and have the revisions in the page history copied for you. Always make sure you link back to this page.

Please note that Metabox-alt also uses Template:Metabox-alt/color, which you will need to export as well.

This template uses Parser Functions, which are included in MediaWiki 1.18 and up. If you don't have MediaWiki 1.18 or later, you should update to a newer version of MediaWiki, or if that's not possible, you should install the Parser Function extension before using this template.