Difference between revisions of "Template:Wikibox"

From LGPedia
Jump to: navigation, search
(wikibox!)
 
(fixed?)
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|{{#if:{{{1|}}}|{{#if: {{{2|}}}|{{{1}}}{{!}}{{{2}}}|{{{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}}{{#if:{{{2|}}}|{{!}}{{{2}}}}}}}}}}'''.''
 
|}<noinclude>
 
|}<noinclude>
 
{{clr}}
 
{{clr}}

Revision as of 21:56, 3 March 2008

Wikipedia-logo-small.png
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 no parameters are provided, the name of the page it is located on will be used. However, if the page name is more than one word, this will not work, and the parameters must be provided manually.