Template:Welcome to the wiki: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (Pleas add suggestions to the discussion page)
(Adding support for translating the template to other languages, which is kind of moot since the help pages are mostly in English)
Line 1: Line 1:
<noinclude>''Please add suggestions to the [[User talk:Johan G/Template:Welcome to the wiki|discussion page'']]
<noinclude>''Please add suggestions to the [[User talk:Johan G/Template:Welcome to the wiki|discussion page'']]


</noinclude><div style="width: 75%; margin-left: 5%; background: #eeeeff; padding: 10px; border-color: #8888ff; border-style: solid; border-width: 1px; text-align: left;"><big>'''Welcome to the wiki, {{#if: {{{name|}}} | {{{name}}} | {{BASEPAGENAME}}}}!'''</big>
</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 -->
<big>'''Welcome to the wiki, {{#if: {{{name|}}} | {{{name}}} | {{BASEPAGENAME}}}}!'''</big>  


We hope you will enjoy your stay!
We hope you will enjoy your stay!
Line 9: Line 11:
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]]):


{|
{{{!}}
! Useful pages to get you started !! These might be useful too
! Useful pages to get you started !! These might be useful too
|-
{{!-}}
| style="vertical-align: top;" |
{{!}} style="vertical-align: top;" {{!}}
* [[Help:Tracking changes]] - Ways to follow changes on the wiki
* [[Help:Tracking changes]] - Ways to follow changes on the wiki
* [[Help:Discussion pages]] - Using discussion pages
* [[Help:Discussion pages]] - Using discussion pages
Line 18: Line 20:
* [[Help:Categories]] - Using categories
* [[Help:Categories]] - Using categories
* [[Help:Upload]] - Image uploading
* [[Help:Upload]] - Image uploading
| style="vertical-align: top;" |
{{!}} style="vertical-align: top;" {{!}}
* [[Help:Main navigation elements]] - Tools available on all pages
* [[Help:Main navigation elements]] - Tools available on all pages
* [[Help:Namespaces]] - What are namespaces?
* [[Help:Namespaces]] - What are namespaces?
Line 25: Line 27:
* [[Help:Glossary]] - Wiki terminology
* [[Help:Glossary]] - Wiki terminology
* [[FlightGear wiki:Manual of Style]] - The Style Manual
* [[FlightGear wiki:Manual of Style]] - The Style Manual
|}
{{!}}}


<small>''This template was added manually by {{#if: {{{added-by|}}} | {{usr|{{{added-by}}}}} | another user}}.''</small></div><noinclude><includeonly>{{#if: {{{nocat|}}} || {{user talk other|[[Category:User discussion pages with welcome template]]}}}}</includeonly>
<small>''This template was added manually by {{#if: {{{added-by|}}} | {{usr|{{{added-by}}}}} | another user}}.''</small>  
<!-- | ca =  Catalan -->
<!-- | de =  German -->
<!-- | es =  Spanish -->
<!-- | fa =  Persian -->
<!-- | fi =  Finnish -->
<!-- | fr =  French -->
<!-- | it =  Italian -->
<!-- | ja =  Japanese -->
<!-- | nl =  Dutch -->
<!-- | pl =  Polish -->
<!-- | pt =  Portugese -->
<!-- | ru =  Russian -->
<!-- | sl =  Slovenian -->
<!-- | sr =  Serbian -->
<!-- | sv =  Swedish -->
<!-- | zh =  Chinese -->
| lang = {{{lang|}}}
}}
 
</div><noinclude><includeonly>{{#if: {{{nocat|}}} || {{user talk other|[[Category:User discussion pages with welcome template]]}}}}</includeonly>
{{Informative template|1=
{{Informative template|1=
__NOTOC__
__NOTOC__
Line 36: Line 58:


== Usage ==
== Usage ==
  {{obr}}'''Welcome to the wiki''' {{!}}''name='' {{!}}''added-by='' {{!}}''nocat=''{{cbr}}
  {{obr}}'''Welcome to the wiki''' {{!}}''name='' {{!}}''added-by='' {{!}}''nocat='' {{!}}''lang='' {{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 that 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)


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

Revision as of 21:59, 17 April 2019

Please add suggestions to the discussion page

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:User discussion pages with welcome template to that page.

Usage

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

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.
added-by
Your user name (shown in page history anyway)
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

{{Welcome to the wiki}}

User:Johan G/Template:Welcome to the wiki

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

User:Johan G/Template:Welcome to the wiki

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

User:Johan G/Template:Welcome to the wiki