Difference between revisions of "Template:Db deleted doc/usage"

From blackwiki
Jump to navigation Jump to search
imported>Amorymeltzer
 
imported>Graham87
m (add word)
 
Line 5: Line 5:
 
--></noinclude>{{ed right|Db deleted doc/usage}}<!-- If you can see this comment (which means that this template has been substituted), please remove both this comment and the {{ed right}} template to the left. -->This template should be [[Help:Substitution|substituted]] on to the [[WP:USERTALK|user talk page]] of the author of the page that has been speedily deleted.
 
--></noinclude>{{ed right|Db deleted doc/usage}}<!-- If you can see this comment (which means that this template has been substituted), please remove both this comment and the {{ed right}} template to the left. -->This template should be [[Help:Substitution|substituted]] on to the [[WP:USERTALK|user talk page]] of the author of the page that has been speedily deleted.
  
If this template is used on a page that did not previously exist (that is, if the user receiving the warning is new user), the template automatically includes a {{tl|first article}} welcome message. {{{{{|safesubst:}}}#if: {{{nowelcome|}}} | This welcome can be turned off with the {{para|nowelcome}} parameter as described below. }}<noinclude>
+
If this template is used on a page that did not previously exist (that is, if the user receiving the warning is a new user), the template automatically includes a {{tl|first article}} welcome message. {{{{{|safesubst:}}}#if: {{{nowelcome|}}} | This welcome can be turned off with the {{para|nowelcome}} parameter as described below. }}<noinclude>
  
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 08:15, 26 September 2020

This template should be substituted on to the user talk page of the author of the page that has been speedily deleted.

If this template is used on a page that did not previously exist (that is, if the user receiving the warning is a new user), the template automatically includes a {{first article}} welcome message.

Template documentation[view] [edit] [history] [purge]

This template is used to create the "usage" section for the documentation pages of the different post-deletion speedy deletion notification templates. This template affects all of the notification templates - if you only want to edit the documentation for one particular notification template, please go back to the documentation page for that template and add your new text directly after the {{db deleted doc/usage}} text.

Usage

This template should usually be transcluded. However, it is also possible to substitute it if a customized version is needed for an individual documentation page.

Basic usage

{{db deleted doc/usage
|nowelcome = yes
}}

Parameters

  • nowelcome:- If this parameter exists, an explanation will be included about the |nowelcome= and how it can suppress the welcome message. Leave this parameter blank if you don't want to include the explanation.

Substituting

If the text of this template is too restrictive and you want to make a custom version for an individual template documentation page, you can substitute the template. To do this, simply add subst: after the two opening curly braces to the template that already exists on the page:

{{subst:db deleted doc/usage
|nowelcome = yes
}}

After you have substituted the template, you can customize the text however you want.

See also

Subpages of {{db deleted doc}}: