"साँचा:विलय/doc" के अवतरणों में अंतर

7,032 बैट्स् जोड़े गए ,  3 वर्ष पहले
अद्यतन किया गया
(interwikis for mergeto now on wikidata)
(अद्यतन किया गया)
{{Documentation subpage}}
{{documentation subpage|{{tl|विलय}}, {{tl|में विलय}} and {{tl|को विलय}}|[[साँचा:विलय/doc]]}}
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE, AND INTERWIKIS TO WIKIDATA -->
{{Twinkle standard installation}}
 
== Which merge template should I use? ==
{{tl|{{PAGENAME}}}} चिन्हित लेखों को [[:श्रेणी:विलय करने योग्य]] में डाल देगा। यदि <tt>date</tt> प्राचल(parameter) बतायी गयी है, तो पृष्ठ माह अनुसार विलय होने योग्य श्रेणियों में भी जुड़ जायेंगे।
'''Do not place this tag on a Wikipedia [[WP:template]] or [[WP:category]]'''—instead see [[#Notes|below]] for instructions.
 
* To propose a merge of at least two articles together at an unspecified location, use {{tlx|Merge|OtherPage}}
==Usage==
* To propose a merge of the contents of the tagged article ''into'' the specified article, use {{tlx|Merge to|OtherPage}}
* First parameter: name of page to be merged to (without square brackets)
* To propose that the contents of the specified article should be merged into the tagged article, use {{tlx|Merge from|OtherPage}} &ndash; the opposite of {{tlx|Merge to}};
* Second parameter: location of merge discussion (without square brackets)
* To suggest merging only some material from one article to another, use {{tlx|Move portions from|SourcePage}} and {{tlx|Move portions|TargetPage}}
* <tt>date</tt> parameter (optional): date, in "{{CURRENTMONTHNAME}} {{CURRENTYEAR}}" format
 
== When to use ==
'''To keep discussion of merges to one place, ensure the same location is specified on each page'''.
These templates are used primarily to identify potential merges that would benefit from discussion. If for some reason it is obvious that a merge would be appropriate, then you may [[WP:BOLD|boldly]] merge the pages yourself without tagging and without discussion. Some editors also use these tags to mark pages that obviously require merging and in the hope that someone else will merge the pages, although this is not how these templates are intended to be used. Obvious cases should simply be merged rather than tagged and forgotten about.
 
After adding the merge template, you are expected to create a section on the talk page of the appropriate article (see below for details) explaining your rationale for the merge proposal. If the rationale is so obvious that it requires no explanation, then you should consider boldly merging the pages yourself rather than setting up a discussion.
== Examples ==
 
== कैसे इस्तेमाल करें ==
;{{tl|merge}}
===आसान उदाहरण===
किसी एक पन्ने को टैग करने के लिए:
 
{{markup
#<code><nowiki>{{</nowiki>Merge | ''Article 1'' | Talk:''Article 1#Merge proposal'' |date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}</code>
#<code>|<nowiki>{{</nowiki>Merge | ''Article 2'' | Talk:''Article 1#Merge proposal''OtherPage |date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki> }}</code>
अथवा
{{विलय|अन्यपृष्ठ|{{subst:DATE}} }}</nowiki>
|{{विलय|अन्यपृष्ठ|date=दिसंबर 2018}}
}}
 
जब आप एक आसान विलय को प्रस्ताव के रूप में रखते हुये उस पर चर्चा करना चाहते हों, दोनों को टैग करें:
;{{tl|mergefrom}} and {{tl|mergeto}}
{{markup
|{{markup|<nowiki>{{को विलय |पहलापन्ना|date{{=}}</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki> }}
अथवा
{{को विलय |पहलापन्ना|{{subst:DATE}} }}</nowiki>
|{{को विलय |पहलापन्ना|date=दिसंबर 2018}}
}}
 
{{markup
#<code><nowiki>{{</nowiki>Mergefrom | ''Article 2'' | Talk:''Article 1#Merge proposal'' |date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}</code>
#<code>|<nowiki>{{</nowiki>Mergeto | ''Articleमें 1''विलय | Talk:''Article 1#Merge proposal''SecondPage |date{{=}}</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki> }}</code> अथवा
{{में विलय |दूसरा पन्ना|{{subst:DATE}} }}</nowiki>
|{{में विलय |दूसरा पन्ना|date=दिसंबर 2018}}
}}
 
This allows editors at both pages to see both the proposed source and target.
{{Wikipedia:Template messages/Merging and splitting/List}}
 
===अन्य विकल्प===
*[[Wikipedia:Proposed mergers]]
By default, the {{Color|#002BB8|Discuss}} link on the template links to the top of the destination page's [[Help:Talk page|talk page]]. To specify which section, or to name a different talk page entirely, use the {{para|discuss}} parameter:
 
: {{tlx|{{BASEPAGENAME}} |OtherPage&nbsp;|discuss{{=}}Talk:OtherPage#Merge discussion&nbsp;|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
 
To name multiple pages to be merged, simply separate them with a vertical pipe. You can add up to 20 articles to be merged:
 
: {{tlx|{{BASEPAGENAME}} |OtherPage1&nbsp;|OtherPage2&nbsp;|OtherPage3&nbsp;|discuss{{=}}Talk:OtherPage#Merge discussion&nbsp;|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
 
{{#ifeq:{{BASEPAGENAME}}|Merge|To name multiple pages to merge ''into'' a single page, use the {{para|target}} parameter. For example, to merge the tagged page, as well as OtherPage1, OtherPage2, and OtherPage3 into OtherPage4, use:
 
: {{tlx|{{BASEPAGENAME}} |OtherPage1&nbsp;|OtherPage2&nbsp;|OtherPage3&nbsp;|target{{=}}OtherPage4&nbsp;|discuss{{=}}Talk:OtherPage#Merge discussion&nbsp;|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}}}<!-- ifeq end -->
 
If you are placing the template in a section, you can use {{para|section|yes}} to change the wording to reflect this:
: {{tlx|{{BASEPAGENAME}} |OtherPage&nbsp;|discuss{{=}}Talk:OtherPage#Merge discussion&nbsp;|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}&nbsp;|section{{=}}yes}}
 
* '''Do not link to the pages''' with square brackets. <br>For example, write {{Tlx|Merge|OtherArticle}}, not {{Tlx|Merge|&#91;&#91;OtherArticle&#93;&#93;}}.
<!--* If you don't supply a date, a [[WP:Bots|bot]] will add it later.-->
* The date ''may not'' be shown in the box. Do not be concerned about this. It is used when grouping tagged pages together into categories by date.
* These templates will add tagged articles to [[:श्रेणी:विलय करने योग सभी लेख]], while non-articles (files, templates, etc.) will be added to [[:श्रेणी:विलय करने योग्य]].
* For {{tl|Merge}}, if you are specifying a merge of two or more pages in different namespaces, the template supports this via specification of the ''full'' page name, including the namespace prefix. {{para|nspace}} can take on namespace values, which fixes all params to the namespace specified.
* Do not <code>[[WP:SUBST|subst:]]</code> these templates.
 
==कब हटा सकते हैं==
[[Wikipedia:There is no deadline|There is no deadline]] for completing proposed merges. Pages that have been tagged for a long time (frequently more than one year) generally fall into these groups:
 
;Discussion supported the proposed merge, but no one did it yet: Feel free to merge the pages yourself.
;Discussion opposed merge, but nobody removed the tags: Feel free to remove the tags yourself.
;No discussion found: Feel free to remove the tags if you believe the merge would be a poor choice, or to boldly merge the pages if you believe the merge would be appropriate. Or feel free to start a discussion if you are uncertain or feel it would be controversial.
 
==नोट==
* If you want to propose merging a '''category''', you must do so at [[Wikipedia:Categories for discussion]], using the specific templates available there.
* If you want to propose merging a '''template''', you must do so at [[Wikipedia:Templates for discussion]], using the specific templates available there.
 
==TemplateData==
{{#switch: {{PAGENAME}}
|Merge/doc
|Merge =
{{TemplateDataHeader|Merge}}
<templatedata>
{
"description": "This is a hatnote template which proposes to merge the page it is applied to into one or more other pages.",
"params": {
"1": {
"label": "Other page",
"type": "wiki-page-name",
"required": true,
"description": "This is the page into which this article should be merged. Note: 19 additional pages to merge can be added manually as optional parameters."
},
"target": {
"label": "Target page",
"type": "wiki-page-name",
"description": "When listing several pages to merge, name one proposed target page for the merger with this parameter."
},
"date": {
"label": "Month and year",
"type": "string",
"description": "The date on which the article was tagged (month year; e.g. August 2013)",
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
"suggested": true
},
"discuss": {
"label": "Discussion",
"type": "wiki-page-name",
"description": "Discussion related to the merge proposal; typically on the talk page for the target (other) page."
},
"section": {
"label": "Section",
"type": "string",
"description": "If you are placing the template in a section, set this parameter to 'yes'."
},
"nspace": {
"label": "Namespace",
"type": "string",
"description": "By default, nspace is \"all\", which allows specifying pages across multiple namespaces for merge. Can be customized according to the accepted nspace values at Template:Pagelist"
}
},
"format": "inline"
}
</templatedata>
}}
 
{{#switch: {{PAGENAME}}
|Merge/doc
|Merge to =
{{TemplateDataHeader|Merge to}}
<templatedata>
{
"description": "This is a hatnote template which proposes to merge the page it is applied into one or more specified pages. Use 'merge from' to tag the target page(s).",
"params": {
"1": {
"label": "Other page",
"type": "wiki-page-name",
"required": true,
"description": "This is the page into which this article should be merged. Note: 19 additional pages to merge into can be added manually as optional parameters."
},
"date": {
"label": "Month and year",
"type": "string",
"description": "The date on which the article was tagged (month year; e.g. August 2013)",
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
"suggested": true
},
"discuss": {
"label": "Discussion",
"type": "wiki-page-name",
"description": "Discussion related to the merge proposal; typically on the talk page for the target (other) page."
},
"section": {
"label": "Section",
"type": "string",
"description": "If you are placing the template in a section, set this parameter to 'yes'."
}
}
}
</templatedata>
}}
 
{{#switch: {{PAGENAME}}
|Merge/doc
|Merge from =
{{TemplateDataHeader|Merge from}}
<templatedata>
{
"description": "This is a hatnote template which proposes to merge one or more specified pages into the tagged page. Use 'merge to' to tag the source page(s).",
"params": {
"1": {
"label": "Other page",
"type": "wiki-page-name",
"required": true,
"description": "This is the page, from which content should be merged into this article. Note: 19 additional pages to merge from can be added manually as optional parameters."
},
"date": {
"label": "Month and year",
"type": "string",
"description": "The date on which the article was tagged (month year; e.g. August 2013)",
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
"suggested": true
},
"discuss": {
"label": "Discussion",
"type": "wiki-page-name",
"description": "Discussion related to the merge proposal; typically on the talk page for the target page."
},
"section": {
"label": "Section",
"type": "string",
"description": "If you are placing the template in a section, set this parameter to 'yes'."
}
}
}
</templatedata>
}}
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[श्रेणी:रखरखाव साँचे]]
[[Category:Exclude in print]]
<!-- ADD INTERWIKIS BELOW THIS LINE within the proper if-then-else -->
<includeonly>
<!---
----- Please place Interwiki's for mergeto below this line
---->
<!---
----- Please place Interwiki's for merge below this line
---->
{{#ifeq:{{PAGENAME}}|विलय|
[[ar:قالب:دمج]]
[[be-x-old:Шаблён:Аб'яднаць]]
[[bg:Шаблон:Сливане]]
[[ca:Plantilla:Fusió]]
[[cs:Šablona:Sloučit]]
[[da:Skabelon:Sammenskrives]]
[[de:Vorlage:Redundanz]]
[[dsb:Pśedłoga:Zjadnośiś]]
[[el:Πρότυπο:Συγχώνευση]]
[[en:Template:Merge]]
[[eo:Ŝablono:Kunigu]]
[[es:Plantilla:Fusionar]]
[[fi:Malline:Yhdistettävä]]
[[fr:Modèle:À fusionner]]
[[he:תבנית:לאחד]]
[[hr:Predložak:Spajanje]]
[[hsb:Předłoha:Zjednoćić]]
[[hu:Sablon:Összevonandó lap]]
[[ia:Patrono:Fusionar]]
[[id:Templat:Gabung]]
[[it:Template:U]]
[[ja:Template:記事統合]]
[[kn:ಟೆಂಪ್ಲೇಟು:Merge]]
[[ko:틀:병합 토론]]
[[lt:Šablonas:Jungti]]
[[lv:Veidne:Apvienot]]
[[mn:Загвар:Merge]]
[[nl:Sjabloon:Samenvoegen]]
[[no:Mal:Fletting]]
[[pl:Szablon:Integruj]]
[[pt:Predefinição:Fusão]]
[[ro:Format:Unește]]
[[ru:Шаблон:Объединить]]
[[simple:Template:Merge]]
[[sk:Šablóna:Spojiť s]]
[[sl:Predloga:Združi]]
[[sq:Stampa:Bashkoji]]
[[sr:Шаблон:Спајање]]
[[sv:Mall:Slå ihop]]
[[tpi:Template:Merge]]
[[tr:Şablon:Birleş]]
[[uk:Шаблон:Об'єднати]]
[[vi:Bản mẫu:Hợp nhất]]
[[zh:Template:Merge]]
[[zh-yue:Template:合併]]
}}
<!---
----- Please place Interwiki's for mergefrom below this line
---->
{{#ifeq:{{PAGENAME}}|में विलय|
[[cs:Šablona:SloučitZe]]
[[da:Skabelon:SammenskrivesFra]]
[[es:Plantilla:Fusionar desde]]
[[fa:الگو:ادغام از]]
[[he:תבנית:לאחד עם]]
[[hr:Predložak:Mergefrom]]
[[ja:Template:Mergefrom]]
[[pl:Szablon:Integruj z]]
[[sv:Mall:Infoga från]]
[[th:แม่แบบ:รวมมา]]
[[vi:Tiêu bản:Hợp nhất từ]]
[[zh-yue:Template:Mergefrom]]
[[zh:Template:Mergefrom]]
}}
</includeonly>