Template:Titled box: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(if we want to show complicated stuff we have to use keyword args anyway, so make them nice)
m (remove external link icon on edit links)
Line 3: Line 3:
{|style="width: 100%; height: 1em; background: #cef2e0; border: 1px solid #a3bfb1; padding: 0 5px;"
{|style="width: 100%; height: 1em; background: #cef2e0; border: 1px solid #a3bfb1; padding: 0 5px;"
|style="font-size: 1.2em; font-weight: bold;"|{{{title|Title}}}{{#if:{{{editlink|}}}|<br />
|style="font-size: 1.2em; font-weight: bold;"|{{{title|Title}}}{{#if:{{{editlink|}}}|<br />
{{!}}style="text-align:right;"{{!}}[{{fullurl:{{{editlink}}}|action=edit}} edit]}}
{{!}}style="text-align:right;" class="plainlinks"{{!}}[{{fullurl:{{{editlink}}}|action=edit}} edit]}}
|}
|}
|-
|-

Revision as of 04:59, September 20, 2010

Title

Content.

Use

{{titled box|title=...|content=...|editlink=...}}

editlink is optional, and is the page to link to; if not given, no edit link is shown.