Difference between revisions of "Template:Important note box/doc"
From EVE University Wiki
(Created page with "<noinclude>{{main|Template:Important note box}}</noinclude> == Usage == This template creates a text box for important content or warnings, to avoid it getting lost in the flo...") |
m |
||
Line 32: | Line 32: | ||
*<code>{{t|color box}}</code>, the general template for creating coloured boxes with text in them. | *<code>{{t|color box}}</code>, the general template for creating coloured boxes with text in them. | ||
− | <includeonly>[[Category: | + | <includeonly>[[Category:Formatting templates]]</includeonly> |
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 21:14, 18 March 2021
- Main article: Template:Important note box
Usage
This template creates a text box for important content or warnings, to avoid it getting lost in the flow of an article. Keep in mind that large number of these templates can make a page look cluttered, so use them judiciously.
{{ important note box | text | italics = no }}
- text
- 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 (
=
), you need to explicitly declare your text as a numbered parameter (i.e. put1=
before your example text), otherwise the template will display nothing. - italics
- Add the parameter
italics=no
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.
Examples
{{ important note box | Before undocking for PvP, make sure your medical clone is up to date! }}:
{{ important note box | '''WARNING!''' Taking your Carrier into low-sec without support is a ''very'' bad idea. Don't be an expensive killmail! | italics=no }}:
{{ important note box | 1=No matter what they say, 1+1=2, but it still needs a "1=" before the text. }}: