Template:Titled box: Difference between revisions
Jump to navigation
Jump to search
Greenpickle (talk | contribs) No edit summary |
Greenpickle (talk | contribs) (if we want to show complicated stuff we have to use keyword args anyway, so make them nice) |
||
Line 2: | Line 2: | ||
| | | | ||
{|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;"|{{{ | |style="font-size: 1.2em; font-weight: bold;"|{{{title|Title}}}{{#if:{{{editlink|}}}|<br /> | ||
{{!}}style="text-align:right;"{{!}}[{{fullurl:{{{ | {{!}}style="text-align:right;"{{!}}[{{fullurl:{{{editlink}}}|action=edit}} edit]}} | ||
|} | |} | ||
|- | |- | ||
| | | | ||
{{{ | {{{content|Content.}}} | ||
|}<noinclude> | |}<noinclude> | ||
==Use== | ==Use== | ||
<nowiki>{{ | <nowiki>{{titled box|title=...|content=...|editlink=...}}</nowiki> | ||
editlink is optional, and is the page to link to; if not given, no edit link is shown. | |||
[[Category:Templates|{{PAGENAME}}]]</noinclude> | [[Category:Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 12:30, September 19, 2010
| |
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.