Template:Draft article/doc

From Valve Developer Community
< Template:Draft article
Revision as of 22:40, 5 May 2023 by Kr0tchet (talk | contribs) (Creating this draft article documentation based of some stuff copied from Wikipedia and slightly modified.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Edit-copy.png
This is a documentation subpage for Template:Draft article.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Drafts are often created to work on future articles before they are ready to be published. These are located in either the "Draft" namespace or a user sandbox to avoid any possibility that a casual reader may stumble upon them; those areas are also excluded from search engine indexing. {{Draft article}} goes further, prominently tagging the draft article as a draft, and at the same time provides convenient links to help build the article and facilitate submission via the articles for creation process. This also categorizes the page to Category:Draft articles or one of its sub-categories.


Usage

Do not use this template in mainspace, as it will not display. For article being developed in mainspace, consider {{Under construction}} instead.

Default output

{{Draft article}} renders as

Icon-under construction-blue.png
This is a draft template page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.

Minimalist output

{{Draft article|brief=yes}} renders as

Icon-under construction-blue.png
This is a draft template page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.

Intended target page

{{Draft article|name|brief=yes}}, where name is the name of the intended target page for the draft article, will render as

Icon-under construction-blue.png
This is a draft template page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.

Note this will work with the 'default' output as well as with |brief=yes.

Invite others to join in

{{Draft article|join-in=yes|brief=yes}} will render as

Icon-under construction-blue.png
This is a draft template page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.

Note this parameter will work with the 'default' output as well as with |brief=yes.

Suppress "Submit for review" button

{{Draft article|noafc=yes}} will render as

Icon-under construction-blue.png
This is a draft template page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.

Categorization

The |subject= parameter categorizes the article into a sub-category of Category:Draft articles as shown below. Note that if the message box is not desired and only the category is necessary, use |catonly=yes.