Template:Draft: Difference between revisions

From Alpine Linux
(Add (Last edited by...))
(Use subst:)
Line 18: Line 18:


will produce:
will produce:
{{substx: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. (<i>Last edited by
{{REVISIONUSER}} on {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY}}.</i>)</p>
|}</center>


<pre>{{Draft|Alternate message.}}</pre>
<pre>{{Draft|Alternate message.}}</pre>


will produce:
will produce:
{{substx: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. (<i>Last edited by
{{REVISIONUSER}} on {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY}}.</i>)</p>
|}</center>


<hr>
<hr>

Revision as of 04:25, 24 March 2012

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 2012-03-24.)

{{Draft|Alternate message.}}

will produce:

This material is work-in-progress ...

Alternate message. (Last edited by Dubiousjim on 2012-03-24.)