Difference between revisions of "Template:Draft article"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
(update links following move)
imported>Primefac
(update following move)
 
Line 11: Line 11:
 
----
 
----
 
</div>}}{{#ifeq:{{{brief|}}}|yes|<span style=font-size:85%>|{{clear}}<div style="float:left; font-size:85%;">}}{{last edited by|brief=yes}}{{#ifeq:{{{brief|}}}|yes|</span>|</div>}}{{#ifeq:{{{brief|}}}|yes||<div style=float:right>}}
 
</div>}}{{#ifeq:{{{brief|}}}|yes|<span style=font-size:85%>|{{clear}}<div style="float:left; font-size:85%;">}}{{last edited by|brief=yes}}{{#ifeq:{{{brief|}}}|yes|</span>|</div>}}{{#ifeq:{{{brief|}}}|yes||<div style=float:right>}}
{{Namespace detect showall|1={{#ifeq:{{{brief|}}}|yes||{{#invoke:AFC submission catcheck|submitted|This draft has been submitted and is currently awaiting review.|{{#if:{{REVISIONID}}<noinclude>0</noinclude>|{{Clickable button 2|Finished drafting? Submit for review!|url={{fullurl:{{FULLPAGENAME}}|action=edit&veswitched=0&section=new&nosummary=1&preload=Template:AfC_submission/Subst&editintro=Template:AfC_submission/Subst/Editintro}}|class=mw-ui-progressive|style=style=line-height: 1.6em; padding: 0 1.6em 0 1.6em}}|Save your work by pressing the "<bdi>{{int:Publishpage}}</bdi>" button below, and a button will appear here allowing you to submit your draft for review.}}}}}}|draft=1|other={{#ifeq:{{{demo|<noinclude>yes</noinclude>}}}|yes|1}}}}{{#ifeq:{{{brief|}}}|yes||</div>}}}}{{#if:{{{join-in|}}}|{{mbox|text='''Join in and [[WP:BOLD|help expand this draft]]!'''}}}}<includeonly>{{#ifeq:{{{demo|}}}|yes||[[Category:{{#switch:{{lc:{{{subject|}}}}}
+
{{Namespace detect showall|1={{#ifeq:{{{brief|}}}|yes||{{#invoke:AfC submission catcheck|submitted|This draft has been submitted and is currently awaiting review.|{{#if:{{REVISIONID}}<noinclude>0</noinclude>|{{Clickable button 2|Finished drafting? Submit for review!|url={{fullurl:{{FULLPAGENAME}}|action=edit&veswitched=0&section=new&nosummary=1&preload=Template:AfC_submission/Subst&editintro=Template:AfC_submission/Subst/Editintro}}|class=mw-ui-progressive|style=style=line-height: 1.6em; padding: 0 1.6em 0 1.6em}}|Save your work by pressing the "<bdi>{{int:Publishpage}}</bdi>" button below, and a button will appear here allowing you to submit your draft for review.}}}}}}|draft=1|other={{#ifeq:{{{demo|<noinclude>yes</noinclude>}}}|yes|1}}}}{{#ifeq:{{{brief|}}}|yes||</div>}}}}{{#if:{{{join-in|}}}|{{mbox|text='''Join in and [[WP:BOLD|help expand this draft]]!'''}}}}<includeonly>{{#ifeq:{{{demo|}}}|yes||[[Category:{{#switch:{{lc:{{{subject|}}}}}
 
|agriculture|food|drink|agriculture, food, and drink=Drafts about agriculture, food, and drink
 
|agriculture|food|drink|agriculture, food, and drink=Drafts about agriculture, food, and drink
 
|art|architecture|art and architecture=Drafts about art and architecture
 
|art|architecture|art and architecture=Drafts about art and architecture

Latest revision as of 19:05, 18 November 2020

Template:Namespace detect

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

Drafts are often created to work on future articles before they are ready to be published or otherwise might not yet meet Wikipedia's notability guidelines. These are generally created in the "Draft" namespace to avoid any possibility that a casual reader may stumble upon them. {{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 to WP:AFC. This also categorizes the page to Category:Draft articles or one of its sub-categories.

Using {{subst:AfC draft|username}} will place {{AfC submission/draft}} on the page, which provides even more guidance and begins the Articles for Creation process at the 'draft' stage.

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 Template:Namespace detect

Minimalist output

{{Draft article|brief=yes}} renders as Template:Namespace detect

name parameter

{{Draft article|name|brief=yes}}, where name is the name of the intended target page for the draft article, will render as Template:Namespace detect 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 Template:Namespace detect Note this parameter will work with the 'default' output as well as with |brief=yes.

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.

subject= Category Example topics
agriculture
food
drink
agriculture, food, and drink
Category:Drafts about agriculture, food, and drink Agriculture, food, and drink
art
architecture
art and architecture
Category:Drafts about art and architecture Art and architecture
engineering
technology
engineering and technology
Category:Drafts about engineering and technology Engineering and technology · Transport
geography
places
geography and places
Category:Drafts about geography and places Geography · Places
history Category:Drafts about history World history · Royalty, nobility, and heraldry
language
literature
language and literature
Category:Drafts about language and literature Language and literature
math
mathematics
Category:Drafts about mathematics Mathematics and mathematicians
media
drama
media and drama
Category:Drafts about media and drama Film · Television · Media and drama
music Category:Drafts about music Albums · Songs · Other music drafts
natural sciences Category:Drafts about natural sciences Biology and medicine · Chemistry and materials science · Earth sciences · Physics and astronomy
philosophy
religion
philosophy and religion
Category:Drafts about philosophy and religion Philosophy and religion
social sciences
society
social sciences and society
Category:Drafts about social sciences and society Culture, sociology, and psychology · Education · Economics and business · Law · Magazines and print journalism · Politics and government
sports
recreation
sports and recreation
Category:Drafts about sports and recreation Sports and recreation
video games Category:Drafts about video games Video games
warfare Category:Drafts about warfare Warfare

See also

Template:Userspace Disclaimers