Template:Sign/Documentation

From GodWiki
< Template:Sign
Revision as of 00:06, 15 November 2018 by FeRDNYC (talk | contribs) (Document valid units for width/height)
Jump to: navigation, search

Parameters:

  • title - the title (default: no title)
  • text - text (default: a mess of lorem ipsum)
  • bgcolor - the background color in RGB format with no sign of # (default: fefefe)
  • bordercolor - Border color of the left (for harmony with the picture and the background; default: 999)
  • outerbordercolor - color of the top, right and bottom Boarders (default: AAB)
  • img - a picture without the prefix "Image:» (default: Important.png)
  • imgwidth - for non-standard images. It is advisable not to touch (default: 64)
  • image-align - Override image vertical-align parameter: top, bottom, etc. (default: center)
  • cat - the category without the prefix "Category:" (default: none).
    Do not use cat directly in other patterns, otherwise the template will get this same category
  • height - the height of the template in CSS units (rem, em, px, etc.) (default: auto)
  • width - the width of the template in CSS units (rem, em, px, etc.) (default: 80%)
  • interval - the bottom margin in pixels (default: 1)

Example

{{Sign 
| title = What a nice example!
| text = [[User:Spode|Spode]] is clearly a genius
| bgcolor = abcdef
| img = Imbox notice.png
| outerbordercolor = red
| bordercolor = green
| width = 50
}}


Results in:

Imbox notice.png

What a nice example!

Spode is clearly a genius