Template:Welcome to Wikipedia/sandbox: Difference between revisions
Use Template:hlist Tag: Reverted |
Test with html tags Tag: Reverted |
||
Line 1: | Line 1: | ||
<h2>Welcome to Wikipedia!</h2><!-- BEGIN WELCOME TEMPLATE {{Welcome to Wikipedia}} --> |
|||
<!-- BEGIN HEADER --><div style="border-color:#aae1ff;border-style:solid;border-width:1px;padding:5px 5px 0 5px;background-color:#f3f3f3;text-align:center;border-radius:10px 10px 0 0;font-size: 1.5em;font-weight: bold;font-family:serif;">[[File:Face-smile.svg|40px|link=Help:Contents]]Welcome {{{{{|safesubst:}}}Ipt|to Wikipedia|{{{{{|safesubst:}}}PAGENAME}}}}<noinclude><span style="color:#a00;">"to Wikipedia" (For IPs) or "Example" (For User:Example)</span></noinclude>!</div> |
<!-- BEGIN HEADER --><div style="border-color:#aae1ff;border-style:solid;border-width:1px;padding:5px 5px 0 5px;background-color:#f3f3f3;text-align:center;border-radius:10px 10px 0 0;font-size: 1.5em;font-weight: bold;font-family:serif;">[[File:Face-smile.svg|40px|link=Help:Contents]]Welcome {{{{{|safesubst:}}}Ipt|to Wikipedia|{{{{{|safesubst:}}}PAGENAME}}}}<noinclude><span style="color:#a00;">"to Wikipedia" (For IPs) or "Example" (For User:Example)</span></noinclude>!</div> |
||
<!-- END HEADER - BEGIN BODY --><div style="border:1px solid #aae1ff;padding:5px;text-align:left;background-color:#f3f3f3;margin:5px 0;">Hello {{{{{|safesubst:}}}Ipt|[[Wikipedia:IP users|IP user]]|{{{{{|safesubst:}}}PAGENAME}}}}<noinclude><span style="color:#a00;">"IP user" (For IP's) or "Example" (For User:Example)</span></noinclude>. [[Help:Getting started|Welcome]] to Wikipedia and thank you for [[Special:Contributions/<includeonly>{{{{{|safesubst:}}}PAGENAME}}</includeonly>|your contributions]]!<br/> |
<!-- END HEADER - BEGIN BODY --><div style="border:1px solid #aae1ff;padding:5px;text-align:left;background-color:#f3f3f3;margin:5px 0;">Hello {{{{{|safesubst:}}}Ipt|[[Wikipedia:IP users|IP user]]|{{{{{|safesubst:}}}PAGENAME}}}}<noinclude><span style="color:#a00;">"IP user" (For IP's) or "Example" (For User:Example)</span></noinclude>. [[Help:Getting started|Welcome]] to Wikipedia and thank you for [[Special:Contributions/<includeonly>{{{{{|safesubst:}}}PAGENAME}}</includeonly>|your contributions]]!<br/> |
Revision as of 15:14, 2 February 2023
Welcome to Wikipedia!
I'm Your Username, one of the other editors here, and I hope you decide to stay and help contribute to this amazing repository of knowledge. Message advising IP's to create an account. Any additional message placed here if added.
Some pages of helpful information to get you started: | Some common sense Dos and Don'ts:
|
If you need further help, you can: | or you can: | or even: |
Alternatively, leave me a message at my talk page or type {{Help me}}
here on your talk page and someone will try to help.
There are many ways you can contribute to Wikipedia. Here are a few ideas:
|
|
To get some practice editing you can use a sandbox. You can Different message for users and IP's on users creating their own sandbox for use any time. It's perfect for working on bigger projects. Then for easy access in the future, you can put a link to it on your user page. Message to encourage users to create their own user page..
Please 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 "IP address" (For IP's) or "signature" (For users), a link to "this IP's" (For IP's) or "your" (For users) talk page, and a timestamp. - Leave descriptive edit summaries for your edits. Doing so helps other editors understand what changes you have made and why you made them.
This is the template sandbox page for Template:Welcome to Wikipedia (diff). See also the companion subpage for test cases. |
Usage
This template should always be substituted (i.e., use {{subst:Welcome to Wikipedia}} ). 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 Wikipedia.
- To add the default version to a user's talk page, write
{{subst:Welcome to Wikipedia}}
. 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/w/index.php?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 Wikipedia
|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 Wikipedia}}
→ The standard version for registered or IP users. Auto detects whether IP or not.{{subst:Welcome to Wikipedia|Thanks for correcting the spelling at [[Example]].}}
→ Adds an extra message to the header.{{subst:Welcome to Wikipedia||4}}
→ Sets the "Welcome to Wikipedia" section heading in the banner to level 4 (====
){{subst:Welcome to Wikipedia||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").