Template:Welcome/doc: Difference between revisions

From TestWiki
Content added Content deleted
m (1 revision imported)
mNo edit summary
Line 1: Line 1:
{{#invoke:Template documentation|dokuseite}}
{{documentation subpage}}
<onlyinclude>
{{Twinkle standard installation}}
{{#invoke:Template documentation|doku
{{Subst only|auto=yes}}
|p1=1|t1=|d1=|m1=|f1=<!-- p: name of parameter; t: description; d: default; m: m=1 when mandatory; f=following line; g=another following line -->
{{frequent substitution}}
|p2=2|t2=|d2=|m2=|f2=
=== Usage ===
|count=<!-- number of parameters -->
{{Warning|You must [[Help:Watching pages|watch]] the user talk page you add this to!}}
|text=is a template for a welcome message

|rubrik= <!-- add the group name = name of template that creates group list -->
Add {{Tlsx|Welcome}}<code><nowiki> ~~~~</nowiki></code> to the user's talk page.
|norender=

|noexpand=}}</onlyinclude>
Parameters:
* {{Para|1|Sender}}&nbsp;– Username posting this message
* {{Para|art|Radar detector}}&nbsp;– Article to which the user contributed ''{{Green|positively}}'': {{Tlsx|Welcome|2=art=Radar detector}}
* {{Para|heading|no}}&nbsp;– Suppress the automatic heading: {{Tlsx|Welcome|2=heading=no}}
* {{Para|headtext|Greetings!}}&nbsp;– Change the contents of the heading: {{Tlsx|Welcome|2=headtext=Greetings!}}
* {{Para|newuser|y}}&nbsp;– for alternate text for users with 0 contributions (such as accounts just made via [[WP:ACC|ACC]])
* {{Para|notalk|y}} to disable automatic link back to poster's talk page (not sure why anyone would want to since it is in your signature anyway and is more friendly wording, but seems to be a common theme).

Shortcut: '''{{Tlsx|Wel}}<code><nowiki> ~~~~</nowiki></code>'''

=== For anonymous editors ===
Use {{Tlsx|Welcome-anon}} for anonymous (IP) editors.

=== With links to help forums ===
Use {{Tlsx|Welcome-t}} for a link to the [[Wikipedia:Teahouse|Teahouse]]. (This template does not need to be [[Wikipedia:Signatures|signed]], as it automatically adds signature).

Use {{Tlsx|Welcome-hd}} for a link to the [[Wikipedia:Help desk|Help desk]].

=== See also ===
* [[Wikipedia:Welcoming committee/Welcome templates|Wikipedia:Welcome templates]]
* {{tl|Register}}
* {{tl|Introductory article}}

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Add template's categories here -->
[[Category:Welcome templates|*]]
}}</includeonly>

Revision as of 13:00, 30 October 2020

This is the documention subpage ot the template Welcome


The template {{Welcome}} is a template for a welcome message

Parameter list

none

Copy&paste

{{Welcome}}

Application

{{Welcome}}

Wikitext

<includeonly><onlyinclude>

{{#switch:{{NAMESPACENUMBER}} |3|10= == Welcome! == {{{!}} style="background-color:black; padding:0;" cellpadding="0" {{!}}{{!}} {{{!}} 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=Template:Welcome]]<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 at the [[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:Request permissions{{!}}request sysop rights]], taking care to read the [[TestWiki:Administrators|information page]] 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:3}} namespace only</div> }}</onlyinclude> </includeonly>

{{Template documentation}}