Template:Ambox basic: Difference between revisions

From PWI Wiki
Jump to navigationJump to search
PWpedia>Sangodoc
Basic notice template
 
PWpedia>Sangodoc
Color correction for new style
 
(2 intermediate revisions by the same user not shown)
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 #1e90ff; border-left: 10px solid {{{color}}}; background: #171513;">
<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 (blue by default).  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 (see below for other colors).  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.
 
'''Standard colors:'''<br>
:<span style="color:#1e90ff">Blue:</span> #1e90ff<br>
:<span style="color:#b22222">Red:</span> #b22222<br>
:<span style="color:#f28500">Orange:</span> #f28500<br>
:<span style="color:#f4c430">Yellow:</span> #f4c430<br>
:<span style="color:#9932cc">Purple:</span> #9932cc<br>
:<span style="color:#b49b50">Gold:</span> #b49b50<br>


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>

Latest revision as of 00:33, 7 October 2012

This is a basic article message box (ambox) with a colored bar on the left (blue by default). 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 (see below for other colors). 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.

Standard colors:

Blue: #1e90ff
Red: #b22222
Orange: #f28500
Yellow: #f4c430
Purple: #9932cc
Gold: #b49b50

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