Template:Needs sources

From MeritBadgeDotOrg

(Difference between revisions)
Jump to: navigation, search
(add examples)
Current revision (15:40, October 17, 2008) (edit) (undo)
(got it working!)
 
(One intermediate revision not shown.)
Line 7: Line 7:
}}
}}
<noinclude>
<noinclude>
-
 
+
<br>
-
==Examples==
+
-
;If you use {{PAGENAME}} without any parameters:
+
-
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki>
+
-
you get:
+
-
{{:{{FULLPAGENAME}}}}
+
-
 
+
-
;There are two parameters that can be added:
+
-
{<nowiki>{{</nowiki>{{PAGENAME}}|width|leftmargin<nowiki>}}</nowiki>
+
-
The deafult values for these fields are: width = 80% and leftmargin=10%
+
-
 
+
-
;To automatically set the width to the minimum width needed:
+
-
{<nowiki>{{</nowiki>{{PAGENAME}}|auto<nowiki>}}</nowiki>
+
-
which gives:
+
-
{{{{PAGENAME}}|auto}}
+
-
 
+
-
;To change the left margin to 5% and use auto width:
+
-
{<nowiki>{{</nowiki>{{PAGENAME}}|auto|5%<nowiki>}}</nowiki>
+
-
which gives:
+
-
{{{{PAGENAME}}|auto|5%}}
+
-
 
+
-
;One last example of left margin of 10px and width of 60%:
+
-
{<nowiki>{{</nowiki>{{PAGENAME}}|60%|10px<nowiki>}}</nowiki>
+
-
which gives:
+
-
{{{{PAGENAME}}|60%|10ppx}}
+
-
 
+
-
 
+
{{Documentation}}[[Category:Article Message Boxes]]</noinclude>
{{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.


Personal tools
language