ढाँचा:Db-notice/doc

विकिपिडिया, एक स्वतन्त्र विश्वकोशबाट
Jump to navigation Jump to search

शीघ्र मेट्नुपर्ने चेतावनीहरू

Tयो ढाँचा एक मेटा-ढाँचा हो जुन शीघ्र मेट्नुपर्ने सूचनाहरू सिर्जना गर्न प्रयोग गरिन्छ। यो सामान्यतः अर्को ढाँचामा पारिणत गरिएको हुनुपर्छ।

सबै ट्विङ्कल प्रयोग गर्ने शीघ्र मेट्नुपर्ने सूचना ढाँचाहरू यो ढाँचामा आधारित छन्। जब प्रयोगकर्ताले सिर्जना गरेको पृष्ठ शीघ्र मेटाउनेको लागि नामाङ्कन गरिएको हुन्छ ट्विङ्कलले यो सन्देश प्रयोगकर्ताको वार्ता पृष्ठमा स्वचालित रूपमा थप्नेछ। जस्तै, प्रयोगकर्ताहरूले कहिल्यै स्वयं कुनै पनि पृष्ठमा यो टेम्पलेट थप्न असम्भव हुन सक्छ।

प्रयोग[सम्पादन गर्ने]

आधारभूत प्रयोग:

{{SAFESUBST:<noinclude />db-notice
|namespace     = {{{namespace|}}}
|target        = {{{1}}}
|nowelcome     = {{{nowelcome|}}}
|header        = {{{header|}}}
|header-text   = {{{header-text|}}}
|text          = 
}}<!-- Template:Db-XX-notice --> <noinclude>
{{documentation}}
</noinclude>

सबै क्षेत्रहरू:

{{SAFESUBST:<noinclude />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>

यो टेम्पलेटले उपपृष्ठको प्रयोग गरि शीघ्र मेट्नुपर्ने सूचनालाई लचिलो र कायम दुवै राख्न सजिलो बनाउछ। यी उपपृष्ठहरू सामान्यतया कागजात पृष्ठमा ट्रांसक्लुडेड गर्नुपर्छ। तर, यसलाई चाहे अनुसार प्रतिस्थापन गर्न पनि सकिन्छ। यो कसरी गर्न सकिन्छ, निर्देशनका लागि उक्त टेम्पलेटको उपपृष्ठ हेर्नुहोस्।

यो ढाँचा एक मेटा-ढाँचा हो जुन शीघ्र मेट्नुपर्ने सूचनाहरू सिर्जना गर्न प्रयोग गरिन्छ । यो सामान्यतः अर्को ढाँचामा [[वि:पारिणत|पारिणत गरिएको]] हुनुपर्छ। सबै [[विकिपिडिया:ट्विङ्कल|ट्विङ्कल]] प्रयोग गर्ने शीघ्र मेट्नुपर्ने सूचना ढाँचाहरू यो ढाँचामा आधारित छन् । जब प्रयोगकर्ताले सिर्जना गरेको पृष्ठ शीघ्र मेटाउनेको लागि नामाङ्कन गरिएको हुन्छ ट्विङ्कलले यो सन्देश प्रयोगकर्ताको वार्ता पृष्ठमा स्वचालित रूपमा थप्नेछ । जस्तै, प्रयोगकर्ताहरूले कहिल्यै स्वयं कुनै पनि पृष्ठमा यो टेम्पलेट थप्न असम्भव हुन सक्छ।

Template parameters

Parameterविवरणप्रकारस्थिति
Namespacenamespace

The namespace of the article proposed/ nominated for deletion. This should be passed through from the daughter template.

उदाहरण
File:
Stringवैकल्पिक
Targettarget

This is the name of the page targeted for deletion, given without brackets of any kind

उदाहरण
Ham sandwich with mustard and mayo
पृष्ठrequired
No welcomenowelcome

This parameter automatically welcomes users with {{first article}} template 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').

उदाहरण
yes
Stringवैकल्पिक
Headerheader

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 deletion template creators control over whether they want to include a section heading or not. If left blank, a new section heading is generated.

उदाहरण
no
Stringवैकल्पिक
Header textheader-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.

Stringवैकल्पिक
No thanksnothanks

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.

उदाहरण
yes
Stringवैकल्पिक
Iconicon

The filename of the image used in the top-left-hand corner of the notice. Most deletion notices are information notices (as opposed to warning notices), so the information icon4 is usually chosen.

उदाहरण
Information icon4.svg
पृष्ठवैकल्पिक
Wizardwizard

Optionally shows a message box with advice about creating new articles.

उदाहरण
yes
Stringवैकल्पिक
Texttext

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.

Stringवैकल्पिक
If you think thatif you think that

If this parameter exists, it will replace the text 'the page was nominated in error' with the text it contains.

पूर्वनिर्धारित
this page should not be deleted for this reason
Stringवैकल्पिक
Buttonbutton

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.

उदाहरण
no
Stringवैकल्पिक
Will providewillprovide

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.

उदाहरण
no
Stringवैकल्पिक
Additionallyadditionally

This optional text will be appended to the very end of the notice.

Stringवैकल्पिक
RFUD linkrfudlink

If this parameter exists, the text prompting the user to go to WP:RFUD won't display. Useful as an alternative to the willprovide parameter if one can contact the deleting administrator to retrieve the article but for some reason can't place a request on that page (such as when the user in question has been blocked from editing Wikipedia). Template:Db-notability-notice, for example, is set up to omit this part of the sentence.

उदाहरण
yes
Stringवैकल्पिक

यो पनि हेर्नुहोस्[सम्पादन गर्ने]