Template:Welcome to the wiki: Difference between revisions

Jump to navigation Jump to search
Changes for use by Extension:NewUserMessage: +- Remove some parameters and defaults used when the template was added manually; +-doc: -Goal heading; +TemplateData; +Section: History
No edit summary
(Changes for use by Extension:NewUserMessage: +- Remove some parameters and defaults used when the template was added manually; +-doc: -Goal heading; +TemplateData; +Section: History)
Line 31: Line 31:
Again, welcome!
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 57: 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 is intended to be placed on the top of users discussion pages (<code><nowiki>User talk:<Username></nowiki></code>). New users can be found on [[Special:RecentChanges]] and in the [http://wiki.flightgear.org/index.php?title=Special%3ALog&type=newusers&user=&page=&year=&month=-1&tagfilter=&hide_patrol_log=1&hide_tag_log=1 user creation log].
 
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]]).


This will hopefully get users better aquatinted 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.


Adding this template to a user discussion page will automatically add [[:Category:Users given welcome to the wiki template]] to that page.
{{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 75: Line 76:
; lang: Two-letter language code for language to use instead of English.
; 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 89: 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": {
"name": {
"description": "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.",
"type": "string"
},
"added-by": {
"description": "Your user name (shown in page history anyway)",
"type": "string"
},
"nocat": {
"description": "If not empty the page will not be automatically categorized. This for example can be of help when discussion the template."
}
},
"description": "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.\n\nThis 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]]).\n\nWhen 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.\n\n{{note|As this template formerly was not automatically added, the remaining parameters are still used by the templates that got placed manually.}}",
"format": "inline"
}
</templatedata></noinclude>

Navigation menu