Template:Draft: Difference between revisions

From Alpine Linux
(→‎Examples: use subst:)
(Add (Last edited by...))
Line 18: Line 18:


will produce:
will produce:
<center>
{{substx:Draft}}
{|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.</p>
|}</center>


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


will produce:
will produce:
<center>
{{substx:Draft|Alternate message.}}
{|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.</p>
|}</center>
 


<hr>
<hr>
Line 36: Line 29:
</noinclude><includeonly><center>
</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;"
{|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.}}}</p>
|<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.}}} (<i>Last edited by
{{REVISIONUSER}} on {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY}}.</i>)</p>
|}</center></includeonly>
|}</center></includeonly>

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: Template:Substx:Draft

{{Draft|Alternate message.}}

will produce: Template:Substx:Draft