|
|
| (4 intermediate revisions by 3 users not shown) |
| Line 1: |
Line 1: |
| <div style="background-color:#404050; border: 1px solid #9999AD; padding:0.8em; text-align:left; color:#ffffff; overflow:hidden;{{#ifeq:{{italics}}|no||font-style:italic}};">{{{1|An interesting note.}}}</div><noinclude>
| | {{Color box |
| == Usage == | | |border= #9999AD |
| This template creates a grey text box. This template is useful if you would like to add a note into your article, drawing attention to certain details, or to better explain the context of an article or section.
| | |width= {{{width|auto}}} |
| <pre>{{ note box | text | italic = no }}</pre>
| | |color= #404050 |
| ;text
| | |align= left |
| :The note text inside the box. By default, this text is rendered in italics, but all other wiki-formatting (bold, text color, links, etc) work as normal. If the text you would like to use include an equals sign (<code>=</code>), you need to explicitly declare your text as a numbered parameter (i.e. put <code>1=</code> before your example text), otherwise the template will display nothing.
| | |text= white |
| ;italics
| | |italics= {{{italics|}}} |
| :Add the parameters <code>italics = no</code> to the template to render the text as non-italic (i.e. normal text). Use this parameter if you would like to have more control over the text formatting (for instance, if you would like to use italics selectively in your note). In most cases, you can omit this parameter.
| | |{{{1|An interesting note.}}} |
| === Examples ===
| | }}<noinclude> |
| <code><nowiki>{{note box|The E-UNI does '''not''' run [[Incursion_sites#Mothership_sites|Incursion Mothership sites]].}}</nowiki></code> gives:{{note box|The E-UNI does '''not''' run [[Incursion_sites#Mothership_sites|Incursion Mothership sites]].}}
| | {{documentation}} |
| | | </noinclude> |
| <code><nowiki>{{note box|This article includes three ''Wombles''. For articles with more than three ''Wombles'', see
| |
| * A Box of Wombles
| |
| * Boatload of Wombles
| |
| * Tons of Wombles|italics=no}}</nowiki></code> gives:{{note box|This article includes three ''Wombles''. For articles with more than three ''Wombles'', see
| |
| * A Box of Wombles
| |
| * Boatload of Wombles
| |
| * Tons of Wombles|italics=no}}
| |
| | |
| == See also ==
| |
| *<code>{{t|important note box}}</code>
| |
| *<code>{{t|example}}</code>
| |
| *<code>{{t|color box}}</code>
| |
| | |
| [[Category:Template]]
| |