Difference between revisions of "Template:Draft article check"

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
(add demospace functionality)
imported>Headbomb
(fix)
Line 1: Line 1:
{{#if:{{{demospace|}}}|On [[:{{{demospace}}}:{{{1}}}]]:{{space}}}}<!--
+
{{#if:{{{demospace|}}}|On [[:{{#switch:{{{demospace}}}|Main=|#default={{{demospace|}}}:}}{{{1}}}]]:{{space}}}}<!--
 
-->{{#switch:{{{demospace|{{NAMESPACE}}}}}
 
-->{{#switch:{{{demospace|{{NAMESPACE}}}}}
 
  |<!--Mainspace-->
 
  |<!--Mainspace-->

Revision as of 15:20, 26 August 2018

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 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)
in development
Main On Example:Template:Space (article)
On J Phys C:Template:Space (redirect)
Talk On Talk:Example:Template:Space (article)
On Talk:J Phys C:Template:Space (redirect)
User On User:Example:Template:Space (article)
On User:J Phys C:Template:Space (redirect)
User talk On User talk:Example:Template:Space (article)
On User talk:J Phys C:Template:Space (redirect)
Wikipedia On Wikipedia:Example:Template:Space (article)
On Wikipedia:J Phys C:Template:Space (redirect)
Wikipedia talk On Wikipedia talk:Example:Template:Space (article)
On Wikipedia talk:J Phys C:Template:Space (redirect)