Template:Ambox basic: Difference between revisions

From PWI Wiki
Jump to navigationJump to search
PWpedia>Sangodoc
Basic notice template
 
PWpedia>Sangodoc
Added color parameter
Line 1: Line 1:
<table class="metadata plainlinks ambox" style="margin: 0px 10%; border: 1px solid; border-left: 10px solid #1e90ff; background: #291a0e;">
<table class="metadata plainlinks ambox" style="margin: 0px 10%; border: 1px solid; border-left: 10px solid {{{color}}}; background: #291a0e;">
<tr>
<tr>
<td class="mbox-image"><div style="width: 56px;">[[Image:PWIAlert.png]]</div></td>
<td class="mbox-image"><div style="width: 56px;">[[Image:PWIAlert.png]]</div></td>
Line 6: Line 6:
</table>
</table>
<noinclude>
<noinclude>
This is a basic article message box (ambox) with a blue bar on the left.  To use this put '''<NoWiki>{{Ambox_basic|text=Your text here.}}</NoWiki>''' at the top of the article or section with your own text in the template tag.  You can change the style of the text by adding a textstyle parameter (like "|textstyle=color: red; font-weight: bold; font-style: italic;").  Other templates with default messages can/should be made using this template.
This is a basic '''article message box''' (ambox) with a colored bar on the left.  To use this put '''<NoWiki>{{Ambox_basic|color=#1e90ff|text=Your text here.}}</NoWiki>''' at the top of the article or section with your own text and color in the template tag (#1e90ff is the default blue color, but other colors can be used).  You can change the style of the text by adding a textstyle parameter (like "|textstyle=color: red; font-weight: bold; font-style: italic;").  Other templates with default messages can/should be made using this template.


Once they add the ParserFunctions plugin to this wiki this template should be depreciated in favor of [http://en.wikipedia.org/wiki/Template:Ambox the full Ambox code].
Once they add the ParserFunctions plugin to this wiki this template should be depreciated in favor of [http://en.wikipedia.org/wiki/Template:Ambox the full Ambox code].
</noinclude>
</noinclude>

Revision as of 05:21, 23 January 2010

This is a basic article message box (ambox) with a colored bar on the left. To use this put {{Ambox_basic|color=#1e90ff|text=Your text here.}} at the top of the article or section with your own text and color in the template tag (#1e90ff is the default blue color, but other colors can be used). You can change the style of the text by adding a textstyle parameter (like "|textstyle=color: red; font-weight: bold; font-style: italic;"). Other templates with default messages can/should be made using this template.

Once they add the ParserFunctions plugin to this wiki this template should be depreciated in favor of the full Ambox code.