Template:Draft: Difference between revisions

From Alpine Linux
(Tweak box size and wording)
m (Protected "Template:Draft": Template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Template}}
<noinclude>{{Template}}
This template is for work in progress.


== Template Documentation ==
=== Usage ===
This template should be used for work-in-progress pages.
This template should be added at the beginning of articles or sections that are unfinished.
Example:
<nowiki>{{Draft}}</nowiki>


Will produce:
<pre>{{Draft}}</pre>
{{Draft}}


</noinclude><onlyinclude>[[Category:Draft]]<center>
You can provide an alternate message in the first argument.
{|style="width: 36em; padding:2px; margin:0; margin-bottom:10px; background-color:#f6f6f6; border:1px solid #aaa; -moz-border-radius-bottomright: 0.5em; -moz-border-radius-bottomleft: 1em; border-radius-bottomright: 0.5em; border-radius-bottomleft: 1em; -webkit-border-bottom-right-radius: 0.5em; -webkit-border-bottom-left-radius: 1em;"
 
|<div style="font-size: 1.5em; font-weight:bold;"> [[Image:Underconstruction_clock_icon_gray.svg‎|64px|left|link=]] This page is a work in progress ... </div><p style="text-align: center; font-size: 87%;">This page is under construction. Do not follow this document until this notice is removed.</p>
<pre>{{Draft|Alternate message.}}</pre>
|}</center></onlyinclude>
 
Flagged pages can be found in [[Special:WhatLinksHere/Template:Draft]].
 
=== Examples ===
 
<pre>{{Draft}}</pre>
 
will produce:
<!--
{{subst:Draft}}
-->
<center>
{|style="width: 48em; padding:2px; margin:0; margin-bottom:10px; background-color:#f6f6f6; border:1px solid #aaa; -moz-border-radius-bottomright: 0.5em; -moz-border-radius-bottomleft: 1em; border-radius-bottomright: 0.5em; border-radius-bottomleft: 1em; -webkit-border-bottom-right-radius: 0.5em; -webkit-border-bottom-left-radius: 1em;"
|<div style="font-size: 1.5em; font-weight:bold; text-align:center;"> [[Image:Underconstruction_clock_icon_gray.svg‎|64px|left|link=]] This material is work-in-progress ... </div><p style="text-align: center; font-size: 87%;">Do not follow instructions here until this notice is removed.<br /><i>(Last edited by
{{REVISIONUSER}} on {{REVISIONDAY}} {{Month|{{REVISIONMONTH1}}}} {{REVISIONYEAR}}.)</i></p>
|}</center>
 
<pre>{{Draft|Alternate message.}}</pre>
 
will produce:
<!--
{{subst:Draft|Alternate message.}}
-->
<center>
{|style="width: 48em; padding:2px; margin:0; margin-bottom:10px; background-color:#f6f6f6; border:1px solid #aaa; -moz-border-radius-bottomright: 0.5em; -moz-border-radius-bottomleft: 1em; border-radius-bottomright: 0.5em; border-radius-bottomleft: 1em; -webkit-border-bottom-right-radius: 0.5em; -webkit-border-bottom-left-radius: 1em;"
|<div style="font-size: 1.5em; font-weight:bold; text-align:center;"> [[Image:Underconstruction_clock_icon_gray.svg‎|64px|left|link=]] This material is work-in-progress ... </div><p style="text-align: center; font-size: 87%;">Alternate message.<br /><i>(Last edited by
{{REVISIONUSER}} on {{REVISIONDAY}} {{Month|{{REVISIONMONTH1}}}} {{REVISIONYEAR}}.)</i></p>
|}</center>
 
<hr>
 
</noinclude><includeonly><center>
{|style="width: 48em; padding:2px; margin:0; margin-bottom:10px; background-color:#f6f6f6; border:1px solid #aaa; -moz-border-radius-bottomright: 0.5em; -moz-border-radius-bottomleft: 1em; border-radius-bottomright: 0.5em; border-radius-bottomleft: 1em; -webkit-border-bottom-right-radius: 0.5em; -webkit-border-bottom-left-radius: 1em;"
|<div style="font-size: 1.5em; font-weight:bold; text-align:center;"> [[Image:Underconstruction_clock_icon_gray.svg‎|64px|left|link=]] This material is work-in-progress ... </div><p style="text-align: center; font-size: 87%;">{{{1|Do not follow instructions here until this notice is removed.}}}<br /><i>(Last edited by
{{REVISIONUSER}} on {{REVISIONDAY}} {{Month|{{REVISIONMONTH1}}}} {{REVISIONYEAR}}.)</i></p>
|}</center></includeonly>

Latest revision as of 08:22, 30 May 2017

Template Documentation for Draft

This page is a template and should only be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

This template is for work in progress.

Usage

This template should be added at the beginning of articles or sections that are unfinished.

{{Draft}}

You can provide an alternate message in the first argument.

{{Draft|Alternate message.}}

Flagged pages can be found in Special:WhatLinksHere/Template:Draft.

Examples

{{Draft}}

will produce:

This material is work-in-progress ...

Do not follow instructions here until this notice is removed.
(Last edited by Dubiousjim on 30 May 2017.)

{{Draft|Alternate message.}}

will produce:

This material is work-in-progress ...

Alternate message.
(Last edited by Dubiousjim on 30 May 2017.)