Template:Welcome-Mauritius/doc
Appearance
![]() | This is a documentation subpage for Template:Welcome-Mauritius. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]![]() | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
![]() | This template should 'always' be substituted. |
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-Mauritius}}
. 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.
- An extra message can be appended to the welcome 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://wiki.riteme.site/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 (
- 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.
Syntax simplified
[edit]{{subst:Welcome-Mauritius
|Extra message appended to header message
}}
Examples
[edit]{{subst:Welcome-Mauritius}}
→ The standard version for registered or IP users. Auto detects whether IP or not.{{subst:Welcome-Mauritius|Thanks for correcting the spelling on [[Example{{!}}this page]].}}
→ Adds an extra message to the header.
See also
[edit]