Template:Notebox: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
Creates a formatted note in a box, float right by default.


;Syntax
* float [right, left, none] - default is 'right'.
* width - default is 20em. setting to 'auto' will do normal horizontal fill behavior.
;Examples
<code><nowiki>{{Notebox|Stuff I want to say}}</nowiki></code>
Or for a multi-bullet box:
<nowiki>{{Notebox|The first line
* The second line
}}</nowiki>
[[Category:General wiki templates|{{PAGENAME}}]]
----
;Template
<onlyinclude><div class="mainpagetableblue" style="float:{{{float|right}}}; width: {{{width|20em}}}; border: 1px #606080 solid; padding: 5px; margin: 0em 0em 1em 2em; font-size:85%;">{{{1}}}</div></onlyinclude>

Latest revision as of 07:51, 18 May 2020

Creates a formatted note in a box, float right by default.

Syntax
  • float [right, left, none] - default is 'right'.
  • width - default is 20em. setting to 'auto' will do normal horizontal fill behavior.
Examples
{{Notebox|Stuff I want to say}}

Or for a multi-bullet box:

{{Notebox|The first line
 * The second line
 }}

Template
{{{1}}}