Template:Userspace draft: Difference between revisions

From Sarkarverse
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{ {{{|safesubst:}}}#invoke:Unsubst||$N=Userspace draft |date=__DATE__ |$B=
{{#switch:{{#ifeq:{{{demo|<noinclude>yes</noinclude>}}}|yes
{{#switch:{{#ifeq:{{{demo|<noinclude>yes</noinclude>}}}|yes
   |User
   |User
Line 16: Line 17:
   |<!--Skip instructions.-->
   |<!--Skip instructions.-->
   |<br />For guidance on developing this draft, see [[Wikipedia:So you made a userspace draft]].
   |<br />For guidance on developing this draft, see [[Wikipedia:So you made a userspace draft]].
   }} {{nowrap|<small>This draft was last edited {{time ago|{{REVISIONTIMESTAMP}}|purge=yes}}.</small>}}{{#ifexpr:{{HoursElapsed|{{REVISIONTIMESTAMP}}}}>8760
   }} {{nowrap|<small>This draft was last edited {{time ago|{{REVISIONTIMESTAMP}}|purge=yes|spellout=auto}}.</small>}}{{#ifexpr:{{HoursElapsed|{{REVISIONTIMESTAMP}}}}>8760
   |[[Category:Stale Userspace drafts]]
   |[[Category:Stale Userspace drafts]]
   }}<br />
   }}<br />
----
----
<span class="plainlinks">Finished? [{{fullurl:{{FULLPAGENAME}}|action=edit&section=new&preload=Template:AFC_submission/Subst&preloadtitle=Request%20review%20at%20%5B%5BWP:AFC%5D%5D}} Submit the page!]</span>}}{{#ifeq:{{{demo|<noinclude>yes</noinclude>}}}|yes|
<div class="afc-draft-submit-button">Finished? {{#if:{{REVISIONID}}<noinclude>0</noinclude>|&nbsp; &nbsp; {{Clickable button 2|{{Space|5}}Submit your draft for review!{{Space|5}}|url={{fullurl:{{FULLPAGENAME}}|action=edit&section=new&preload=Template:AFC_submission/Subst&editintro=Template:AFC_submission/Subst/Editintro}}|class=mw-ui-constructive|style=line-height: 1.6em; margin-top: 3px; padding: 0px;}}|Save your work by pressing the "Save page" button below, and a button will appear here allowing you to submit your draft for review.}}</div>}}{{#ifeq:{{{demo|<noinclude>yes</noinclude>}}}|yes|
   |{{#ifeq:{{NAMESPACE}}|Wikipedia talk||{{DMC
   |{{#ifeq:{{NAMESPACE}}|Wikipedia talk||{{DMC
   |1=Userspace drafts {{#ifeq:{{{source}}}|ArticleWizard|created via the Article Wizard}}
   |1=Userspace drafts {{#ifeq:{{{source}}}|ArticleWizard|created via the Article Wizard}}
Line 33: Line 34:
  }}
  }}
  |#default=<includeonly>[[Category:Misplaced userspace drafts]]</includeonly>
  |#default=<includeonly>[[Category:Misplaced userspace drafts]]</includeonly>
}}
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 12:28, 5 August 2014

Documentation icon Template documentation[view] [edit] [history] [purge]

It adds the pages to Category:Userspace drafts or a dated subcategory thereof, unless the parameter source=ArticleWizard is used, in which case it's Category:Userspace drafts created via the Article Wizard or a dated subcategory thereof.

If the page is in article mainspace it shows {{New unreviewed article}}, and in all other namespaces it adds the category Category:Misplaced userspace drafts.

This template is added automatically to userspace drafts created via the Wikipedia:Article wizard 2.0 (the discussion page is at WT:WIZ2).

Note: This template automatically includes __NOINDEX__.

Usage

To use, add {{Userspace draft|date=May 2024}} to the very top of a draft article in userspace (not its talk page).

This template should only be used in userspace. To denote articles in the mainspace that are undergoing major edits, use {{Inuse}}.

Optional parameters

  • |last=yes will give the last updated date, via an embedded {{Last updated}} (Note: Application of this template to the page, not just the last content edit, will also qualify.)
  • |page= allows you to specify a custom page name for where the page may be located after the draft is complete. If it isn't specified, it will default to the subpage title.
  • |noob=no will suppress display of instructional wording, for experienced editors who already know how to develop userspace drafts into articles.

Found in mainspace?

If the template appears on a page in mainspace, check that the content is appropriate there, if so remove the tag. Possible reasons for being tagged in mainspace:

  • Moved correctly from userspace
  • Moved incorrectly from userspace
  • Tagged incorrectly
  • Tagged prior to Userfication (strictly speaking incorrectly).

Redirects

See also