Difference between revisions of "Template:Blank WikiLove/doc"

From blackwiki
Jump to navigation Jump to search
imported>Mojoworker
(Usage: Should be substituted)
imported>Mojoworker
(→‎Example: Should be substituted)
Line 35: Line 35:
 
=== Example ===
 
=== Example ===
 
<pre style="width:50%;">
 
<pre style="width:50%;">
{{Blank WikiLove
+
{{subst Blank WikiLove
 
| item    = something nice
 
| item    = something nice
 
| reason  = being a Wikipedian
 
| reason  = being a Wikipedian

Revision as of 01:45, 20 October 2013

Template:Substituted

This template is used for the creation of WikiLove banner templates.

Usage

{{subst:Blank WikiLove
| border-color  =
| border-width  =
| bg            =
| image         =
| size          =
| article       =
| item          =
| reason        =
| message       =
| footer        =
}}

Description of fields:

  • |border-color= – Sets the border color, defaults to black. Can be a named HTML color, hex or RGB
  • |border-width= – Sets the border width, defaults to 1px
  • |bg= – Sets the background color, defaults to #EFEFEF. Can be a named HTML color, hex or RGB
  • |image= – Sets the image, defaults to File:Nuvola camera.svg
  • |size= – Sets the image size in pixel size, defaults to 100px
  • |article= – An adjective describing the item being given, optional field
  • |item= – The item being given
  • |reason= – The reason why, optional field
  • |message= – An area to add an additional message to the box
  • |footer=– Adds a custom footer message replacing the default

Example

{{subst Blank WikiLove
| item    = something nice
| reason  = being a Wikipedian
}}

Produces:

Nuvola camera.svg
Hello Blank WikiLove, [[User:imported>Mojoworker|imported>Mojoworker]] has given you something nice, for being a Wikipedian! You see, these things promote WikiLove and hopefully this has made your day better. Spread the WikiLove by giving someone else something nice! Enjoy!
Spread the goodness of something nice by adding {{subst:Blank WikiLove}} to their talk page with a friendly message.

See also