Fyrimynd:Db-notice/doc
Appearance
Hetta er ein dokumentatión undirsíða til Fyrimynd:Db-notice. Hon inniheldur kunning um nýtsluna, bólkar og um annað innihald, ið ikki er við í uppruna fyrimynd síðuni. |
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
[rætta wikitekst]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
[rætta wikitekst]Parameter name | Example 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 |
If the page the notification template is used on was previously a red link, and this parameter contains any text, then the text "thank you for your contributions" is omitted from the welcome message. This is used when the contributions are assumed not to be useful, such as in templates for vandalism or attack pages. |
icon |
File:Information icon4.svg |
The filename of the image used in the top-left-hand corner of the notice. |
wizard |
yes |
Shows a message box with advice about creating new articles. |
text |
The main text of the notice. This does not include the last paragraph, which is included automatically in every notice. Some aspects of the last paragraph can be changed with other parameters, however. | |
if you think that |
If this parameter exists, it will replace the text "the page was nominated in error" with the text it contains. | |
button |
no |
Setting this to "no" removes the text about clicking on the button labelled "Click here to contest this speedy deletion" in the speedy deletion tag. Useful if the related speedy deletion template doesn't have such a button. |
willprovide |
no |
By default, the template will include the sentence, "If the page is deleted, and you wish to retrieve the deleted material for future reference or improvement, you can place a request here." 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 |
This text will be appended to the very end of the notice. | |
rfudlink |
no |
If this parameter exists, the text prompting the user to go to WP:RFUD won't display. Useful as an alternative to willprovide if one can contact the deleting administrator to retrieve the article, but can't place a request on that page. Template:Db-notability-notice, for example, is set up to omit this part of the sentence.
|
See also
[rætta wikitekst]- {{db notice doc}}