Template:Welcome to the wiki: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Adding support for translating the template to other languages, which is kind of moot since the help pages are mostly in English)
(doc: Unfortunately the LangSwitch template does not default to English.)
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>''Please add suggestions to the [[User talk:Johan G/Template:Welcome to the wiki|discussion page'']]
<div style="width: 75%; margin-left: 5%; background: #eeeeff; padding: 10px; border-color: #8888ff; border-style: solid; border-width: 1px; text-align: left;"><!--
 
-->{{LangSwitch
</noinclude><div style="width: 75%; margin-left: 5%; background: #eeeeff; padding: 10px; border-color: #8888ff; border-style: solid; border-width: 1px; text-align: left;">{{LangSwitch
| en = <!-- English -->
| en = <!-- English -->
<big>'''Welcome to the wiki, {{#if: {{{name|}}} | {{{name}}} | {{BASEPAGENAME}}}}!'''</big>  
<big>'''Welcome to the wiki, {{#if: {{{name|}}} | {{{name}}} | {{BASEPAGENAME}}}}!'''</big>  
Line 28: Line 27:
* [[FlightGear wiki:Manual of Style]] - The Style Manual
* [[FlightGear wiki:Manual of Style]] - The Style Manual
{{!}}}
{{!}}}
{{#if: {{{non-manual|}}}
||


<small>''This template was added manually by {{#if: {{{added-by|}}} | {{usr|{{{added-by}}}}} | another user}}.''</small>  
<small>''This template was added manually by {{#if: {{{added-by|}}} | {{usr|{{{added-by}}}}} | another user}}.''</small>}}
<!-- | ca =  Catalan -->
<!-- | ca =  Catalan -->
<!-- | de =  German -->
<!-- | de =  German -->
Line 49: Line 50:
}}
}}


</div><noinclude><includeonly>{{#if: {{{nocat|}}} || {{user talk other|[[Category:User discussion pages with welcome template]]}}}}</includeonly>
</div><includeonly>{{#if: {{{nocat|}}} || {{user talk other|[[Category:Users given welcome to the wiki template]]}}}}{{-}}</includeonly><noinclude>
{{Informative template|1=
{{Informative template|1=
__NOTOC__
__NOTOC__
== Goal ==
== Goal ==
This template can be added to the top of user discussion pages as a greeting message.
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].


Adding this template to a user discussion page will automatically add [[:Category:User discussion pages with welcome template]] to that page.
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]]).
 
Adding this template to a user discussion page will automatically add [[:Category:Users given welcome to the wiki template]] to that page.


== Usage ==
== Usage ==
  {{obr}}'''Welcome to the wiki''' {{!}}''name='' {{!}}''added-by='' {{!}}''nocat='' {{!}}''lang='' {{cbr}}
  {{obr}}'''Welcome to the wiki''' {{!}}''name='' {{!}}''added-by='' {{!}}''lang='' {{!}}''non-manual='' {{!}}''nocat='' {{cbr}}


All parameters are optional.
All parameters are optional.


; name: You can use a different name that the wiki user name used by default if the user on his user page have stated his real or another name.
; 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)
; added-by: Your user name (shown in page history anyway)
; 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
; nocat: If not empty the page will not be automatically categorized
; 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.


== Examples ==
== Examples ==
  <nowiki>{{Welcome to the wiki}}</nowiki>
  <nowiki>{{Welcome to the wiki}}</nowiki>
{{User:Johan G/Template:Welcome to the wiki}}
{{Welcome to the wiki}}


  <nowiki>{{Welcome to the wiki |name=George "Auto" Butterfingers}}</nowiki>
  <nowiki>{{Welcome to the wiki |name=George "Auto" Butterfingers}}</nowiki>
{{User:Johan G/Template:Welcome to the wiki |name=George "Auto" Butterfingers}}
{{Welcome to the wiki |name=George "Auto" Butterfingers}}


  <nowiki>{{Welcome to the wiki |added-by=Example user}}</nowiki>
  <nowiki>{{Welcome to the wiki |added-by=Example user}}</nowiki>
{{User:Johan G/Template: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>
{{Welcome to the wiki |non-manual=yes}}
}}
}}


<!-- [[Category:Templates]] -->
[[Category:Messagebox templates]]
</noinclude>
</noinclude>

Revision as of 10:20, 26 April 2019

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.

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

This template was added manually by another user.

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

Goal

This template is intended to be placed on the top of users discussion pages (User talk:<Username>). New users can be found on Special:RecentChanges and in the user creation log.

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

Adding this template to a user discussion page will automatically add Category:Users given welcome to the wiki template to that page.

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.
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

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.

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

This template was added manually by another user.


{{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.

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

This template was added manually by another user.


{{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.

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

This template was added manually by Example user.


{{Welcome to the wiki |non-manual=yes}}
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.

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