Difference between revisions of "Template:Sign/Documentation"

From GodWiki
Jump to: navigation, search
m
m
Line 2: Line 2:
  
 
Parameters:  
 
Parameters:  
*'''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 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)  
+
*'''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)  
+
*'''outerbordercolor''' - color of the top, right and bottom Boarders (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)  
*'''Cat''' - the category without the prefix "Category:» (default: none). Do not use directly in other patterns, otherwise the template will get this same category  
+
*'''cat''' - the category without the prefix "Category:» (default: none). Do not use directly in other patterns, otherwise the template will get this same category  
*'''Height''' - the height of the template (default: auto)  
+
*'''height''' - the height of the template (default: auto)  
*'''Width''' - the width of the template (default: 80%)  
+
*'''width''' - the width of the template (default: 80%)  
*'''Interval''' - the bottom margin in pixels (default: 1)  
+
*'''interval''' - the bottom margin in pixels (default: 1)  
  
  
Line 19: Line 19:
 
<nowiki>
 
<nowiki>
 
{{Sign  
 
{{Sign  
| 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.
| Height = 80  
+
| height = 80  
| Bgcolor = C0C0C0  
+
| gcolor = C0C0C0  
| Bordercolor = 404040  
+
| bordercolor = 404040  
| Outerbordercolor = 000000  
+
| outerbordercolor = 000000  
| Img = Fo55555.gif
+
| img = Fo55555.gif
| Imgwidth = 64  
+
| imgwidth = 64  
 
}}</Nowiki>  
 
}}</Nowiki>  
  
Line 33: Line 33:
  
 
{{Sign  
 
{{Sign  
| 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.
| Height = 80  
+
| height = 80  
| Bgcolor = C0C0C0  
+
| gcolor = C0C0C0  
| Bordercolor = 404040  
+
| bordercolor = 404040  
| Outerbordercolor = 000000  
+
| outerbordercolor = 000000  
| Img = Fo55555.gif
+
| img = Fo55555.gif
| Imgwidth = 64  
+
| imgwidth = 64  
 
}}
 
}}
 
  
  
 
<!-- <noinclude>[[Category:Template:Documentation]]</noinclude> -->
 
<!-- <noinclude>[[Category:Template:Documentation]]</noinclude> -->

Revision as of 19:39, 24 December 2010


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)
  • cat - the category without the prefix "Category:» (default: none). Do not use directly in other patterns, otherwise the template will get this same category
  • height - the height of the template (default: auto)
  • width - the width of the template (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. | height = 80 | gcolor = C0C0C0 | bordercolor = 404040 | outerbordercolor = 000000 | img = Fo55555.gif | imgwidth = 64 }}


Results in:

Fo55555.gif

What a nice example!

Spode is clearly a genius.