Template:Welcome to the wiki: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (Johan G moved page User:Johan G/Template:Welcome to the wiki to Template:Welcome to the wiki without leaving a redirect: Good enough, but can undoubtedly be further improved)
(+- Some cleanup after the move; +- Better name of automatically added category; +- Better and uncommented category)
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 49: Line 48:
}}
}}


</div><noinclude><includeonly>{{#if: {{{nocat|}}} || {{user talk other|[[Category:User discussion pages with welcome template]]}}}}</includeonly>
</div><noinclude><includeonly>{{#if: {{{nocat|}}} || {{user talk other|[[Category:Users given welcome to the wiki template]]}}}}</includeonly>
{{Informative template|1=
{{Informative template|1=
__NOTOC__
__NOTOC__
Line 55: Line 54:
This template can be added to the top of user discussion pages as a greeting message.
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:User discussion pages with welcome template]] to that page.
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='' {{!}}''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.  If there is no translation for that language the English text will be used instead.


; 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}}


}}
}}


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

Revision as of 22:47, 17 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 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.

Usage

{{Welcome to the wiki |name= |added-by= |lang= |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. If there is no translation for that language the English text will be used instead.
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.