Template:Db notice doc/parameters/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>WOSlinker at 11:20, 18 May 2023 (syntaxhighlight lang="wikitext"). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is used to create the "parameters" section for the documentation pages of the different 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 notice doc/parameters}} text.

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

[edit source]
{{db notice doc/parameters
|nowelcome       = yes
|header          = yes
|header-text     = yes
|demo            = yes
|namespace       = yes
}}

Parameters

[edit source]
|nowelcome=
If this parameter exists, an explanation of the "nowelcome" parameter for the notification template will be included. Leave this parameter blank if you don't want to include the explanation.
|header=
If this parameter exists, an explanation of the "header" parameter for the notification template will be included. Leave this parameter blank if you don't want to include the explanation.
|header-text=
If this parameter exists, an explanation of the "header-text" parameter for the notification template will be included. Leave this parameter blank if you don't want to include the explanation.
|demo=
If this parameter exists, an explanation of the "demo" parameter for the notification template will be included. Leave this parameter blank if you don't want to include the explanation.
|namespace=
If this parameter exists, an explanation of the "namespace" parameter for the notification template will be included. Leave this parameter blank if you don't want to include the explanation.

Substituting

[edit source]

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 notice doc/parameters
|nowelcome       = yes
|header          = yes
|header-text     = yes
|demo            = yes
|namespace       = yes
}}

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

See also

[edit source]

Subpages of {{db notice doc}}: