Template:Expand
From MeritBadgeDotOrg
(Difference between revisions)
(add variables for width and left margin) |
(fix typo) |
||
| Line 4: | Line 4: | ||
|barcolor = #f28500 | |barcolor = #f28500 | ||
|image = Sm-fdl.gif | |image = Sm-fdl.gif | ||
| - | |text = '''Please help [{{fullurl:{{PAGENAME}}|action=edit}} improve this | + | |text = '''Please help [{{fullurl:{{PAGENAME}}|action=edit}} improve this article] by expanding it.'''<br />Further information might be found on the [[{{TALKPAGENAME}}|talk page]]. |
|includeonly = {{{nocat|[[Category:Articles that need to be expanded]]}}} | |includeonly = {{{nocat|[[Category:Articles that need to be expanded]]}}} | ||
}}<noinclude>{{documentation}}</noinclude> | }}<noinclude>{{documentation}}</noinclude> | ||
Revision as of 16:31, October 17, 2008
| | Please help improve this article 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
- MeritBadgeDotOrg:Article message boxes
- Article Message_Box usage
- Expand2 → Same message in a narrower format to fit smaller places
- Stub
- Workpage
[[Category:Maintenance templates|Template:Expand]]
