Template:Welcome to the wiki: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(+ Layout break after messagebox; + Parameter to not make the messagebox state that it was manually added by another user, in case the template will be added automatically by a bot or when a user get registered)
(Simplifying the TemplateData since this template is no longer meant to be placed manually. Also, the TemplateData fields can apparently not handle MediaWiki markup.)
 
(6 intermediate revisions by 2 users not shown)
Line 6: Line 6:
We hope you will enjoy your stay!
We hope you will enjoy your stay!


If you need some help in general, do not be afraid to ask your questions at [[FlightGear wiki:Village pump]].
If you need some help in general, do not be afraid to ask your questions at [[FlightGear wiki:Village pump]].
 
Please remember to sign your messages on talk pages by typing four tildes (<nowiki>~~~~</nowiki>); this will automatically insert your username and the date.


Some links that may be of help (you can find more of them at [[Help:Contents]]):
Some links that may be of help (you can find more of them at [[Help:Contents]]):
Line 26: Line 28:
* [[Help:Glossary]] - Wiki terminology
* [[Help:Glossary]] - Wiki terminology
* [[FlightGear wiki:Manual of Style]] - The Style Manual
* [[FlightGear wiki:Manual of Style]] - The Style Manual
Again, welcome!
{{!}}}
{{!}}}
{{#if: {{{non-manual|}}}
{{#if: {{{added-by|}}} |
||
 


<small>''This template was added manually by {{#if: {{{added-by|}}} | {{usr|{{{added-by}}}}} | another user}}.''</small>}}
<small>''This template was added manually by {{usr|{{{added-by}}}}}.''</small>}}
<!-- | ca =  Catalan -->
<!-- | ca =  Catalan -->
<!-- | de =  German -->
<!-- | de =  German -->
Line 53: Line 57:
{{Informative template|1=
{{Informative template|1=
__NOTOC__
__NOTOC__
== Goal ==
This template is added on the top of newly created users' discussion pages (<code><nowiki>User talk:<Username></nowiki></code>) by the [https://www.mediawiki.org/wiki/Extension:NewUserMessage NewUserMessage] extension.
This template can be added to the top of user discussion pages as a greeting message.


Adding this template to a user discussion page will automatically add [[:Category:Users given welcome to the wiki template]] to that page.
This will hopefully get users better acquainted with the wiki's [[Help:Contents|documentation]], features and quirks (and maybe even make them skim through the [[FlightGear wiki:Manual of Style|Manual of Style]]).
 
When added to a user discussion page this template will automatically add [[:Category:Users given welcome to the wiki template]], unless the ''nocat'' parameter is not empty.
 
{{note|As this template formerly was not automatically added, the remaining parameters are still used by the templates that got placed manually.}}


== Usage ==
== Usage ==
Line 67: Line 74:
; added-by: Your user name (shown in page history anyway)
; added-by: Your user name (shown in page history anyway)


; lang: Two-letter language code for language to use instead of English.  If there is no translation for that language the English text will be used instead.
; lang: Two-letter language code for language to use instead of English.


; non-manual: If not empty the template will not state that it was added manually by another user
; nocat: If not empty the page will not be automatically categorized. This for example can be of help when discussion the template.
 
; nocat: If not empty the page will not be automatically categorized


== Examples ==
== Examples ==
Line 83: Line 88:
{{Welcome to the wiki |added-by=Example user}}
{{Welcome to the wiki |added-by=Example user}}


<nowiki>{{Welcome to the wiki |non-manual=yes}}</nowiki>
== History ==
{{Welcome to the wiki |non-manual=yes}}
As the NewUserMessage extension was added, and the template rarely, if ever was placed with no parameters the default behavior have changed . This as the extension seem to use just the template name (in essence with no parameters).
 
From this templates inception back in April 2016 up until the NewUserMessage extension was added in February 2021, this template was added manually to the discussion page of new users, and per default had the line ''This template was added manually by another user''.  However, as this template was added manually by [[User:Johan G]], he would, in case there was questions, use the '''added-by''' parameter.
}}
}}


[[Category:Messagebox templates]]
[[Category:Messagebox templates]]
</noinclude>
<templatedata>
{
"params": {},
"description": "This template is no longer meant to be added manually."
}
</templatedata></noinclude>

Latest revision as of 11:54, 1 March 2021

Welcome to the wiki, Welcome to the wiki!

We hope you will enjoy your stay!

If you need some help in general, do not be afraid to ask your questions at FlightGear wiki:Village pump.

Please remember to sign your messages on talk pages by typing four tildes (~~~~); this will automatically insert your username and the date.

Some links that may be of help (you can find more of them at Help:Contents):

Useful pages to get you started These might be useful too

Again, welcome!

The following template description is not displayed when the template is inserted in an article.

This template is added on the top of newly created users' discussion pages (User talk:<Username>) by the NewUserMessage extension.

This will hopefully get users better acquainted with the wiki's documentation, features and quirks (and maybe even make them skim through the Manual of Style).

When added to a user discussion page this template will automatically add Category:Users given welcome to the wiki template, unless the nocat parameter is not empty.

Note  As this template formerly was not automatically added, the remaining parameters are still used by the templates that got placed manually.

Usage

{{Welcome to the wiki |name= |added-by= |lang= |non-manual= |nocat= }}

All parameters are optional.

name
You can use a different name than the wiki user name used by default if the user on his user page have stated his real or another name.
added-by
Your user name (shown in page history anyway)
lang
Two-letter language code for language to use instead of English.
nocat
If not empty the page will not be automatically categorized. This for example can be of help when discussion the template.

Examples

{{Welcome to the wiki}}
Welcome to the wiki, Welcome to the wiki!

We hope you will enjoy your stay!

If you need some help in general, do not be afraid to ask your questions at FlightGear wiki:Village pump.

Please remember to sign your messages on talk pages by typing four tildes (~~~~); this will automatically insert your username and the date.

Some links that may be of help (you can find more of them at Help:Contents):

Useful pages to get you started These might be useful too

Again, welcome!


{{Welcome to the wiki |name=George "Auto" Butterfingers}}
Welcome to the wiki, George "Auto" Butterfingers!

We hope you will enjoy your stay!

If you need some help in general, do not be afraid to ask your questions at FlightGear wiki:Village pump.

Please remember to sign your messages on talk pages by typing four tildes (~~~~); this will automatically insert your username and the date.

Some links that may be of help (you can find more of them at Help:Contents):

Useful pages to get you started These might be useful too

Again, welcome!


{{Welcome to the wiki |added-by=Example user}}
Welcome to the wiki, Welcome to the wiki!

We hope you will enjoy your stay!

If you need some help in general, do not be afraid to ask your questions at FlightGear wiki:Village pump.

Please remember to sign your messages on talk pages by typing four tildes (~~~~); this will automatically insert your username and the date.

Some links that may be of help (you can find more of them at Help:Contents):

Useful pages to get you started These might be useful too

Again, welcome!

This template was added manually by Example user.


History

As the NewUserMessage extension was added, and the template rarely, if ever was placed with no parameters the default behavior have changed . This as the extension seem to use just the template name (in essence with no parameters).

From this templates inception back in April 2016 up until the NewUserMessage extension was added in February 2021, this template was added manually to the discussion page of new users, and per default had the line This template was added manually by another user. However, as this template was added manually by User:Johan G, he would, in case there was questions, use the added-by parameter.

This template is no longer meant to be added manually.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified