Difference between revisions of "Template:Ambox"
From WikiTemp, the GBAtemp wiki
m |
m |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {|class="wikitable"| style="margin: 1em auto 1em auto; border: solid 1px grey; border-left:10px solid {{{color|dodgerBlue}}}; background: #FFF; width:80%" | + | {|class="wikitable"| style="margin: 1em auto 1em auto; border: solid 1px grey; border-left:10px solid {{{color|dodgerBlue}}}; background: {{{background|#FFF}}}; width:{{{width|80%}}};" |
|- | |- | ||
|style="width:50px; padding-left:1px; padding-right:1px; text-align:center;"|[[{{#ifexist:{{{image|Image:Ambox_notice.png}}}|{{{image|Image:Ambox_notice.png}}}|Image:{{{image|Image:Ambox_notice.png}}}}}{{#if:{{{imagewidth|}}}|{{!}}{{{imagewidth}}}}}]] | |style="width:50px; padding-left:1px; padding-right:1px; text-align:center;"|[[{{#ifexist:{{{image|Image:Ambox_notice.png}}}|{{{image|Image:Ambox_notice.png}}}|Image:{{{image|Image:Ambox_notice.png}}}}}{{#if:{{{imagewidth|}}}|{{!}}{{{imagewidth}}}}}]] | ||
− | |{{{text}}} | + | |<span class="plainlinks">{{{text}}}</span> |
|}<noinclude> | |}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
− | [[Category:Message Box Templates]]</noinclude> | + | [[Category:Message Box Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 12:42, 4 January 2011
{{{text}}} |
↑ Template Documentation ↓ [Edit • Reload] | ||
---|---|---|
This is the basic Template for Article Message Boxes. Normally, this template isn't used directly on a page, but is implemented by other Templates instead.
It is recommended to base templates on Template:Mbox instead of this template. Parameters
Example Usage{{Ambox |color = red |background = #EEE |image = Image:Warning.png |imagewidth = 40px |text = WARNING: This is just an example! }} This produces:
| ||
The above documentation was Transcluded from the /doc subpage |