Difference between revisions of "Template:Sign/Documentation"

From GodWiki
Jump to: navigation, search
(|cat= is no longer implemented, categorization can be handled directly by calling template)
(Update documentation on color values, example to match)
Line 3: Line 3:
 
*'''title''' - the title (default: no title)  
 
*'''title''' - the title (default: no title)  
 
*'''text''' - text (default: a mess of lorem ipsum)  
 
*'''text''' - text (default: a mess of lorem ipsum)  
*'''bgcolor''' - the background color in RGB format with no sign of # (default: fefefe)  
+
*'''bgcolor''' - the background color (any valid CSS color string; default: #fefefe)  
*'''bordercolor''' - Border color of the left (for harmony with the picture and the background; default: 999)  
+
*'''bordercolor''' - Border color of the left border (any valid CSS color string; default: #999)  
*'''outerbordercolor''' - color of the top, right and bottom Boarders (default: AAB)  
+
*'''outerbordercolor''' - color of the top, right and bottom borders (any valid CSS color string; default: #AAB)  
 
*'''img''' - a picture without the prefix "Image:» (default: Important.png)  
 
*'''img''' - a picture without the prefix "Image:» (default: Important.png)  
 
*'''imgwidth''' - for non-standard images. It is advisable not to touch (default: 64)  
 
*'''imgwidth''' - for non-standard images. It is advisable not to touch (default: 64)  
Line 18: Line 18:
 
| title = What a nice example!
 
| title = What a nice example!
 
| text = [[User:Spode|Spode]] is clearly a genius
 
| text = [[User:Spode|Spode]] is clearly a genius
| bgcolor = abcdef
+
| bgcolor = #abcdef
 
| img = Imbox notice.png
 
| img = Imbox notice.png
 
| outerbordercolor = red
 
| outerbordercolor = red
Line 32: Line 32:
 
| title = What a nice example!
 
| title = What a nice example!
 
| text = [[User:Spode|Spode]] is clearly a genius
 
| text = [[User:Spode|Spode]] is clearly a genius
| bgcolor = abcdef
+
| bgcolor = #abcdef
 
| img = Imbox notice.png
 
| img = Imbox notice.png
 
| outerbordercolor = red
 
| outerbordercolor = red

Revision as of 00:03, 23 November 2018

Parameters:

  • title - the title (default: no title)
  • text - text (default: a mess of lorem ipsum)
  • bgcolor - the background color (any valid CSS color string; default: #fefefe)
  • bordercolor - Border color of the left border (any valid CSS color string; default: #999)
  • outerbordercolor - color of the top, right and bottom borders (any valid CSS color string; 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)
  • 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