Misplaced Pages

Template:Welcome: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 09:19, 19 February 2014 view sourceAmalthea (talk | contribs)31,926 editsm Changed protection level of Template:Welcome: Highly visible template ( (indefinite) (indefinite))← Previous edit Revision as of 00:37, 17 May 2014 view source Mr. Stradivarius (talk | contribs)Edit filter managers, Administrators59,191 edits change "what you did for" --> "your edits to" per suggestion on the talk pageNext edit →
Line 15: Line 15:
---></noinclude>{{safesubst:<noinclude />#ifeq:{{safesubst:<noinclude />Yesno|{{{heading|y}}}|yes=true}}|true|== {{{headtext|Welcome!}}} ==|{{{headtext|}}}}} ---></noinclude>{{safesubst:<noinclude />#ifeq:{{safesubst:<noinclude />Yesno|{{{heading|y}}}|yes=true}}|true|== {{{headtext|Welcome!}}} ==|{{{headtext|}}}}}


Hello, {{safesubst:<noinclude />BASEPAGENAME}}, and welcome to Misplaced Pages! {{safesubst:<noinclude />#ifeq:{{safesubst:<noinclude />Yesno|{{{newuser|no}}}}}|yes||Thank you for ]{{safesubst:<noinclude />#if:{{{art|}}}|, especially what you did for ]}}.}} I hope you like the place and decide to stay. Here are a few links to pages you might find helpful: Hello, {{safesubst:<noinclude />BASEPAGENAME}}, and welcome to Misplaced Pages! {{safesubst:<noinclude />#ifeq:{{safesubst:<noinclude />Yesno|{{{newuser|no}}}}}|yes||Thank you for ]{{safesubst:<noinclude />#if:{{{art|}}}|, especially your edits to ]}}.}} I hope you like the place and decide to stay. Here are a few links to pages you might find helpful:
* ] * ]
* ] * ]

Revision as of 00:37, 17 May 2014

Welcome!

Hello, Welcome, and welcome to Misplaced Pages! Thank you for your contributions. I hope you like the place and decide to stay. Here are a few links to pages you might find helpful:

Please remember to sign your messages on talk pages by typing four tildes (~~~~); this will automatically insert your username and the date. If you need help, check out Misplaced Pages:Questions, ask me on my talk page, or ask your question on this page and then place {{Help me}} before the question. Again, welcome!

Template documentation[view] [edit] [history] [purge]
This template should always be substituted (i.e., use {{subst:Welcome}}). Any accidental transclusions will be automatically substituted by a bot.
WarningThis template is substituted very frequently, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them.
This template is subject to page protection. It is a highly visible template in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing.
Logo of Twinkle; Police ManAny breaking changes to this template, including moving it or nominating it for deletion, must be communicated in advance to Twinkle's users and maintainers at Misplaced Pages talk:Twinkle. The standard installation of Twinkle relies on this template. Thank you.

Usage

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). Equivalent to setting |art=newuser.
  • |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{{=}}]{{!}}Caption}}.
  • |art=Article name – Article to which the user contributed positively (no brackets needed): {{subst:Welcome|art=Foobar}}.
    • This can be set to newuser to produce the same text as setting |newuser=y when using Twinkle: {{subst:Welcome|art=newuser}}
  • |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

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

Wrapper

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

TemplateData

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! ]
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

The above documentation is transcluded from Template:Welcome/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: