Difference between revisions of "Template:Draft article check"
Jump to navigation
Jump to search
imported>CambridgeBayWeather (Adding {{pp-template}} (TW)) |
imported>CambridgeBayWeather (Undid revision 802701262 by CambridgeBayWeather (talk)) |
||
| Line 1: | Line 1: | ||
| − | + | {{#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
{{Draft article check}} is a template designed to alert editors to the existence of relevant articles or drafts.
Usage
| 40x40px | The functionality of this template is being developed and updated. It is currently mostly used in the Draft:/Draft talk: spaces via {{Draft article}}, so that's what's documented. Other namespaces are forthcoming, so it can be used in {{Userspace draft}}, for example, or by placing {{Draft article}} in other namespaces, like Talk: or Wikipedia: |
{{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) |
| The above documentation is transcluded from Template:Draft article check/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |