Template:Draft header/doc
{{Draft header}} is an informational header intended for the top of pages in the Draft: namespace. The header content varies depending on whether or not the draft corresponds to an existing article in the mainspace. Drafts with counterparts are categorized in Category:Drafts of existing articles, while those without are categorized in Category:Drafts under creation.
{{Draft header}}(in Draft:Example, which does not have a corresponding article in the mainspace) →
| This is a draft of Example. It is a space to store, preview, and collaborate on this work-in-progress article before it is finalized and published to the mainspace as an official article.
Finished drafting? |
{{Draft header}}(in Draft:Main Page, which does have a corresponding article in the mainspace) →
| This is a draft of Main Page (see changes). It is a space to store, preview, and collaborate on substantial changes to the existing article that are not yet ready to be incorporated into the main article for general viewing.
|
For drafts of existing articles, |created= can be used to indicate the point in time when the draft was created, diverging from the original article. {{subst:Draft}} can be used as shorthand to automatically populate this parameter with a timestamp and insert a comment outlining instructions for merging the draft back into the original article. For drafts without a corresponding mainspace article, {{subst:Draft}} is identical to {{Draft header}}, as the template call is substituted with {{Draft header}} once saved.
{{Draft header}}(in Draft:Main Page) →
| This is a draft of Main Page (see changes). It is a space to store, preview, and collaborate on substantial changes to the existing article that are not yet ready to be incorporated into the main article for general viewing.
This draft was created at 00:00, January 1, 2000. Any edits made to Main Page since then should be accounted for before this draft is published. |
When {{Draft header}} is used outside of the Draft: namespace, it shows an error message in preview and displays nothing once saved.
{{Draft header}}(in Our World of Text:Sandbox, previewing) →{{Draft}}and{{Draft header}}should only be used in the "Draft:" namespace.
{{Draft header}}(in Our World of Text:Sandbox, saved) →- (no output)
TemplateData
This template generates an informational header intended for the top of drafts.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Creation date | created | Indicates when the draft was created, mainly for drafts of existing mainspace articles; helps editors track divergence from the original article
| Date | suggested |