Difference between revisions of "Template:Page Notice"

From Shadowlack
Jump to navigationJump to search
(Created page with "<includeonly> <div id="{{{id|page_notice}}}" style="background-color:{{{bgcolor|#dfeff2}}}; margin: 0 1em; padding: 5px; border: 1px solid #aaa;"> {| style="background-color:{...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<div id="{{{id|page_notice}}}" style="background-color:{{{bgcolor|#dfeff2}}}; margin: 0 1em; padding: 5px; border: 1px solid #aaa;">
+
<div data-alert class="alert-box">{{{text}}}</div>
{| style="background-color:{{{bgcolor|#dfeff2}}}"
 
|-
 
| style="width:50px" | [[{{{icon|Image:Edit-clear.png}}}|45px|left]]
 
| {{{text}}}
 
|}
 
</div>
 
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>

Latest revision as of 18:08, 14 June 2014


This template is a wrapper for page notices. The following parameters can be used with this template, with all but the text parameter being optional:

{{Page Notice
| id=vfd
| bgcolor=#dfeff2
| icon=Image:Edit-clear.png
| text=This is the text to display in the box.
}}

Which yields:


This is the text to display in the box.