User:PhilipBembridge/Sandbox/Gift

From Wikipedia, the free encyclopedia


This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.
[edit] Documentation

Contents

[edit] Usage

{{Gift
 | style= <style>
 | gimage = <image, this replaces the default image>
 | message = <you message>
 | sig = <your signature, normally "~~~~">}}

(for examples see further down)

↑ is an optional parameter

  • style can be either 1, 2, 3, halloween or christmas (lowercase)
  • ↑gimage can be any image (and specified size) in the form: Image:Example image.jpg|30px
  • message is the message that you would like to include with your card
  • sig is the signature included at the bottom of the card, you can type PhilB ~ T/C 17:30, 24 November 2007 (UTC) to insert your normal signature

Optional parameters where style is left unspecified:

  • ↑boardercol is the boarder colour
  • ↑bgcolour is the background colour
  • ↑textcolour is the text colour
  • ↑opencolour is the background colour of the "click there to open" box

[edit] Examples

[edit] style

Notes:

  • Style can be either 1, 2, 3, halloween or christmass
  • If style is left undefined (as in left out) you have to specify "boardercol" "bgcolour" "textcolour" and "opencolour"
  • "message" must be lowercase
  • {{User:PhilipBembridge/Sandbox/Gift|style=1}}
    
 
 
  • {{User:PhilipBembridge/Sandbox/Gift|style=2}}
    
 
~
 
  • {{User:PhilipBembridge/Sandbox/Gift|style=3}}
    
 
 
  • {{User:PhilipBembridge/Sandbox/Gift|style=halloween}}
    
 
 
  • {{User:PhilipBembridge/Sandbox/Gift|style=christmas}}
    

[edit] gimage

Notes:

  • gimage has to be lowercase
  • gimage is optional, it is used for replacing the default image,

Example, to replace the default image on style one, I would type:

{{User:PhilipBembridge/Sandbox/Gift|style=1|gimage=Image:Emblem-favorites.svg}}
 
 

Some images that you could use:

  • Image:Choco_chip_cookie.jpg
  • Image:Smiley.svg
  • Image:Emblem-favorites.svg
  • Image:Chocolate.jpg

[edit] message

Notes:

  • This is the message that you want in your mini card
  • "message" must be lowercase
  • If I had put quotations around Hello World!!! the quotations would also be displayed in the card


{{User:PhilipBembridge/Sandbox/Gift|style=1|message=Hello World!!!}}
 
 


[edit] sig

Note: sig is lowecase

This is the text that you want to appear after "From" or "Love From" (that depends on the design)

The easiest way is to sign your name by typing ~~~~

This is what appears when I sign my name as ~~~~ ( {{User:PhilipBembridge/Sandbox/Gift|style=1|sig=~~~~}} ) :

 
 

[edit] How to change everything!!

This is how to change all the parameters:

{{User:PhilipBembridge/Sandbox/Gift
 | gimage = <image>
 | message = <you message>
 | boardercol = <boarder colour>
 | bgcolour = <background colour>
 | textcolour = <the text colour>
 | opencolour = <the background colour of the ''"click there to open"''> 
 | sig = <your signature, normally "~~~~">
}}

For example:

{{User:PhilipBembridge/Sandbox/Gift
 | gimage = Image:Emblem-favorites.svg
 | message = Hello World!!
 | boardercol = #990000
 | bgcolour = #996655
 | textcolour = #ffffff
 | opencolour = #cccccc 
 | sig = ~~~~
}}

Would give:

[edit] See also

  • Example link!