Template:Userspace draft/doc: Difference between revisions

Content deleted Content added
note
I don't think that is true anymore
 
(14 intermediate revisions by 11 users not shown)
Line 1:
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
{{High use}}
 
This template adds pages to [[:Category:Userspace drafts]] or a dated subcategory thereof.
 
If thethis pagetemplate is found in articlea mainspacepage in the [[Wikipedia:Main namespace|Main namespace]], it showsoutputs nothing, andto the resulting page. If this template is found in alla otherpage namespacesin a namespace that is not the [[Wikipedia:User namespace|User namespace]], it adds the categorypage to [[: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]]).
 
This template automatically adds the page to [[:Category:Stale userspace drafts]], if it has not been edited for more than a year.
Note: when used in User, User talk or Wikipedia talk [[WP:NS|namespaces]], this template automatically includes [[H:MW#Behavior switches|<nowiki>__NOINDEX__</nowiki>]].
 
If the page this template is on has not been edited it over a year, it will appear in [[:Category:Stale userspace drafts]].
 
== Usage ==
Line 16 ⟶ 14:
{{Userspace draft|demo=yes}}
 
This template should only be used in userspace. To denote articles in the mainspace that are undergoing major edits, use {{tl|InuseIn use}}.
 
===Minimalist output===
Line 27 ⟶ 25:
 
*{{para|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.
*{{para|newuser|no}} will suppress the display of "instructional wording", but will keep the links to the tools (i.e., isit suppresses less than {{para|help|no}}).
*{{para|afc|no}} will suppress only the display of the [[WP:AFC]] instructions at the end (i.e., it suppresses less than {{para|help|no}} and less than {{para|newuser|no}}).
*{{para|article}} replace the wording "a Wikipedia article" with something else, e.g. "an essay" or "a wikiproject", to reflect the nature of a non-article draft. Using this option will also suppress features relating to the Article Creation Wizard and the submission of article drafts for review.
*{{para|extra}} Extra text explaining, for example, what's left to do in the article.
Line 50 ⟶ 49:
* Tagged incorrectly
* Tagged prior to [[WP:Userfication|Userfication]] (strictly speaking ''incorrectly'').
 
==Template Data==
{{Template data header}}
 
<templatedata>
{
"params": {
"demo": {},
"article": {
"label": "Replace \"Article\"",
"description": "Whether to replace the \"article\" from \"This is not a Wikipedia article\" to more accurately reflect what the draft is. Using this option will also suppress features relating to the Article Creation Wizard and the submission of article drafts for review.",
"example": "essay, wikiproject",
"type": "string"
},
"page": {
"label": "Page",
"description": "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.",
"type": "string"
},
"newuser": {
"aliases": [
"noob"
],
"label": "Show New User Text",
"description": "Setting to \"no\" will suppress the display of \"instructional wording,\" but will keep the links to the tools.",
"type": "string",
"suggestedvalues": [
"yes",
"no"
],
"autovalue": "no"
},
"help": {
"label": "Show Help",
"description": "Setting to \"no\" will produce a minimal output, only notifying users that this page is a work in progress with no links.",
"type": "string",
"suggestedvalues": [
"yes",
"no"
],
"autovalue": "no"
},
"extra": {
"label": "Extra",
"description": "Extra text explaining, for example, what's left to do in the article.",
"example": "The main thing left to do is add inline citations.",
"type": "string"
},
"afc": {
"label": "Show AFC Info",
"description": "Setting to no will suppress only the display of the WP:AFC instructions at the end.",
"type": "string",
"suggestedvalues": [
"yes",
"no"
],
"suggested": true
},
"date": {
"label": "Date",
"description": "The start date of the draft",
"example": "November 2024",
"type": "string",
"required": true,
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}"
}
},
"description": "Shows a simple draft hat at the top of a draft article in the user space.",
"paramOrder": [
"date",
"help",
"extra",
"page",
"article",
"newuser",
"afc",
"demo"
]
}
</templatedata>
 
==Redirects==
*{{tl-r|Userdraft}}
*{{tl-r|Userspace}}
*{{tl-r|Userspacedraft}}
*{{tl-r|Userwip}}
*{{tl-r|UserWorkInProgress}}
*{{tl-r|WorkInProgress}}
*{{tl-r|UWIP}}
 
{{Userspace Disclaimers}}
Line 63 ⟶ 143:
<includeonly>{{Sandbox other||
<!-- CATEGORIES HERE, THANKS -->
[[Category:Wikipedia templates which apply NOINDEX]]
[[Category:Under-construction templates]]
[[Category:Userpage header templates]]
[[Category:Wikipedia drafts]]
 
}}</includeonly>