Template:LiathBoxMisc

From PRIMUS Database
Revision as of 23:38, 4 March 2016 by Liath (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Liath Knot.png
Liath Pencil.png
Liath Pic.png
Liath Top.png
Miscellaneous
Liath KnotLarge.png

The LiathBoxMisc is a simple box for profiles, with stylings similar to punched metal. It is used to add info not covered in Template:LiathMetalBoxV or Template:LiathBoxAttributes

How to use the LiathBoxMisc

The long and involved process works thusly. If you just want the damn Box, go directly to the Cheat Sheet.

Trigger the use of the LiathBoxAttributes on your page if you plan to include it. At the top of your edit window, enter:

{{LiathBoxMisc

Below that, you'll want to fill out all the parameters that you can fill out or care to fill out. For this, you'll need the name of the parameter that corresponds to the field you'll want to fill; in most cases, the parameter names are the same as the name of the field, but they differ in some. A complete list can be found below. The format for filling in a parameter is as follows:

| parameter = value
eg.
| title = Information

This will replace the {{{title}}} placeholder in the original LiathBoxMisc with something other than the default. Each parameter should be put in a new line for ease of parsing and debugging in case something goes wrong.

Close the Template. This is done by appending the following at the end of your list:

|}}

And with this, you're set.

List of Parameters

  • Title - Main Box Header. Default "Miscellaneous".
  • Content - Information to be displayed, can contain any valid Wiki formatting
  • maincolor - Sets main color for the box background and raised text. Defaults to  Silver . Values accepted include: standard HTML Color Names, any hexadecimal color value.
  • altmaincolor - Sets an alternate color for the raised text (should you wish it to stand out more). Defaults to  Silver . Values accepted include: standard HTML Color Names, any hexadecimal color value.
  • hicolor - Sets lightest (top) color for the box and text border. Defaults to  LightGrey . Values accepted include: standard HTML Color Names, any hexadecimal color value.
  • midcolor - Sets medium (side) color for the box and text border. Defaults to  DarkGrey . Values accepted include: standard HTML Color Names, any hexadecimal color value.
  • altmidcolor - Sets alternate medium (right side only) color for the box and text border. Useful if you wish to have the shaded effect at 45 degrees. Defaults to  DarkGrey . Values accepted include: standard HTML Color Names, any hexadecimal color value.
  • locolor - Sets darkest (bottom) color for the box and text border. Defaults to  Grey . Values accepted include: standard HTML Color Names, any hexadecimal color value.
  • shadowcolor - Sets shadow color for the box and text. Defaults to  Black . Values accepted include: standard HTML Color Names, any hexadecimal color value.


Note: To display the default value, remove the parameter line from the cheat sheet, remove the equals sign on that line or alternatively comment out the section(s) as follows:

<!--| strength = -->
This way if you decide to fill in that section in the future, you can simply delete the
<|-- -->
comment markers


LiathBoxAttributes Cheatsheet

Copy the following onto your page and fill out the appropriate information.

{{LiathBoxMisc
| title = 
| content = 
<!-- remove comment to use own colors
| maincolor =
| altmaincolor =
| hicolor =
| midcolor =
| altmidcolor =
| locolor =
| shadowcolor =
-->
|}}

LiathBoxAttributes Examples


Click here to see pages which use this template.


Created by: @liath.png