Changes

Jump to: navigation, search

Template:Notice/doc

724 bytes added, 05:19, 29 April 2016
m
Added documentation for 'float'
*<i>Optional</i>: {{para|border}}
*:Notice box left-border-bar definition.
*:Use {{para|border|<var>definition</var>}}, where <code><var>definition</var></code> is a valid custom definition for the [http://www.w3schools.com/cssref/pr_border-left.asp CSS property <code>border-left</code>].*:Or use {{para|border|preset}}, where <varcode>preset</varcode> is one of the predefined names below<nowiki>:</nowiki>
*:*<span style="background-color:#b22222;">&nbsp; &nbsp;</span> red &rArr; <code>10px solid #b22222</code>
*:*<span style="background-color:#f28500;">&nbsp; &nbsp;</span> orange &rArr; <code>10px solid #f28500</code>
*:Default: {{para|border|blue}}
*:<i>You don't need to provide the <code>;</code> at the end to properly terminate the definition(s) because it will be appended automatically for proper functionality.</i>
*<i>Optional</i>: {{para|float|side}}
*:Float the Notice box.
*:Where <code>side</code> can be one of: <i>(Case insensitive)</i>
*:*<code>l</code> or <code>left</code>
*:*<code>r</code> or <code>right</code>
*:*<code>n</code> or <code>none</code>
*:When anything else is provided it will be treated as <b><code>none</code></b>.
*:<span style="color:red;"><b>When used</b> it alters the <u>default value</u> for <code>styleWidth</code></span> of {{para|style}}<sup>(see below)</sup> as following when the effective floating is:
*:*left &rArr; <code>25%</code>
*:*right &rArr; <code>25%</code>
*:*none &rArr; <code>50%</code>
*<i>Optional</i>: {{para|style|<var>inline-CSS;</var>}}
*:Completely override the inline-CSS used in the [http://www.w3schools.com/tags/att_global_style.asp style-attribute] of the table that generates the Notice box.
*:To override parts of the default shown above you can use: <i>(defaults shown as value)</i>
*:*{{para|styleFontSize|95%}}
*:*{{para|styleWidth|80%}}<i>(Default value is altered when {{para|float}}<sup>(see above)</sup> is used.)</i>
*:*{{para|styleMargin|0 auto}}
*:*{{para|styleBorder|1px #aaa solid}}
1,071
edits

Navigation menu