Revision as of 02:41, 1 January 2014 view sourceFlightTime (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, File movers, New page reviewers, Pending changes reviewers, Rollbackers, Template editors157,591 edits Define lnk trgt← Previous edit | Revision as of 04:08, 5 January 2014 view source Paine Ellsworth (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, File movers, New page reviewers, Pending changes reviewers, Rollbackers, Template editors255,968 edits xfer from sandboxNext edit → | ||
Line 1: | Line 1: | ||
{{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#ifexpr:{{{2|2}}}<2or{{{2|2}}}>6||}}|{{{|==}}}{{{{{|safesubst:}}}#ifeq:{{{2}}}||Welcome to Misplaced Pages!|{{{2}}}}}{{{|==}}}}} <!-- Begin welcome template {{Welcome to Misplaced Pages}} --> | {{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#ifexpr:{{{2|2}}}<2or{{{2|2}}}>6||}}|{{{|==}}}{{{{{|safesubst:}}}#ifeq:{{{2}}}||Welcome to Misplaced Pages!|{{{2}}}}}{{{|==}}}}} <!-- Begin welcome template {{Welcome to Misplaced Pages}} --> | ||
<!-- Begin header --> | <!-- Begin header --> | ||
<{{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#ifexpr:{{{2|2}}}<2or{{{2|2}}}>6|h2|h{{{2|2}}}}}|div}} style="margin:20px 0px 0px 0px;border-color:#aae1ff;border-style:solid;border-width:1px 1px 0px 1px;{{{{{|safesubst:}}}border-radius|10px 10px 0px 0px}}padding:5px 5px 0px 5px;background-color:#f3f3f3;text-align:center;">]{{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#ifexpr:{{{2|2}}}<1or{{{2|2}}}>6||}}|<span style{{{|=}}}"font-size:180%;">}}Welcome {{{{{|safesubst:}}}Ipt|to Misplaced Pages|{{{{{|safesubst:}}}PAGENAME}}|<span style{{{|=}}}"color:#a00;">USER'S NAME</span>}}!{{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#ifexpr:{{{2|2}}}<1or{{{2|2}}}>6||}}|</span>}}</{{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#ifexpr:{{{2|2}}}<2or{{{2|2}}}>6|h2|h{{{2|2}}}}}|div}}> | <{{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#ifexpr:{{{2|2}}}<2or{{{2|2}}}>6|h2|h{{{2|2}}}}}|div}} style="margin:20px 0px 0px 0px;border-color:#aae1ff;border-style:solid;border-width:1px 1px 0px 1px;{{{{{|safesubst:}}}border-radius|10px 10px 0px 0px}}padding:5px 5px 0px 5px;background-color:#f3f3f3;text-align:center;">]{{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#ifexpr:{{{2|2}}}<1or{{{2|2}}}>6||}}|<span style{{{|=}}}"font-size:180%;">}}Welcome {{#ifeq:{{{{{|safesubst:}}}isIPAddress|{{{{{|safesubst:}}}PAGENAME}}}}|6|to Misplaced Pages|{{{{{|safesubst:}}}Ipt|to Misplaced Pages|{{{{{|safesubst:}}}PAGENAME}}|<span style{{{|=}}}"color:#a00;">USER'S NAME</span>}}}}!{{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#ifexpr:{{{2|2}}}<1or{{{2|2}}}>6||}}|</span>}}</{{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#ifexpr:{{{2|2}}}<2or{{{2|2}}}>6|h2|h{{{2|2}}}}}|div}}> | ||
<div style="border-color:#aae1ff;border-style:solid;border-width:0px 1px 1px 1px;font-size:120%;padding:0px 5px 5px 5px;background-color:#f3f3f3;text-align:center;">{{{{{|safesubst:}}}Ipt||Now that you've joined ], there are {{NUMBEROFUSERS}} users!|Now that you've joined ], there are {{NUMBEROFUSERS}} users!}}</div> | <div style="border-color:#aae1ff;border-style:solid;border-width:0px 1px 1px 1px;font-size:120%;padding:0px 5px 5px 5px;background-color:#f3f3f3;text-align:center;">{{#ifeq:{{{{{|safesubst:}}}isIPAddress|{{{{{|safesubst:}}}PAGENAME}}}}|6||{{{{{|safesubst:}}}Ipt||Now that you've joined ], there are {{NUMBEROFUSERS}} users!|Now that you've joined ], there are {{NUMBEROFUSERS}} users!}}}}</div> | ||
<!-- End header --> | <!-- End header --> | ||
<!-- Begin main body --> | <!-- Begin main body --> | ||
<div style="border:1px solid #aae1ff;padding:5px;text-align:left;background-color:#f3f3f3;margin-top:5px;">{{{{{|safesubst:}}}Ipt||Hello, {{{{{|safesubst:}}}PAGENAME}}. |Hello, <span style{{{|=}}}"color:#a00;">USER'S NAME. </span>}}] to Misplaced Pages and thank you for <includeonly>]</includeonly><noinclude><span style="color:#a00;">LINK TO USER'S CONTRIBS</span></noinclude>! I'm <includeonly>]</includeonly><noinclude><span style="color:#a00;">YOUR NAME</span></noinclude>, one of the other editors here, and I hope you decide to stay and help contribute to this amazing repository of knowledge. {{{{{|safesubst:}}}Ipt|Although you're free to perform most tasks on Misplaced Pages without registering, it's highly recommended you ] as there are many added benefits. It's free, simple, and quick to do.||<span style{{{|=}}}"color:#a00;">IP ADVISED TO CREATE ACCOUNT.</span>}} {{{1|}}}<noinclude><span style="color:#a00;">EXTRA MESSAGE IF ADDED.</span></noinclude> | <div style="border:1px solid #aae1ff;padding:5px;text-align:left;background-color:#f3f3f3;margin-top:5px;">{{#ifeq:{{{{{|safesubst:}}}isIPAddress|{{{{{|safesubst:}}}PAGENAME}}}}|6||{{{{{|safesubst:}}}Ipt||Hello, {{{{{|safesubst:}}}PAGENAME}}. |Hello, <span style{{{|=}}}"color:#a00;">USER'S NAME. </span>}}}}] to Misplaced Pages and thank you for <includeonly>]</includeonly><noinclude><span style="color:#a00;">LINK TO USER'S CONTRIBS</span></noinclude>! I'm <includeonly>]</includeonly><noinclude><span style="color:#a00;">YOUR NAME</span></noinclude>, one of the other editors here, and I hope you decide to stay and help contribute to this amazing repository of knowledge. {{#ifeq:{{{{{|safesubst:}}}isIPAddress|{{{{{|safesubst:}}}PAGENAME}}}}|6|I see that you have a newer, longer Internet Protocol (IP) address, "]"! Although you're free to perform most tasks on Misplaced Pages without registering, it's highly recommended you ] as there are many added benefits. It's private and secure and it's also free, simple, and quick to do.|{{{{{|safesubst:}}}Ipt|Although you're free to perform most tasks on Misplaced Pages without registering, it's highly recommended you ] as there are many added benefits. It's private and secure and it's also free, simple, and quick to do.||<span style{{{|=}}}"color:#a00;">IP ADVISED TO CREATE ACCOUNT.</span>}}}} {{{1|}}}<noinclude><span style="color:#a00;">EXTRA MESSAGE IF ADDED.</span></noinclude> | ||
{|width="100%" style="background-color:#fff;border:1px solid #aae1ff;" | {|width="100%" style="background-color:#fff;border:1px solid #aae1ff;" | ||
|- | |- | ||
Line 50: | Line 50: | ||
:] Help ] new ] | :] Help ] new ] | ||
|} | |} | ||
Remember to always ] on talk pages. You can do this either by clicking on the ] button on the ] or by typing four ] <code><nowiki>(~~~~)</nowiki></code> at the end of your post. This will automatically insert your {{{{{|safesubst:}}}Ipt|] (linked to ]. However, if you create an account, your IP address will be hidden and you will be able to build a custom signature that can link to your own user page)|]|<span style{{{|=}}}"color:#a00;">EITHER "signature" OR "IP address"</span>}}, a link to this {{{{{|safesubst:}}}Ipt|(this IP's|(your|(your}} talk) page, and a ]. | Remember to always ] on talk pages. You can do this either by clicking on the ] button on the ] or by typing four ] <code><nowiki>(~~~~)</nowiki></code> at the end of your post. This will automatically insert your {{#ifeq:{{{{{|safesubst:}}}isIPAddress|{{{{{|safesubst:}}}PAGENAME}}}}|6|] (linked to ]. However, if you create an account, your IP address will be hidden and you will be able to build a custom signature that can link to your own user page)|{{{{{|safesubst:}}}Ipt|] (linked to ]. However, if you create an account, your IP address will be hidden and you will be able to build a custom signature that can link to your own user page)|]|<span style{{{|=}}}"color:#a00;">EITHER "signature" OR "IP address"</span>}}}}, a link to this {{#ifeq:{{{{{|safesubst:}}}isIPAddress|{{{{{|safesubst:}}}PAGENAME}}}}|6|(this IP's|{{{{{|safesubst:}}}Ipt|(this IP's|(your|(your}}}} talk) page, and a ]. | ||
The best way to learn about something is to experience it. Explore, learn, contribute, and don't forget to ]<br />To get some practice editing you can ]. {{{{{|safesubst:}}}Ipt|If you create an account, y|Y|Y}}ou can {{{{{|safesubst:}}}Ipt|create your own private sandbox|<span class{{{|=}}}"plainlinks"></span>|<span style{{{|=}}}"color:#a00;">REGISTERED USERS CAN CREATE OWN SANDBOX</span>}} for use any time. Perfect for working on bigger projects. Then for easy access in the future, you {{{{{|safesubst:}}}Ipt|could|can|can}} put {{{{{|safesubst:}}}Ipt|a link to it|<code><nowiki>{{My sandbox}}</nowiki></code>|a link to it}} on {{{{{|safesubst:}}}Ipt|your user page|{{{{{|safesubst:}}}#ifexist:User:{{{{{|safesubst:}}}BASEPAGENAME}}|]|your user page. By the way, seeing as you haven't created a user page yet, simply click ] to start it}}|your user page. <span style{{{|=}}}"color:#a00;">REGISTERED USERS WITH NO USER PAGE ENCOURAGED TO CREATE IT</span>}}.</div> | The best way to learn about something is to experience it. Explore, learn, contribute, and don't forget to ]<br />To get some practice editing you can ]. {{#ifeq:{{{{{|safesubst:}}}isIPAddress|{{{{{|safesubst:}}}PAGENAME}}}}|6|If you create an account, y|{{{{{|safesubst:}}}Ipt|If you create an account, y|Y|Y}}}}ou can {{#ifeq:{{{{{|safesubst:}}}isIPAddress|{{{{{|safesubst:}}}PAGENAME}}}}|6|create your own private sandbox|{{{{{|safesubst:}}}Ipt|create your own private sandbox|<span class{{{|=}}}"plainlinks"></span>|<span style{{{|=}}}"color:#a00;">REGISTERED USERS CAN CREATE OWN SANDBOX</span>}}}} for use any time. Perfect for working on bigger projects. Then for easy access in the future, you {{#ifeq:{{{{{|safesubst:}}}isIPAddress|{{{{{|safesubst:}}}PAGENAME}}}}|6|could|{{{{{|safesubst:}}}Ipt|could|can|can}}}} put {{#ifeq:{{{{{|safesubst:}}}isIPAddress|{{{{{|safesubst:}}}PAGENAME}}}}|6|a link to it|{{{{{|safesubst:}}}Ipt|a link to it|<code><nowiki>{{My sandbox}}</nowiki></code>|a link to it}}}} on {{#ifeq:{{{{{|safesubst:}}}isIPAddress|{{{{{|safesubst:}}}PAGENAME}}}}|6|your user page|{{{{{|safesubst:}}}Ipt|your user page|{{{{{|safesubst:}}}#ifexist:User:{{{{{|safesubst:}}}BASEPAGENAME}}|]|your user page. By the way, seeing as you haven't created a user page yet, simply click ] to start it}}|your user page. <span style{{{|=}}}"color:#a00;">REGISTERED USERS WITH NO USER PAGE ENCOURAGED TO CREATE IT</span>}}}}.</div> | ||
<!-- End main body --> | <!-- End main body --> | ||
<!-- Begin footer --> | <!-- Begin footer --> |
Revision as of 04:08, 5 January 2014
Welcome USER'S NAME!
Now that you've joined Misplaced Pages, there are 48,536,569 users! Hello, USER'S NAME. Welcome to Misplaced Pages and thank you for LINK TO USER'S CONTRIBS! I'm YOUR NAME, one of the other editors here, and I hope you decide to stay and help contribute to this amazing repository of knowledge. IP ADVISED TO CREATE ACCOUNT. EXTRA MESSAGE IF ADDED.Some pages of helpful information to get you started: | Some common sense Do's and Don'ts:
|
If you need further help, you can: | or even: |
Alternatively, leave me a message at my LINK TO YOUR TALK PAGE or type {{helpme}}
here on your talk page, and someone will try to help.
There are many ways you can contribute to Misplaced Pages. Here are a few ideas:
|
|
Remember to always sign your posts on talk pages. You can do this either by clicking on the button on the edit toolbar or by typing four tildes (~~~~)
at the end of your post. This will automatically insert your EITHER "signature" OR "IP address", a link to this (your talk) page, and a timestamp.
To get some practice editing you can use a sandbox. You can REGISTERED USERS CAN CREATE OWN SANDBOX for use any time. Perfect for working on bigger projects. Then for easy access in the future, you can put a link to it on your user page. REGISTERED USERS WITH NO USER PAGE ENCOURAGED TO CREATE IT.
Sincerely, ~~~~ (Leave me a message)
This template should always be substituted (i.e., use {{subst:Welcome to Misplaced Pages}} ). Any accidental transclusions will be automatically substituted by a bot. |
Usage
This template should always be substituted (i.e., use {{subst:Welcome to Misplaced Pages}} ). Any accidental transclusions will be automatically substituted by a bot. |
Without substitution of this template (or its short versions), features of the template will not work correctly.
- Use to welcome new editors and provide links to useful information spread out across Misplaced Pages.
- To add the default version to a user's talk page, write
{{subst:Welcome to Misplaced Pages}}
. To see how it works, transclude it in various forms to your own talk page or sandbox. - Can be given to IP or registered users. If given to an IP user, the content changes to advise the user to create an account, pointing out a few of the benefits. This applies to long IP addresses as well as the shorter IP addresses.
- An extra message can be appended to the header message. If desired, include your message as the first parameter, using a pipe (
|
) separator following the template name.- If your added message includes any equal signs (
=
), each one must be wrapped in doubled braces, as in{{=}}
. E.g., a diff should be written ashttps://en.wikipedia.org/search/?title{{=}}Template_talk:Welcome_to_Wikipedia&curid{{=}}32277318&diff{{=}}465230338&oldid{{=}}465229550
. - If your added message includes one or more pipes (
|
), replace each instance with{{!}}
. This calls the template {{!}}, which adds a pipe in its place.
- If your added message includes any equal signs (
- The template contains a section heading in the banner by default, so there is no need to add one manually.
- The section heading level is
<h2 />
(==
) by default, but can be changed by specifying the desired level as the second parameter. If the second parameter is a number from 2 to 6 (inclusive), the banner's heading will be set to the corresponding level. - If the second parameter is a non-numeric text (i.e., more than just "3" or "24" or an IP address), it will be used as a level 2 (
==
) section heading placed outside (above) the template body (as normal).
- The section heading level is
- There is no need to sign your addition as the template already contains code that does it for you. This will not work if you do not substitute the template.
- A shorthand of
{{subst:Wtw}}
or{{subst:Greet}}
may be used for this template.
Syntax simplified
{{subst:Welcome to Misplaced Pages |Extra message appended to header message |Section level if number between 2 and 6 (inclusive) or level 2 section heading if text string }}
Examples
{{subst:Welcome to Misplaced Pages}}
→ The standard version for registered or IP users. Auto detects whether IP or not.{{subst:Welcome to Misplaced Pages|Thanks for correcting the spelling at ].}}
→ Adds an extra message to the header.{{subst:Welcome to Misplaced Pages||4}}
→ Sets the "Welcome to Misplaced Pages" section heading in the banner to level 4 (====
){{subst:Welcome to Misplaced Pages||Message from a fellow editor}}
→ Sets the text as a normal level 2 (==
) section heading above the template message's banner (The template is the message within the section titled "Message from a fellow editor").
See also
The above documentation is transcluded from Template:Welcome to Misplaced Pages/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.