Template:Needs sources
From MeritBadgeDotOrg
(Difference between revisions)
(migrate to {{ArticleMessageBox) |
(got it working!) |
||
| (4 intermediate revisions not shown.) | |||
| Line 1: | Line 1: | ||
{{ArticleMessageBox | {{ArticleMessageBox | ||
| + | |width={{{1|80%}}} | ||
| + | |left-indent = {{{2|10%}}} | ||
|barcolor = #f28500 | |barcolor = #f28500 | ||
|image = Question-book.png | |image = Question-book.png | ||
| - | |text = '''''This article appears to not provide sufficient references to [[Help:Reliable resources|reliable sources]].'''''<br>Please help [ | + | |text = '''''This article appears to not provide sufficient references to [[Help:Reliable resources|reliable sources]].'''''<br>Please help [{{fullurl:{{PAGENAME}}|action=edit}} add sources for this article]. Unverifiable links and articles may be removed. |
}} | }} | ||
| - | <noinclude>{{Documentation}}[[Category:Article Message Boxes]]</noinclude> | + | <noinclude> |
| + | <br> | ||
| + | {{Documentation}}[[Category:Article Message Boxes]]</noinclude> | ||
<includeonly>[[Category:Articles needing references]]</includeonly> | <includeonly>[[Category:Articles needing references]]</includeonly> | ||
Current revision
| | 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. |
Function
{{Needs sources}} lets you quickly label an article as one needing to be expanded.
{{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 {{Needs sources}} without any parameters
{{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
{{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
{{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%
{{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
- MeritBadgeDotOrg:Article message boxes
- Article Message_Box usage
- Template:Needs sources
- Template:Expand
- Stub
- Workpage
[[Category:Maintenance templates|Template:Needs sources]]
