Template:Welcome to Wikipedia/sandbox: Difference between revisions
Use Template:hlist Tag: Reverted |
Load previous version |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Welcome to Wikipedia!==<!-- BEGIN WELCOME TEMPLATE {{Welcome to Wikipedia}} --> |
{{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#ifexpr:{{{2|2}}}<2 or {{{2|2}}}>6||}}|{{{|==}}}{{{{{|safesubst:}}}#ifeq:{{{2}}}||Welcome to Wikipedia!|{{{2}}}}}{{{|==}}}}} <!-- BEGIN WELCOME TEMPLATE {{Welcome to Wikipedia}} --> |
||
<!-- BEGIN HEADER --> |
|||
<!-- 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> |
|||
< |
<{{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#ifexpr:{{{2|2}}}<2 or {{{2|2}}}>6|h2|h{{{2|2}}}}}|div}} style="margin:20px 0 0 0;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;">[[File:Face-smile.svg|40px|link=Help:Contents]]{{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#ifexpr:{{{2|2}}}<2 or {{{2|2}}}>6||}}|<span style{{{|=}}}"font-size:180%;font-family:serif;vertical-align:bottom;">}}Welcome {{{{{|safesubst:}}}Ipt|to Wikipedia|{{{{{|safesubst:}}}PAGENAME}}|<span style{{{|=}}}"color:#a00;">"to Wikipedia" FOR IPs OR THE REGISTERED USER'S NAME</span>}}!<!-- |
||
-->{{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#ifexpr:{{{2|2}}}<2 or {{{2|2}}}>6||}}|</span>}}</{{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#ifexpr:{{{2|2}}}<2 or {{{2|2}}}>6|h2|h{{{2|2}}}}}|div}}><!-- END HEADER - BEGIN BODY --> |
|||
⚫ | I'm [[User:{{{{{|safesubst:}}}REVISIONUSER}}|<noinclude><span style="color:#a00;"> |
||
<div style="border:1px solid #aae1ff;padding:5px;text-align:left;background-color:#f3f3f3;margin-top:5px;">Hello {{{{{|safesubst:}}}Ipt|[[Wikipedia:IP users|IP user]]|{{{{{|safesubst:}}}PAGENAME}}|<span style{{{|=}}}"color:#a00;">"IP user" OR THE REGISTERED USER'S NAME</span>}}. [[Help:Getting started|Welcome]] to Wikipedia and thank you for <includeonly>[[Special:Contributions/{{{{{|safesubst:}}}PAGENAME}}|your contributions]]</includeonly><noinclude><span style="color:#a00;">LINK TO USER'S CONTRIBS</span></noinclude>!<br /> |
|||
⚫ | I'm <includeonly>[[User:{{{{{|safesubst:}}}REVISIONUSER}}|{{{{{|safesubst:}}}REVISIONUSER}}]]</includeonly><noinclude><span style="color:#a00;">WELCOMER</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 Wikipedia without registering, it's highly recommended you [[Special:CreateAccount|create an account]] as there are [[Wikipedia:Why create an account?|many added benefits]]. It's private and secure and it's also free, simple, and quick to do.||<span style{{{|=}}}"color:#a00;">IP's ADVISED TO CREATE AN 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 37: | Line 39: | ||
:[[File:Presa de decissions.png|20px|link=Wikipedia:Adopt-a-user]] [[Wikipedia:Adopt-a-user|Ask an experienced editor to "adopt" you]] |
:[[File:Presa de decissions.png|20px|link=Wikipedia:Adopt-a-user]] [[Wikipedia:Adopt-a-user|Ask an experienced editor to "adopt" you]] |
||
|} |
|} |
||
Alternatively, leave me a message at [[User talk: |
Alternatively, leave me a message at <includeonly>[[User talk:{{{{{|safesubst:}}}REVISIONUSER}}|my talk page]]</includeonly><noinclude><span style="color:#a00;">LINK TO WELCOMER'S TALK PAGE</span></noinclude> or type <code><nowiki>{{helpme}}</nowiki></code> here on your talk page and someone will try to help. |
||
{|width="100%" style="background-color:#fff;width:100%;border:1px solid #aae1ff;" |
{|width="100%" style="background-color:#fff;width:100%;border:1px solid #aae1ff;" |
||
|- |
|- |
||
Line 51: | Line 53: | ||
:[[File:Translation icon cropped.svg|20px|link=WP:PNT]] [[Wikipedia:Translation|Translate]] articles from [[List of Wikipedias|Wikipedias in other languages]] |
:[[File:Translation icon cropped.svg|20px|link=WP:PNT]] [[Wikipedia:Translation|Translate]] articles from [[List of Wikipedias|Wikipedias in other languages]] |
||
|} |
|} |
||
To get some practice editing you can [[Draft:Sandbox|use a sandbox]]. {{{{{|safesubst:}}}Ipt|If you register an account, y|Y|Y}}ou can |
To get some practice editing you can [[Draft:Sandbox|use a sandbox]]. {{{{{|safesubst:}}}Ipt|If you register an account, y|Y|Y}}ou can {{{{{|safesubst:}}}Ipt|create your own personal sandbox|<span class{{{|=}}}"plainlinks">[{{{{{|safesubst:}}}fullurl:Special:Mypage/sandbox|action{{{|=}}}edit&preload{{{|=}}}Template:User_Sandbox/preload}} create your own personal sandbox]</span>|<span style{{{|=}}}"color:#a00;">REGISTERED USERS CAN CREATE THEIR OWN SANDBOX</span>}} for use any time. It's 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}}|[[Special:MyPage|your userpage]]|your user page. By the way, seeing as you haven't created a user page yet, simply click [[Special:MyPage|here]] to start it}}|your user page. <span style{{{|=}}}"color:#a00;">REGISTERED USERS WITH NO USER PAGE ENCOURAGED TO CREATE IT</span>}}. |
||
Please remember to: |
Please remember to: |
||
*Always [[Wikipedia:Signatures|sign your posts]] on talk pages. You can do this either by clicking on the {{{{{|safesubst:}}}Usig|i}} button on the [[Help:Edit toolbar|edit toolbar]] or by typing four [[tilde]]s <code><nowiki>~~~~</nowiki></code> at the end of your post. This will automatically insert your {{{{{|safesubst:}}}Ipt|[[IP address]] linked to [[Special:Contributions/{{{{{|safesubst:}}}PAGENAME}}|your contributions page]] (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)|[[Special:Preferences#mw-prefsection-personal|signature]] |
*Always [[Wikipedia:Signatures|sign your posts]] on talk pages. You can do this either by clicking on the {{{{{|safesubst:}}}Usig|i}} button on the [[Help:Edit toolbar|edit toolbar]] or by typing four [[tilde]]s <code><nowiki>~~~~</nowiki></code> at the end of your post. This will automatically insert your {{{{{|safesubst:}}}Ipt|[[IP address]] linked to [[Special:Contributions/{{{{{|safesubst:}}}PAGENAME}}|your contributions page]] (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)|[[Special:Preferences#mw-prefsection-personal|signature]]|<span style{{{|=}}}"color:#a00;">EITHER "signature" OR "IP address"</span>}}, a link to {{{{{|safesubst:}}}Ipt|this IP's|your|<span style{{{|=}}}"color:#a00;">EITHER "this IP's" OR "your"</span>}} talk page, and a [[timestamp]]. |
||
*Leave descriptive [[Help:Edit summary|edit summaries]] for your edits. Doing so helps other editors understand what changes you have made and why you made them.<br/> |
*Leave descriptive [[Help:Edit summary|edit summaries]] for your edits. Doing so helps other editors understand what changes you have made and why you made them.<br style="line-height:220%" /> |
||
The best way to learn about something is to experience it. Explore, learn, contribute, and don't forget to [[Wikipedia:Department of Fun|have some fun!]]</div> |
The best way to learn about something is to experience it. Explore, learn, contribute, and don't forget to [[Wikipedia:Department of Fun|have some fun!]]</div> |
||
<!-- END BODY - BEGIN FOOTER --> |
<!-- END BODY - BEGIN FOOTER --> |
||
<div style="border:1px solid #aae1ff;padding:5px;background-color:#f3f3f3;text-align:center;border-radius:0 0 10px 10px;"> |
<div style="border:1px solid #aae1ff;padding:5px;background-color:#f3f3f3;text-align:center;margin:5px 0 20px 0;border-radius:0 0 10px 10px;"> |
||
Sincerely, |
Sincerely, {{{{{|safesubst:}}}Usig}} <includeonly><span class="plainlinks"><span style="font-size:.9em">[{{{{{|safesubst:}}}fullurl:User_talk:{{{{{|safesubst:}}}urlencode:{{{{{|safesubst:}}}REVISIONUSER}}|PATH}}|action=edit§ion=new&preload=Template:Welcome_to_Wikipedia/user-talk_preload}} (Leave me a message)]</span></span></includeonly><noinclude><small>(Leave me a message)</small></noinclude> |
||
<br /> |
|||
{{hlist|style=font-size:90%; |
|||
<small>{{flatlist| |
|||
|{{lang|es|[[:es:Wikipedia:Portada|Español]]|italic=no}} |
|||
*{{lang|es|[[:es:Wikipedia:Portada|Español]]|italic=no}} |
|||
*{{lang|de|[[:de:Wikipedia:Hauptseite|Deutsch]]|italic=no}} |
|||
*{{lang|fr|[[:fr:Wikipédia:Accueil principal|Français]]|italic=no}} |
|||
*{{lang|it|[[:it:Pagina principale|Italiano]]|italic=no}} |
|||
*{{lang|he|[[:he:עמוד ראשי|עברית]]|italic=no}} |
|||
*{{lang|ru|[[:ru:главная страница|Русский]]|italic=no}} |
|||
*{{lang|ja|[[:ja:メインページ|日本語]]|italic=no}} |
|||
*{{lang|pl|[[:pl:Strona główna|Polski]]|italic=no}} |
|||
*{{lang|fa|[[:fa:صفحهٔ اصلی|فارسی ]]|italic=no}}}}</small> |
|||
<!-- END FOOTER - END WELCOME TEMPLATE {{Welcome to Wikipedia}} --></div> |
<!-- END FOOTER - END WELCOME TEMPLATE {{Welcome to Wikipedia}} --></div><noinclude> |
||
<noinclude> |
|||
{{documentation}} |
{{documentation}} |
||
</noinclude> |
</noinclude> |
Latest revision as of 09:37, 4 February 2023
Welcome "to Wikipedia" FOR IPs OR THE REGISTERED USER'S NAME!
I'm WELCOMER, one of the other editors here, and I hope you decide to stay and help contribute to this amazing repository of knowledge. IP's ADVISED TO CREATE AN ACCOUNT. EXTRA MESSAGE 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 LINK TO WELCOMER'S TALK PAGE or type {{helpme}}
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 REGISTERED USERS CAN CREATE 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. REGISTERED USERS WITH NO USER PAGE ENCOURAGED TO CREATE IT.
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 EITHER "signature" OR "IP address", a link to EITHER "this IP's" OR "your" 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.
Sincerely, ~~~~ (Leave me a message)
This is the template sandbox page for Template:Welcome to Wikipedia (diff). See also the companion subpage for test cases. |
Usage
[edit]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
[edit]{{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
[edit]{{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").
See also
[edit]