Template:Expand: Difference between revisions

From Alpine Linux
(fix template, widen box)
(→‎Examples: use subst:)
Line 15: Line 15:


will produce:
will produce:
{{Expand}}
<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:Tango-view-fullscreen.png‎|48px|left|link=]] This material needs expanding ... </div><p style="text-align: center; font-size: 87%;">Please feel free to help us complete it.</p>
|}</center>


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


will produce:
will produce:
{{Expand|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:Tango-view-fullscreen.png‎|48px|left|link=]] This material needs expanding ... </div><p style="text-align: center; font-size: 87%;">Alternate message.</p>
|}</center>





Revision as of 18:32, 23 March 2012

Template Documentation for Expand

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 pages or sections that need expanding.

Usage

This template should be added at the beginning of incomplete or "placeholder" pages or sections. You can explain in the first argument what material is still missing.

{{Expand|Message.}}

Flagged pages can be found in Special:WhatLinksHere/Template:Expand. If knowledgeable in a subject, users are encouraged to expand the material and remove the {{Expand}} flag when finished.


Examples

{{Expand}}

will produce:

This material needs expanding ...

Please feel free to help us complete it.

{{Expand|Alternate message.}}

will produce:

This material needs expanding ...

Alternate message.