Difference between revisions of "Template:LiathBoxMisc"

From PRIMUS Database
Jump to: navigation, search
(Created page with "<noinclude>Category:Templates<!--please do not delete or overwrite-->{{User:Liath/FloatMenu}}<div style="float:right; margin-left:10px;"></noinclude> <table style="margin-...")
 
m
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td style="vertical-align:middle; padding-bottom:5px;"><div style="opacity:0.5;">[[file:Liath_KnotLarge.png|30px|center|link=:Template:LiathBoxAttributes]]</div></td>
+
<td style="vertical-align:middle; padding-bottom:5px;"><div style="opacity:0.5;">[[file:Liath_KnotLarge.png|30px|center|link=:Template:LiathBoxMisc]]</div></td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 62: Line 62:
  
  
== LiathBoxAttributes Cheatsheet ==
+
== LiathBoxMisc Cheatsheet ==
 
Copy the following onto your page and fill out the appropriate information.  
 
Copy the following onto your page and fill out the appropriate information.  
  
Line 80: Line 80:
 
</nowiki>
 
</nowiki>
  
== LiathBoxAttributes Examples ==
+
== LiathBoxAttributes Misc ==
 
<b></b><br>
 
<b></b><br>
 
Click <b>[[Special:Whatlinkshere/{{FULLPAGENAME}}|here]]</b> to see pages which use this template.<br><br><br>
 
Click <b>[[Special:Whatlinkshere/{{FULLPAGENAME}}|here]]</b> to see pages which use this template.<br><br><br>

Latest revision as of 23:41, 4 March 2016

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


LiathBoxMisc 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 Misc


Click here to see pages which use this template.


Created by: @liath.png