Jump to content

Template:Welcome/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Add {{subst:Welcome}} ~~~~ to the user's talk page. It is suggested that you watch the talk page in case the user replies there.

Parameters:

  • |heading=no – Suppress the automatic heading: {{subst:Welcome|heading=no}}
  • |headtext=Heading text – Change the contents of the heading: {{subst:Welcome|headtext=Greetings!}}
  • |border=Color – Adds a border in the specified color, along with a light shadow. |borderradius= can optionally be used to create rounded corners: {{subst:Welcome|border=DarkViolet|borderradius=15px}}
  • |newuser=y – alternate text for users with zero contributions (such as accounts just made via ACC; you can also use {{subst:Welcome-newuser}}, which includes your signature)
  • |image=File:Filename.png – Adds an image to the message (no brackets needed). |imagecaption= can optionally be used to specify the caption: {{subst:Welcome|image=File:Chocolate chip cookies.jpg|imagecaption=Here, enjoy some cookies!}}. If you want to get really fancy, you can specify the image size or link here like this: {{subst:Welcome|imagecaption=400px{{!}}link{{=}}[[Article]]{{!}}Caption}}.
  • |art=Article name – Article to which the user contributed positively (no brackets needed): {{subst:Welcome|art=Foobar}}
  • |customstart= – Adds a custom message at the end of the first paragraph, replacing "I hope you like it here and decide to stay."
  • |customend= – Adds a custom ending to replace "Happy editing!"

Shortcut: {{subst:Wel}} ~~~~

For anonymous editors

[edit]

Use {{subst:Welcome-anon}} or {{subst:Thanks}} for anonymous (IP) editors.

Wrapper

[edit]

{{subst:Welcome-autosign}} (or {{subst:wela}}) invokes this template but includes your signature.

TemplateData

[edit]

The standard template to welcome new editors.

Template parameters

ParameterDescriptionTypeStatus
headingheading

Suppresses the automatic heading

Unknownoptional
Heading textheadtext

Changes the contents of the heading

Default
Welcome!
Stringoptional
borderborder

Adds a border around the message in a specified color or hex triplet

Example
DarkViolet, #9400D3
Stringoptional
Border radiusborderradius

Specifies the rounding of the border

Default
2px
Example
15px
Unknownoptional
imageimage

Adds an image to go with the welcome (no need for brackets)

Example
File:Chocolate chip cookies.jpg
Fileoptional
Image captionimagecaption

Specifies a caption to go with the image

Example
Here, enjoy some cookies! [[File:Face-smile.svg|20px|link=|alt=Smiley emoji]]
Stringoptional
New usernewuser

Uses alternate text not linking to the editor's contributions

Example
y
Booleanoptional
Articleart article

Mentions and links to an article the editor has contributed to

Page namesuggested
Custom startcustomstart

Adds a custom message at the end of the first paragraph

Default
I hope you like it here and decide to stay.
Stringsuggested
Custom endcustomend

Adds a custom ending to the message

Default
Happy editing!
Stringsuggested

See also

[edit]