Template:Expand

From MeritBadgeDotOrg

(Difference between revisions)
Jump to: navigation, search
m (change cat)
(re-write)
Line 1: Line 1:
-
<div style="{{divstylelightblue}}">
+
{| style="width: 80%; margin: 0 0 0 10%; border-collapse: collapse; background: #FBFBFB; border: 1px solid #aaa; border-left: 10px solid #1e90ff;"
-
{| style="padding:0 0 0 0; background:transparent;"
+
|-
-
| width=64px |
+
| style="width: 52px; padding: 2px 0px 2px 0.5em; text-align: center;" | [[image:Sm-fdl.gif‎|Expand]]
-
{|style="float:left; background-color:transparent;"
+
| style="padding: 0.25em 0.5em;" | '''Please help [{{fullurl:{{PAGENAME}}|action=edit}} improve this {{{1|article or section}}}] by expanding it.'''<br />Further information might be found on the [[{{TALKPAGENAME}}|talk page]].
-
| [[Image:B-tenderfoot.jpg|45px]]
+
|}<includeonly>[[Category:Articles that need to be expanded]]</includeonly><noinclude>
-
|-
+
{{{{FULLPAGENAME}}/doc}}
-
|}
+
<!-- Add Categories to the /doc subpage, not here! -->
-
|'''Please help [{{fullurl:{{PAGENAME}}|action=edit}} improve this {{{1|article or section}}}] by expanding it.''' Further information might be found on the [[{{TALKPAGENAME}}|talk page]].
+
-
|}</div><includeonly>[[Category:Articles that need to be expanded]]</includeonly><noinclude>
+
-
----
+
-
==Usage==
+
-
Self-explanatory.
+
-
 
+
-
===Notes===
+
-
''Articles tagged with this template are automatically added to [[:Category:Articles that need to be expanded]].''
+
-
 
+
-
==See also==
+
-
*[[Template:Stub|Stub]]
+
-
*[[Template:Workpage|Workpage]]
+
-
 
+
-
[[Category:Maintenance templates|{{PAGENAME}}]]
+
</noinclude>
</noinclude>

Revision as of 11:14, October 3, 2007

Expand Please help improve this article or section by expanding it.
Further information might be found on the talk page.

Function


{{Expand}} lets you quickly label an article as one needing to be expanded.

{{Expand|width|leftmargin}} is the format for the optional variables 1 and 2. The default values are width = 80% and leftmargin=10%. Expand also adds the article to Category:Articles that need to be expanded. Articles tagged with this template are automatically added to Category:Articles that need to be expanded.

Examples


If you use {{Expand}} without any parameters
{{Expand}}

which gives:

Please help improve this article by expanding it.
Further information might be found on the talk page.


To automatically set the width to the minimum width needed
{{Expand|auto}}

which gives:

Please help improve this article by expanding it.
Further information might be found on the talk page.


To change the left margin to 5% and use auto width
{{Expand|auto|5%}}

which gives:

Please help improve this article by expanding it.
Further information might be found on the talk page.


One last example of left margin of 30px and width of 60%
{{Expand|60%|30px}}

which gives:

Please help improve this article by expanding it.
Further information might be found on the talk page.

Notes


Articles tagged with this template are automatically added to Category:Articles that need to be expanded.

See also



[[Category:Maintenance templates|Template:Expand]]



Personal tools
language