Template:Welcome to the wiki: Difference between revisions
m (fix: Broken autocat) |
(+ 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) |
||
Line 27: | 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 48: | Line 50: | ||
}} | }} | ||
</div><includeonly>{{#if: {{{nocat|}}} || {{user talk other|[[Category:Users given welcome to the wiki template]]}}}}</includeonly><noinclude> | </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__ | ||
Line 57: | Line 59: | ||
== Usage == | == Usage == | ||
{{obr}}'''Welcome to the wiki''' {{!}}''name='' {{!}}''added-by='' {{!}}''lang='' {{!}}''nocat='' {{cbr}} | {{obr}}'''Welcome to the wiki''' {{!}}''name='' {{!}}''added-by='' {{!}}''lang='' {{!}}''non-manual='' {{!}}''nocat='' {{cbr}} | ||
All parameters are optional. | All parameters are optional. | ||
Line 66: | Line 68: | ||
; 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. If there is no translation for that language the English text will be used instead. | ||
; 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 | ||
Line 79: | Line 83: | ||
{{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:Messagebox templates]] | [[Category:Messagebox templates]] | ||
</noinclude> | </noinclude> |
Revision as of 16:30, 19 April 2019
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.
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= |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. If there is no translation for that language the English text will be used instead.
- 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}}
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}}
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}}
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}}
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 |
---|---|
|
|