Difference between revisions of "Template:Draft article check/doc"

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
(→‎Usage: mbox)
imported>Headbomb
(ce)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
DraftChecker is a template to alert editors to the existence of relevant articles or drafts.
+
{{tl|Draft article check}} is a template designed to alert editors to the existence of relevant articles or drafts.
* In '''Draft''' or '''Draft_Talk''',  DraftChecker will check for an '''Article''' of the same title. 
 
* In '''Article_Talk''', DraftChecker will check for a '''Draft''' of the same title.
 
* In the '''Article''' namespace, Draftchecker will check for a '''Draft''' of the same title, but '''will only show a message if''' a custom javascript determines the user is logged in. 
 
  
 
== Usage ==
 
== Usage ==
Line 17: Line 14:
 
|-
 
|-
 
| Draft talk || {{Draft article check|demospace=Draft talk|Example}} (article)<br>{{Draft article check|demospace=Draft talk|J Phys C}} (redirect)
 
| Draft talk || {{Draft article check|demospace=Draft talk|Example}} (article)<br>{{Draft article check|demospace=Draft talk|J Phys C}} (redirect)
 
 
|-
 
|-
 
 
|}
 
|}
  
Line 26: Line 21:
 
[[Category:Draft namespace templates]]
 
[[Category:Draft namespace templates]]
 
[[Category:Wikipedia drafts]]
 
[[Category:Wikipedia drafts]]
 
 
}}</includeonly>
 
}}</includeonly>

Revision as of 15:11, 26 August 2018

{{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 On Draft:Example:Template:Space (article)
On Draft:J Phys C:Template:Space (redirect)
Draft talk On Draft talk:Example:Template:Space (article)
On Draft talk:J Phys C:Template:Space (redirect)