Skillnad mellan versioner av "Draft article/doc"
Från DAU-handboken
< Mall:Draft articleMall>Salvidrim! (Adding {{pp-semi-indef}} ·) |
m (1 version importerades) |
(Ingen skillnad)
|
Nuvarande version från 14 maj 2019 kl. 11.35
Mall:Pp-semi-indef{{#ifeq:doc |doc
|
{{#ifeq:show |show
| Skriptfel: Modulen "Message box" finns inte.
}}{{#if: |
| {{#ifexist:Mall:Draft article
| [[Category:{{#switch:Mall |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
|
}}
}}
|
}}
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. {{{{#if: |subst:}}Draft article{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}}
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 {{{{#ifeq:yes|yes
|subst
|subst
}}:{{#if:|}}{{#ifeq:aFC draft|afc draft|aFC draft|AFC draft}}{{#if:|}}{{#ifeq:username|username||username}}{{#ifeq:+|-||{{{3}}}}}{{#ifeq:+|-||{{{4}}}}}{{#ifeq:+|-||{{{5}}}}}{{#ifeq:+|-||{{{6}}}}}{{#ifeq:+|-||{{{7}}}}}{{#ifeq:+|-||{{{8}}}}}{{#ifeq:+|-||{{{9}}}}}{{#ifeq:+|-||{{{10}}}}}{{#ifeq:+|-||...}}}}
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
Denna sida är under uppbyggnad!
Minimalist output
{{Draft article|brief=yes}}
renders as
Denna sida är under uppbyggnad!
name parameter
{{Draft article|name|brief=yes}}
, where name is the name of the intended target page for the draft article, will render as
Denna sida är under uppbyggnad!
Note this will work with the 'default' output as well as with |{{SAFESUBST:#if:brief|brief=}}yes
.
Invite others to join in
{{Draft article|join-in=yes|brief=yes}}
will render as
Denna sida är under uppbyggnad!
Note this parameter will work with the 'default' output as well as with |{{SAFESUBST:#if:brief|brief=}}yes
.
Categorization
The |{{SAFESUBST:#if:subject|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 |{{SAFESUBST:#if:catonly|catonly=}}yes
.
hidable|collapsible = collapsible | autocollapse = collapsible autocollapse | collapse|collapsed = collapsible collapsed | sortable = sortable | outercollapse = outercollapse | innercollapse = innercollapse |
}} {{safesubst:#switch: |
hidable|collapsible = collapsible | autocollapse = collapsible autocollapse | collapse|collapsed = collapsible collapsed | sortable = sortable | outercollapse = outercollapse | innercollapse = innercollapse |
}} {{safesubst:#switch: |
hidable|collapsible = collapsible | autocollapse = collapsible autocollapse | collapse|collapsed = collapsible collapsed | sortable = sortable | outercollapse = outercollapse | innercollapse = innercollapse |
}} " |
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
{{{{#if: |subst:}}Link to draft{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}}
Skriptfel: Modulen "Navbox" finns inte.