<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.moltenaether.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ANotice_box%2FDocumentation</id>
	<title>Template:Notice box/Documentation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.moltenaether.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ANotice_box%2FDocumentation"/>
	<link rel="alternate" type="text/html" href="https://wiki.moltenaether.com/w/index.php?title=Template:Notice_box/Documentation&amp;action=history"/>
	<updated>2026-05-16T20:25:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://wiki.moltenaether.com/w/index.php?title=Template:Notice_box/Documentation&amp;diff=1584&amp;oldid=prev</id>
		<title>Thumper: Created template documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.moltenaether.com/w/index.php?title=Template:Notice_box/Documentation&amp;diff=1584&amp;oldid=prev"/>
		<updated>2016-08-12T17:49:46Z</updated>

		<summary type="html">&lt;p&gt;Created template documentation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This template creates a notice box.&lt;br /&gt;
Usually you won't want to use this template directly.&lt;br /&gt;
Instead, it is intended to be used by other templates to create customized notices.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
* {{tlx|notice}}: General purpose notice box template&lt;br /&gt;
* The template documentation box is also a notice box&lt;br /&gt;
&lt;br /&gt;
Notice boxes are much more disruptive than [[Template:Section note|section note]]s, so you shouldn't use them as part of the regular text of a page.&lt;br /&gt;
They are more for things you ''really'' want to jump out at the reader, like warnings.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{notice box&lt;br /&gt;
 | title   = &amp;lt;title text&amp;gt;&lt;br /&gt;
 | content = &amp;lt;content&amp;gt;&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;amp;lt;title&amp;amp;gt;&amp;lt;/tt&amp;gt; is the text that will be used for the title of the notice box.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;amp;lt;content&amp;amp;gt;&amp;lt;/tt&amp;gt; is what will be placed in the content area of the notice box.&lt;br /&gt;
&lt;br /&gt;
By default the notice box is presented with a cyan background, and an exclamation mark icon to the left of the title.&lt;br /&gt;
The icon is generated via {{tlx|notice icon|❢|royalblue}}.&lt;br /&gt;
&lt;br /&gt;
For example, {{tlx|notice box|title{{=}}Notice|content{{=}}This is the content.}} gives:&lt;br /&gt;
&lt;br /&gt;
{{notice box|title=Notice|content=This is the content.}}&lt;br /&gt;
&lt;br /&gt;
(Note that if you're doing the above, it would be simpler to just do: {{tlx|notice|This is the content.}}.)&lt;br /&gt;
&lt;br /&gt;
== Optional arguments ==&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;tt&amp;gt;icon&amp;lt;/tt&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
You can change the icon used in a notice box with the &amp;lt;tt&amp;gt;icon&amp;lt;/tt&amp;gt; argument.&lt;br /&gt;
Anything you use will replace the default icon.&lt;br /&gt;
&lt;br /&gt;
You will probably want to use {{tlx|notice icon}} to create your icon.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{notice box&lt;br /&gt;
 | title   = Looks like rain!&lt;br /&gt;
 | icon    = {{notice icon|☔|blue}}&lt;br /&gt;
 | content = Hope you brought your umbrella!&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Produces:&lt;br /&gt;
&lt;br /&gt;
{{notice box&lt;br /&gt;
 | title   = Looks like rain!&lt;br /&gt;
 | icon    = {{notice icon|☔|blue}}&lt;br /&gt;
 | content = Hope you brought your umbrella!&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;tt&amp;gt;background&amp;lt;/tt&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
By default the background of the notice box is cyan.&lt;br /&gt;
But you can set it to any colour with &amp;lt;tt&amp;gt;background&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Any colour format recognized by Cascading Style Sheets can be used.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{notice box&lt;br /&gt;
 | title      = Yarrr!&lt;br /&gt;
 | icon       = {{notice icon|☠}}&lt;br /&gt;
 | background = #ccc&lt;br /&gt;
 | content    = Well, blow me down!&lt;br /&gt;
&lt;br /&gt;
There be pirates here!&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Produces:&lt;br /&gt;
&lt;br /&gt;
{{notice box&lt;br /&gt;
 | title      = Yarrr!&lt;br /&gt;
 | icon       = {{notice icon|☠}}&lt;br /&gt;
 | background = #ccc&lt;br /&gt;
 | content    = Well, blow me down!&lt;br /&gt;
&lt;br /&gt;
There be pirates here!&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
You will almost never want to use this template directly in pages.&lt;br /&gt;
{{tlx|notice}} does pretty much everything you need for general notices, and is easier to use.&lt;br /&gt;
This template is best used to create custom notice types.&lt;br /&gt;
&lt;br /&gt;
Because of the nature of wiki markup, you have to be careful about how you format your content text.&lt;br /&gt;
Normally when you have two lines of text separated by a single newline, they get joined into a single paragraph:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;This is line 1.&lt;br /&gt;
This is line 2.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
produces:&lt;br /&gt;
&lt;br /&gt;
This is line 1.&lt;br /&gt;
This is line 2.&lt;br /&gt;
&lt;br /&gt;
That works in the content of a notice box... ''except'' for the last line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{notice box&lt;br /&gt;
 | title   = Title&lt;br /&gt;
 | content = This is line 1.&lt;br /&gt;
This is line 2.&lt;br /&gt;
&lt;br /&gt;
This is line 3.&lt;br /&gt;
This is line 4.&lt;br /&gt;
&lt;br /&gt;
This is line 5.&lt;br /&gt;
This is line 6.&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Produces:&lt;br /&gt;
&lt;br /&gt;
{{notice box&lt;br /&gt;
 | title   = Title&lt;br /&gt;
 | content = This is line 1.&lt;br /&gt;
This is line 2.&lt;br /&gt;
&lt;br /&gt;
This is line 3.&lt;br /&gt;
This is line 4.&lt;br /&gt;
&lt;br /&gt;
This is line 5.&lt;br /&gt;
This is line 6.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Notice that lines 5 and 6 are separated into two paragraphs.&lt;br /&gt;
&lt;br /&gt;
To prevent this, you can do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{notice box&lt;br /&gt;
 | title   = Title&lt;br /&gt;
 | content = This is line 1.&lt;br /&gt;
This is line 2.&lt;br /&gt;
&lt;br /&gt;
This is line 3.&lt;br /&gt;
This is line 4.&lt;br /&gt;
&lt;br /&gt;
This is line 5.&lt;br /&gt;
This is line 6.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki/&amp;gt;}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to get:&lt;br /&gt;
&lt;br /&gt;
{{notice box&lt;br /&gt;
 | title   = Title&lt;br /&gt;
 | content = This is line 1.&lt;br /&gt;
This is line 2.&lt;br /&gt;
&lt;br /&gt;
This is line 3.&lt;br /&gt;
This is line 4.&lt;br /&gt;
&lt;br /&gt;
This is line 5.&lt;br /&gt;
This is line 6.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki/&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
But as you can see, it creates extra space at the bottom.&lt;br /&gt;
&lt;br /&gt;
The only real solution is to simply make sure the last paragraph in your notice box content is all on a single line.&lt;br /&gt;
It's a pain the ass, sure, but... it's all you can do.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Template documentation]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Thumper</name></author>
	</entry>
</feed>