සැකිල්ල:Db-notice/ලේඛය
Appearance
This template is a meta-template used to create speedy deletion notifications. It is typically transcluded into another template.
All of the speedy deletion notification templates that Twinkle uses are based on this template.
Usage
[සංස්කරණය]Basic usage:
{{<includeonly>safesubst:</includeonly>db-notice |namespace = {{{namespace|}}} |target = {{{1}}} |nowelcome = {{{nowelcome|}}} |header = {{{header|}}} |header-text = {{{header-text|}}} |text = }}<!-- Template:Db-XX-notice --> <noinclude> {{documentation}} </noinclude>
All fields:
{{<includeonly>safesubst:</includeonly>db-notice |namespace = {{{namespace|}}} |target = {{{1}}} |nowelcome = {{{nowelcome|}}} |header = {{{header|}}} |header-text = {{{header-text|}}} |nothanks = |icon = |wizard = |text = |if you think that = |button = |willprovide = |additionally = }}<!-- Template:Db-XX-notice --> <noinclude> {{documentation}} </noinclude>
The template should usually be used with safesubst, so that the template can be both transcluded and substituted. In most cases templates made with this meta-template will be substituted on user talk pages, but sometimes transclusion is necessary, for example when creating template documentation.
Parameters
[සංස්කරණය]Parameter name | Possible values | Description |
---|---|---|
namespace |
{{{namespace|}}} |
The namespace of the page tagged for deletion. This should be passed through from the daughter template. |
target |
{{{1}}} |
This is the name of the page which was tagged for deletion. It should always be set as the first positional parameter. |
nowelcome |
{{{nowelcome|}}} , yes |
This template automatically welcomes users with {{first article}} if their user talk page was previously a red link (i.e. the deletion template is the first edit to the page). If this parameter is set to "yes", then this welcome is omitted. This should usually be passed through from the daughter template, unless a welcome is never desired (for example for G10, "attack pages"). |
header |
{{{header|}}} |
If this is set to "no", no section heading is generated before the deletion notification. This should be passed through from the daughter template to give end users control over whether they want to include a heading or not. |
header-text |
{{{header-text|}}} |
This allows users to specify custom text for the section heading before the deletion notice. This should usually be passed through from the daughter template. |
nothanks |
yes |
|
icon |
||
wizard |
yes | Shows a message box with advice about creating new articles |
if you think that |
||
button |
||
willprovide |
no |
By default, the template will include the sentence, "Lastly, please note that if the article does get deleted, you can contact one of these administrators to request that they userfy the article or have a copy emailed to you." If willprovide is equal to "no" then this sentence will be omitted. Template:Db-copyvio-notice, for instance, is set up to not include this sentence. |
additionally |
See also
[සංස්කරණය]- {{db notice doc}}