Template:Needs sources/doc
From MeritBadgeDotOrg
(Difference between revisions)
(clarify doc) |
(tweaking text) |
||
| Line 1: | Line 1: | ||
<big>'''Function'''</big> | <big>'''Function'''</big> | ||
---- | ---- | ||
| - | <nowiki>{{Template:Needs sources}}</nowiki> lets you quickly label an article as one needing | + | '''<nowiki>{{Template: Needs sources }}</nowiki>''' lets you quickly label an article as one needing to be expanded. |
| + | |||
| + | '''<nowiki>{{Template: Needs sources |width|leftmargin}}</nowiki>''' is the format for the optional variables 1 and 2. The default values are width = 80% and leftmargin=10%. | ||
| + | |||
<big>'''Examples'''</big> | <big>'''Examples'''</big> | ||
| Line 7: | Line 10: | ||
;If you use <nowiki>{{Template:Needs sources}}</nowiki> without any parameters: | ;If you use <nowiki>{{Template:Needs sources}}</nowiki> without any parameters: | ||
<nowiki>{{Template:Needs sources}}</nowiki> | <nowiki>{{Template:Needs sources}}</nowiki> | ||
| - | + | which gives: | |
{{Template:Needs sources}} | {{Template:Needs sources}} | ||
| - | |||
| - | |||
| - | |||
| - | |||
<br> | <br> | ||
;To automatically set the width to the minimum width needed: | ;To automatically set the width to the minimum width needed: | ||
| Line 28: | Line 27: | ||
which gives: | which gives: | ||
{{Template:Needs sources|60%|30px}} | {{Template:Needs sources|60%|30px}} | ||
| - | |||
| - | |||
| - | |||
<big>'''See also'''</big> | <big>'''See also'''</big> | ||
---- | ---- | ||
| - | * [[Template:Needs | + | * [[Template:Needs sources]] |
* [[Template:Expand]] | * [[Template:Expand]] | ||
* [[Template:Stub|Stub]] | * [[Template:Stub|Stub]] | ||
Revision as of 11:56, October 20, 2008
Function
{{Template: Needs sources }} lets you quickly label an article as one needing to be expanded.
{{Template: Needs sources |width|leftmargin}} is the format for the optional variables 1 and 2. The default values are width = 80% and leftmargin=10%.
Examples
- If you use {{Template:Needs sources}} without any parameters
{{Template:Needs sources}}
which gives:
| | This article appears to not provide sufficient references to reliable sources. Please help add sources for this article. Unverifiable links and articles may be removed. |
- To automatically set the width to the minimum width needed
{{Template:Needs sources|auto}}
which gives:
| | This article appears to not provide sufficient references to reliable sources. Please help add sources for this article. Unverifiable links and articles may be removed. |
- To change the left margin to 5% and use auto width
{{Template:Needs sources|auto|5%}}
which gives:
| | This article appears to not provide sufficient references to reliable sources. Please help add sources for this article. Unverifiable links and articles may be removed. |
- One last example of left margin of 30px and width of 60%
{{Template:Needs sources|60%|30px}}
which gives:
| | This article appears to not provide sufficient references to reliable sources. Please help add sources for this article. Unverifiable links and articles may be removed. |
See also
