Difference between revisions of "Template:Wikibox"
From LGPedia
(fixed?) |
(ok, trying to keep it simple...) |
||
Line 1: | Line 1: | ||
{| class="infobox" align="right" style="width:215px;border:#4682B4 1px solid;margin:1em 0 1em 1em;text-align: left; background:#F5F5F5; -moz-border-radius:10px;padding:9px 10px 8px 10px;" cellspacing="0" cellpaddin="0" | {| class="infobox" align="right" style="width:215px;border:#4682B4 1px solid;margin:1em 0 1em 1em;text-align: left; background:#F5F5F5; -moz-border-radius:10px;padding:9px 10px 8px 10px;" cellspacing="0" cellpaddin="0" | ||
|- | |- | ||
− | |style="line-height:1.5em;" valign="top"|[[Image:Wikipedia-logo-small.png|60px|left]]''Wikipedia also has an article about '''{{wikipedia|{{{1|{{PAGENAME}} | + | |style="line-height:1.5em;" valign="top"|[[Image:Wikipedia-logo-small.png|60px|left]]''Wikipedia also has an article about '''{{wikipedia|{{{1|{{PAGENAME}}}}}|{{{2|{{PAGENAME}}}}}}}'''.'' |
|}<noinclude> | |}<noinclude> | ||
{{clr}} | {{clr}} | ||
Line 9: | Line 9: | ||
{{wikibox|PAGENAME|OPTIONAL TEXT}} | {{wikibox|PAGENAME|OPTIONAL TEXT}} | ||
</pre> | </pre> | ||
− | PAGENAME must not have any spaces, but should have underscores instead in order for the link to work. If OPTIONAL TEXT is not provided, the text will be that of PAGENAME. If | + | PAGENAME must not have any spaces, but should have underscores instead in order for the link to work. If OPTIONAL TEXT is not provided, the text will be that of PAGENAME. If either of the parameters is left out, it will be replaced with the name of the current page. |
[[Category:Templates|{{PAGENAME}}]]</noinclude> | [[Category:Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 22:11, 3 March 2008
Wikipedia also has an article about Wikibox. |
Usage
Use this template to add a wikibox to the right-hand side of a page.
{{wikibox|PAGENAME|OPTIONAL TEXT}}
PAGENAME must not have any spaces, but should have underscores instead in order for the link to work. If OPTIONAL TEXT is not provided, the text will be that of PAGENAME. If either of the parameters is left out, it will be replaced with the name of the current page.