Template:Signature
Template documentation
This documentation is transcluded from Template:Signature/doc. [edit] [purge]
The Signature template is used to automatically generate signatures based on user-defined formatting.
Updates
- Template completed - 01:49, 15 January 2009 (UTC)
- Template documentation completed - 02:28, 15 January 2009 (UTC)
- Sub and sup styles added - 02:55, 15 January 2009 (UTC)
- Sub and sup examples added to template - 03:03, 15 January 2009 (UTC)
- Bold, underline, and italic options added to template and documentation - 19:33, 16 January 2009 (UTC)
- Fixed background in IE 7; was not being displayed in signatures with images due to a bug in IE's relative positioning - 22:34, 20 January 2009 (UTC)
Usage
{{signature | name = Username of the signature's owner [REQUIRED] | style = Signature style; possible values: normal, sub, sup (if not specified, normal is implied) | color = Color of the text in the signature | bold = If "yes", all text is bolded. | italic = If "yes", all text is italicised. | underline = If "yes", all text is underlined. | background = Background color of the signature | border-style = Border style of the signature | border-width = Width of the signature's border | border-color = Color of the signature's border | button-color = Color of the text in the link buttons (talk, contributions, edit count) | button-background = Background color of the link buttons (only used with normal style) | divider-style = Style of the borders to the left and right of each link button (only used with normal style) | divider-width = Width of the borders to the left and right of each link button (only used with normal style) | divider-color = Color of the borders to the left and right of each link button (only used with normal style) | separator = Character used to separate each link button; defaults to • (only used with sub and sup styles) | separator-color = Color of characters separating each link button (only used with sub and sup style) | image1 = Image to appear to the left of username/rank icon | image2 = Image to appear to the right of the link buttons }}
Examples
Signature | Code |
---|---|
{{signature | name = Example | color = black | background = #eef | border-style = solid | border-width = 1px | border-color = #99f | button-color = #66c | button-background = white | divider-style = solid | divider-width = 1px | divider-color = #99f | image1 = [[File:Blue partyhat.png]] | image2 = [[File:Blue partyhat.png]] }} |
|
{{signature | name = Example | style = sup | color = black | background = #fee | border-style = solid | border-width = 1px | border-color = #f99 | button-color = #66c | separator = {{!}} | separator-color = red | image1 = [[File:Blue partyhat.png]] | image2 = [[File:Blue partyhat.png]] }} |
|
{{signature | name = Example | style = sup | color = black | background = #efe | border-style = solid | border-width = 1px | border-color = #9f9 | button-color = #6c6 | separator-color = #6c6 | image1 = [[File:Blue partyhat.png]] | image2 = [[File:Blue partyhat.png]] }} |
|
{{signature | name = Example | border-style = inset | border-width = 2px | border-color = black | button-color = blue | image2 = [[File:Blue partyhat.png]] }} |
|
{{signature | name = Example | color = red | border-style = dashed | border-width = 1px | border-color = red | background = yellow | button-color = red | divider-color = red | divider-style = solid | divider-width = 2px }} |