Template:Useraward

From Wikipedia, the free encyclopedia
Custom award title

Custom award message

Description[edit]

This template can serve to create custom awards. Should normally be substituted, unless used to create another award template, in which case it can be transcluded instead (but if this template is modified or deleted, those templates will break; they also consume more server-side CPU cycles; please consider substituting and using the result as a basis for that new template instead).

Note: images that are non free may get deleted. Choosing images that will remain is the responsibility of the editor creating the award.

Usage[edit]

Usage (required fields are marked with *):

{{subst:Useraward
 | border-c = <!-- border color (optional, default = gray) -->
 | border-s = <!-- border width in pixels (optional, default = 1) -->
 | bg-c     = <!-- background color (optional, default = #fdffe7) -->
 | title    = <!--*custom award title text (required) -->
 | title-c  = <!-- title font color (optional, default = #505050) -->
 | title-s  = <!-- title text size in points (optional, default = x-large) -->
 | text     = <!--*custom award message text (required, sign message as usual) -->
 | text-c   = <!-- message text font color (optional, default = black) -->
 | text-s   = <!-- message text size in points (optional, default = medium) -->
 | text-p   = <!-- message title+text padding in pixels (optional, default = 5) -->
 | text-a   = <!-- message title+text horizontal alignment (optional, default = left) -->
 | image    = <!--*left image to use (required, do not include the File: prefix) -->
 | image-p  = <!-- image+image-r padding in pixels (optional, default = 5) -->
 | image-s  = <!-- image+image-r size in pixels (optional, default = 100) -->
 | image-r  = <!-- right image to use (optional, do not include the File: prefix) -->
}}

A simplest example:

{{subst:Useraward
 | image = Kitten.jpg
 | title = A kitten for you!
 | text  = For improving ... ! ~~~~
}}

Result:

A kitten for you!

For improving ... ! — PaleoNeonate — 07:02, 26 May 2017 (UTC)