Template:Welcome to the wiki: Difference between revisions

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