Difference between revisions of "Template:Db-copypaste"

From blackwiki
Jump to navigation Jump to search
imported>JJMC89
(pass {{{help}}})
imported>Zyxw
(Remove "temp" & "temp2" to avoid incorrect usage text for Template:db-copypaste-notice; use text in "notes" instead. Update that text to use same format as {{db-meta}} uses with "temp". Update usage in documentation here. Tested in /sandbox.)
Line 3: Line 3:
 
|wording= it is a copy-and-paste page move of [[{{{1}}}]] that needs to be temporarily deleted to make room for a [[Wikipedia:Moving a page|clean page move]]
 
|wording= it is a copy-and-paste page move of [[{{{1}}}]] that needs to be temporarily deleted to make room for a [[Wikipedia:Moving a page|clean page move]]
 
|summary={{#if:{{{summary|}}}|{{{summary}}}|Deleted to fix copy-and-paste page move}}
 
|summary={{#if:{{{summary|}}}|{{{summary}}}|Deleted to fix copy-and-paste page move}}
|notes=<br>
+
|notes=<br />
:<small>Please consider placing</small>
+
:''<small>'''Nominator''': Please consider placing the [[Help:Template|template]]:</small>''
:<small><nowiki>{{subst:db-copypaste-notice|Pagename|otherpage=sourcepage}} ~~~~</nowiki></small>
+
:''<small><code><nowiki>{{subst:</nowiki>[[Template:db-copypaste-notice|db-copypaste-notice]]<nowiki>|</nowiki>{{{1}}}<nowiki>|to=</nowiki>{{FULLPAGENAME}}<nowiki>}} ~~~~</nowiki></code></small>''
:<small>On the talk page of the editor who performed the copy-and-paste move.</small>
+
:''<small>on the talk page of the editor who performed the copy-and-paste move.</small>''<br />
 
|category=
 
|category=
|temp=db-copypaste-notice
+
|temp=<!--using "notes" parameter instead-->
|temp2=<nowiki>|</nowiki>{{{1}}}
+
|temp2=<!--using "notes" parameter instead-->
 
|help={{{help|}}}
 
|help={{{help|}}}
 
}}<includeonly>{{category handler
 
}}<includeonly>{{category handler
Line 22: Line 22:
 
This template places the page in [[:Category:Candidates for speedy deletion]].
 
This template places the page in [[:Category:Candidates for speedy deletion]].
  
*'''Usage:''' {{tlg|db-copypaste|sourcepage|code=yes}}, where sourcepage is the title of the page from which the content was taken. For example:
+
'''Usage:''' {{tlg|db-copypaste|sourcepage|code=yes}}, where sourcepage is the title of the page from which the content was taken. For example:
** {{tlg|db-copypaste|Template:db-copypaste|code=yes}}
+
: {{tlg|db-copypaste|Template:db-copypaste|code=yes}}
  
Consider adding a message to the contributor's User:Talk page.
+
Consider adding a message to the contributor's User:Talk page:
* '''{{tlsp|db-copypaste-notice|pagename|sourcepage}} <nowiki>~~~~</nowiki>'''
+
: <code>{{tlsp|db-copypaste-notice|''Article copied from''|to{{=}}''Article pasted to''}} <nowiki>~~~~</nowiki></code>
 
[[Category:Speedy deletion templates|Copypaste]]
 
[[Category:Speedy deletion templates|Copypaste]]
 
}}</noinclude>
 
}}</noinclude>

Revision as of 02:58, 8 February 2017

Template:NOINDEX

Template documentation

Template:Speedy deletion templates This template places the page in Category:Candidates for speedy deletion.

Usage: {{db-copypaste|sourcepage}}, where sourcepage is the title of the page from which the content was taken. For example:

{{db-copypaste|Template:db-copypaste}}

Consider adding a message to the contributor's User:Talk page:

{{subst:db-copypaste-notice|Article copied from|to=Article pasted to}} ~~~~