Template:Draft article/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Creating this draft article documentation based of some stuff copied from Wikipedia and slightly modified.)
 
m (screw it, gonna making this from scratch for now.)
Line 1: Line 1:
<!-- Please place categories where indicated at the bottom of this page.) -->
<!-- Please place categories where indicated at the bottom of this page.) -->
{{Wikipedia port|modified=1|documentation=1}}
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
Line 15: Line 14:
{{msg:Draft article|demo=yes}}
{{msg:Draft article|demo=yes}}


===Minimalist output===
<code><nowiki>{{Draft article|brief=yes}}</nowiki></code> renders as
{{msg:Draft article|brief=yes|demo=yes}}
===Intended target page===
<code><nowiki>{{</nowiki>Draft article|''name''|brief=yes}}</code>, where ''name'' is the name of the intended target page for the draft article, will render as
{{msg:Draft article|name|brief=yes|demo=yes}}
Note this will work with the 'default' output as well as with {{para|brief|yes}}.
===Invite others to join in===
<code><nowiki>{{</nowiki>Draft article|join-in=yes|brief=yes}}</code> will render as
{{msg:Draft article|join-in=yes|brief=yes|demo=yes}}
Note this parameter will work with the 'default' output as well as with {{para|brief|yes}}.
===Suppress "Submit for review" button===
<code><nowiki>{{</nowiki>Draft article|noafc=yes}}</code> will render as
{{msg:Draft article|noafc=yes}}
===Categorization===
The {{para|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 {{para|catonly|yes}}.


{| {{table}}
{| {{table}}

Revision as of 22:43, 5 May 2023

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.