<?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%2FDocumentation</id>
	<title>Template:Notice/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%2FDocumentation"/>
	<link rel="alternate" type="text/html" href="https://wiki.moltenaether.com/w/index.php?title=Template:Notice/Documentation&amp;action=history"/>
	<updated>2026-04-20T12:28:32Z</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/Documentation&amp;diff=1589&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/Documentation&amp;diff=1589&amp;oldid=prev"/>
		<updated>2016-08-21T00:49:22Z</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 is for creating notices.&lt;br /&gt;
Notices are intended for presenting information that really stands out.&lt;br /&gt;
They 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;
This template is for general use, and it provides several standard notice types.&lt;br /&gt;
While it does allow you to create custom notice types, it is not really intended for that purpose.&lt;br /&gt;
For creating custom notice boxes, you should make a new template based on {{tlx|notice box}}.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
The most basic usage is simply providing the notice box content.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{notice&lt;br /&gt;
 | This is the notice box content.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Produces:&lt;br /&gt;
&lt;br /&gt;
{{notice&lt;br /&gt;
 | This is the notice box content.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For different types of notices, you can use the &amp;lt;code&amp;gt;type&amp;lt;/code&amp;gt; argument.&lt;br /&gt;
For example, to create an error notice, you could do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{notice&lt;br /&gt;
 | type = error&lt;br /&gt;
 | This is the notice box content.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which produces:&lt;br /&gt;
&lt;br /&gt;
{{notice&lt;br /&gt;
 | type = error&lt;br /&gt;
 | This is the notice box content.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The recognized types are listed below.&lt;br /&gt;
&lt;br /&gt;
=== Custom titles ===&lt;br /&gt;
&lt;br /&gt;
By default, the notice box's title will be the type (which defaults to &amp;lt;code&amp;gt;notice&amp;lt;/code&amp;gt;).&lt;br /&gt;
However, it is possible to change the title of the message box with the &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; argument.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{notice&lt;br /&gt;
 | type  = question&lt;br /&gt;
 | title = Just what do you think you're doing?&lt;br /&gt;
 | This is not a wise course of action.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Produces:&lt;br /&gt;
&lt;br /&gt;
{{notice&lt;br /&gt;
 | type  = question&lt;br /&gt;
 | title = Just what do you think you're doing?&lt;br /&gt;
 | This is not a wise course of action.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Types ===&lt;br /&gt;
&lt;br /&gt;
The recognized types are:&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;notice&amp;lt;/code&amp;gt;&lt;br /&gt;
: For general notices.&lt;br /&gt;
; &amp;lt;code&amp;gt;information&amp;lt;/code&amp;gt;&lt;br /&gt;
: For giving additional information. (&amp;lt;code&amp;gt;info&amp;lt;/code&amp;gt; is a shorthand synonym.)&lt;br /&gt;
; &amp;lt;code&amp;gt;question&amp;lt;/code&amp;gt;&lt;br /&gt;
: For describing unanswered questions.&lt;br /&gt;
; &amp;lt;code&amp;gt;caution&amp;lt;/code&amp;gt;&lt;br /&gt;
: For telling the reader to be careful about something.&lt;br /&gt;
; &amp;lt;code&amp;gt;warning&amp;lt;/code&amp;gt;&lt;br /&gt;
: For informing the reader about a problem that isn't serious enough to change anything, but that they should be aware of.&lt;br /&gt;
; &amp;lt;code&amp;gt;problem&amp;lt;/code&amp;gt;&lt;br /&gt;
: For informing the reader about a serious problem that probably has noticeable impacts.&lt;br /&gt;
&lt;br /&gt;
By default, &amp;lt;code&amp;gt;type&amp;lt;/code&amp;gt; is set to &amp;lt;code&amp;gt;notice&amp;lt;/code&amp;gt;.&lt;br /&gt;
Unrecognized types also fall back to &amp;lt;code&amp;gt;notice&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Type examples ====&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;notice&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{notice|type=notice|Content.}}&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;information&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{notice|type=information|Content.}}&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;question&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{notice|type=question|Content.}}&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;caution&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{notice|type=caution|Content.}}&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;warning&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{notice|type=warning|Content.}}&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;problem&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{notice|type=problem|Content.}}&lt;br /&gt;
&lt;br /&gt;
=== Notice box customization ===&lt;br /&gt;
&lt;br /&gt;
Most everything in a notice is customizable.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;&lt;br /&gt;
: By default, the notice box's title is the type of notice box being used (which defaults to &amp;lt;code&amp;gt;notice&amp;lt;/code&amp;gt;).&lt;br /&gt;
; &amp;lt;code&amp;gt;icon&amp;lt;/code&amp;gt;&lt;br /&gt;
: Sets the icon used in the top left corner. Set it to blank to remove the icon. To make icons easily, you can use {{tlx|notice icon}}.&lt;br /&gt;
; &amp;lt;code&amp;gt;background&amp;lt;/code&amp;gt;&lt;br /&gt;
: Sets the background colour of the notice box. You can use anything recognized by CSS as a colour.&lt;br /&gt;
&lt;br /&gt;
For a truly customizable notice box that you will use multiple times, a better plan might be to create a new template based on {{tlx|notice box}}.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&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&lt;br /&gt;
 | 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&lt;br /&gt;
 | 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&lt;br /&gt;
 | 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&lt;br /&gt;
 | 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>