Difference between revisions of "Template:Draft article check"

From blackwiki
Jump to navigation Jump to search
imported>CambridgeBayWeather
(Adding {{pp-template}} (TW))
imported>CambridgeBayWeather
(Undid revision 802701262 by CambridgeBayWeather (talk))
Line 1: Line 1:
<noinclude>{{pp-template|small=yes}}</noinclude>{{#switch:{{NAMESPACE}}
+
{{#switch:{{NAMESPACE}}
 
  |<!--Mainspace-->
 
  |<!--Mainspace-->
 
  |Talk  = {{#ifexist:Draft:{{PAGENAME}}|{{hatnote|There is a [[Wikipedia:Drafts|draft]] named [[Draft:{{PAGENAME}}|{{PAGENAME}}]].}}}}
 
  |Talk  = {{#ifexist:Draft:{{PAGENAME}}|{{hatnote|There is a [[Wikipedia:Drafts|draft]] named [[Draft:{{PAGENAME}}|{{PAGENAME}}]].}}}}

Revision as of 22:14, 27 September 2017

50px Template documentation[view] [edit] [history] [purge]

{{Draft article check}} is a template designed to alert editors to the existence of relevant articles or drafts.

Usage

{{Draft article check}} will give different results depending on which namespace it is used, and which corresponding article exist in mainspace/draft space

Namespace Message
Draft (article)
(redirect)
Draft talk (article)
(redirect)
in development
Main (article)
(redirect)
Talk (article)
(redirect)
User (article)
(redirect)
User talk (article)
(redirect)
Wikipedia (article)
(redirect)
Wikipedia talk (article)
(redirect)