Template:Welcome

From TestWiki
Revision as of 13:10, 30 October 2020 by Lily (talk | contribs)
The template Welcome is hidden and visible only in embedding pages.

Template documentation edit · history · refresh · page infos
This template documentation is included from Template:Welcome/doc

The template {{Welcome}} is a template for a welcome message. This template should be used on user talk pages.

Parameter list

x
namedescriptiondefaultstatus
artan example of an article that the user has editedemptyoptional

Copy&paste

{{Welcome|art=}}

Application

{{Welcome}}
unfolds as wikitext:
<div class="strong error">This template should be used in [[:Template:Ns:]] namespace only</div>
renders as
This template should be used in Template:Ns: namespace only
{{Welcome|art=template:Welcome}}
unfolds as wikitext:
<div class="strong error">This template should be used in [[:Template:Ns:]] namespace only</div>
renders as
This template should be used in Template:Ns: namespace only

Wikitext

<includeonly><onlyinclude>

{{#switch:{{NAMESPACENUMBER}} |3= == Welcome! == {| style="background-color:black; padding:0;" cellpadding="0" | style="border:0px solid lightgrey; background-color:white; vertical-align:top; color:black; font-size:90%"| {| width="100%" cellpadding="1" cellspacing="3" style="vertical-align:top; background-color:#99ccff; padding:0;" ! <div style="margin:1; background-color:#ffffff; font-family:sans-serif; font-size:109%; font-weight:normal; border:1px solid lightgrey; text-align:justify; padding-left:0.8em; padding-right:0.8em; padding-top:0.4em; padding-bottom:0.4em;">[[File:NewLogo.png|center|link=]]<br>'''Hello, {{BASEPAGENAME}}!'''<br> Welcome to '''Public Test Wiki!''' Thank you for [[Special:Contributions/{{BASEPAGENAME}}|your contributions]]{{#if:{{{art|}}}|, such as the ones you made at [[{{{art}}}]].|.}} I hope that you get the most out of The Test Wiki! If you have any questions you can ask to [[TestWiki:Community portal|Community Portal]]. Please remember to '''sign your name''' on talk pages by typing four tildes "~&#126;~~"; this will automatically produce your name and the date. If you so desire, feel free to [[TestWiki:Administrators|request sysop rights]], taking care to read the policy on how to do so. Finally, please do your best to always fill in the '''edit summary''' field. Happy editing! </div> |} |} |#default=<div class="strong error">This template should be used in {{ns:#}} namespace only</div> }}</onlyinclude> </includeonly>

{{Template documentation}}

Subpages

bottom