<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.transitwiki.org/TransitWiki/index.php?action=history&amp;feed=atom&amp;title=Help%3ANotices</id>
	<title>Help:Notices - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.transitwiki.org/TransitWiki/index.php?action=history&amp;feed=atom&amp;title=Help%3ANotices"/>
	<link rel="alternate" type="text/html" href="https://www.transitwiki.org/TransitWiki/index.php?title=Help:Notices&amp;action=history"/>
	<updated>2026-06-15T08:44:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://www.transitwiki.org/TransitWiki/index.php?title=Help:Notices&amp;diff=4416&amp;oldid=prev</id>
		<title>Mlane97: Created page with &quot;You can make a template like the notices on this page; or make a one-off notice. The usual tool for the job is the {{tl|notice}}, but you can use {{tl|slim notice}} for a smal...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.transitwiki.org/TransitWiki/index.php?title=Help:Notices&amp;diff=4416&amp;oldid=prev"/>
		<updated>2017-10-31T19:13:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;You can make a template like the notices on this page; or make a one-off notice. The usual tool for the job is the {{tl|notice}}, but you can use {{tl|slim notice}} for a smal...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;You can make a template like the notices on this page; or make a one-off notice. The usual tool for the job is the {{tl|notice}}, but you can use {{tl|slim notice}} for a smaller headline, or {{tl|box}} to have no headline. Other than the headline parameter, the usage is the same for each.&lt;br /&gt;
&lt;br /&gt;
Use {{tl|notice}} like this, where colors are defined either [http://www.w3schools.com/html/html_colors.asp by number]...:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{notice&lt;br /&gt;
|width=80%&lt;br /&gt;
|background-color=#F3F2E0&lt;br /&gt;
|border-color=#B5B380&lt;br /&gt;
|headline=Your headline&lt;br /&gt;
|content=Your notice text&lt;br /&gt;
|radius=0&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
...to produce:&lt;br /&gt;
&lt;br /&gt;
{{notice&lt;br /&gt;
|width=80%&lt;br /&gt;
|background-color=#F3F2E0&lt;br /&gt;
|border-color=#B5B380&lt;br /&gt;
|headline=Your headline&lt;br /&gt;
|content=Your notice text&lt;br /&gt;
|radius=0&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
or using the &amp;#039;&amp;#039;names&amp;#039;&amp;#039; of standard colors (with this [http://en.wikipedia.org/wiki/Web_colors#X11_color_names table at Wikipedia]):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{notice&lt;br /&gt;
|width=60%&lt;br /&gt;
|background-color=PowderBlue&lt;br /&gt;
|border-color=Blue&lt;br /&gt;
|headline=Your headline&lt;br /&gt;
|content=Your notice text&lt;br /&gt;
|radius=8&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
...to produce:&lt;br /&gt;
&lt;br /&gt;
{{notice&lt;br /&gt;
|width=60%&lt;br /&gt;
|background-color=PowderBlue&lt;br /&gt;
|border-color=blUe&lt;br /&gt;
|headline=Your headline&lt;br /&gt;
|content=Your notice text&lt;br /&gt;
|radius=8&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;radius&amp;quot; term is changed from 0 (square corners) to 8 (rounded corners). The bigger the value the bigger the curve.&lt;br /&gt;
&lt;br /&gt;
To place an image in the notice, with size defined in number of pixels, one way is to use {{tl|notice with image}}:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{notice with image&lt;br /&gt;
|width=70%&lt;br /&gt;
|background-color=LightYellow&lt;br /&gt;
|border-color=DarkOrange&lt;br /&gt;
|radius=0&lt;br /&gt;
|image=Under construction orange.jpg&lt;br /&gt;
|imagesize=150&lt;br /&gt;
|content=This is a notice with a picture.&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{notice with image&lt;br /&gt;
|width=70%&lt;br /&gt;
|background-color=LightYellow&lt;br /&gt;
|border-color=DarkOrange&lt;br /&gt;
|radius=0&lt;br /&gt;
|image=Under construction orange.jpg&lt;br /&gt;
|imagesize=150&lt;br /&gt;
|content=This is a notice with a picture.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Colors ==&lt;br /&gt;
&lt;br /&gt;
Color and other details can be easily adjusted - look for the relevant value to change in the list of template parameters.&lt;br /&gt;
&lt;br /&gt;
Standard color names are found in [http://en.wikipedia.org/wiki/Web_colors#X11_color_names this table at Wikipedia].&lt;br /&gt;
&lt;br /&gt;
More colors are found at [http://www.computerhope.com/htmcolor.htm HTML color codes] - the color names often don&amp;#039;t work, so use the code - e.g. &amp;lt;nowiki&amp;gt;#F3F2E0&amp;lt;/nowiki&amp;gt; - of the color you want.&lt;br /&gt;
&lt;br /&gt;
To change the color of text, use &amp;lt;nowiki&amp;gt;&amp;lt;font color=&amp;quot;COLOR NAME OR CODE&amp;quot;&amp;gt;TEXT&amp;lt;/font&amp;gt;&amp;lt;/nowiki&amp;gt; - E.g. &amp;lt;nowiki&amp;gt;&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;Hello&amp;lt;/font&amp;gt;&amp;lt;/nowiki&amp;gt; produces a green &amp;quot;Hello&amp;quot;: &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;Hello&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Suggested color and format guidelines ==&lt;br /&gt;
&lt;br /&gt;
An initial attempt at creating some consistency - open to change...&lt;br /&gt;
&lt;br /&gt;
;Warnings, notices, problems with an article: Red border, yellow (e.g. LightYellow) background. (e.g. {{tl|globalize}}). Pink background for more serious notices (e.g. {{tl|category redirect}}&lt;br /&gt;
;Tags inviting participation: Rounded corners. Probably use a nicer template than this one, perhaps with an image, or at least use nice colors :-). &lt;br /&gt;
;Class attribution notices: Undecided so far - possibly picking a set or range of colors for a particular institution (An alternative might be to have particular colors for particular subjects, e.g. Engineering or Architecture, but as the articles will be categorized, that seems unnecessary.)&lt;br /&gt;
;Maintenance templates: Light shades of grey (grey is the color of overalls... makes sense for maintenance? Or change to a more inviting color?)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Slim notices ==&lt;br /&gt;
&lt;br /&gt;
Where you want a more discrete notice taking up a bit less room, use {{tl|slim notice}}.&lt;br /&gt;
&lt;br /&gt;
E.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{slim notice&lt;br /&gt;
|width=80%&lt;br /&gt;
|background-color=Wheat&lt;br /&gt;
|border-color=SaddleBrown&lt;br /&gt;
|radius=10&lt;br /&gt;
|headline=This is a slim notice&lt;br /&gt;
|content=This is an explanation&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
produces:&lt;br /&gt;
&lt;br /&gt;
{{slim notice&lt;br /&gt;
|width=80%&lt;br /&gt;
|background-color=Wheat&lt;br /&gt;
|border-color=SaddleBrown&lt;br /&gt;
|radius=10&lt;br /&gt;
|headline=This is a slim notice&lt;br /&gt;
|content=This is an explanation&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
To make a similar notice without color, use {{tl|slim notice clear}}, e.g.:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{slim notice clear&lt;br /&gt;
|width= 70%&lt;br /&gt;
|headline=Part of the [[XFZ]] project.&lt;br /&gt;
|content=&amp;#039;&amp;#039;This project is a work in progress - please check back in Jan 2013 for updates.&amp;#039;&amp;#039;}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
produces:&lt;br /&gt;
&lt;br /&gt;
{{slim notice clear&lt;br /&gt;
|width= 70%&lt;br /&gt;
|headline=Part of the [[XFZ]] project.&lt;br /&gt;
|content=&amp;#039;&amp;#039;This project is a work in progress - please check back in Jan 2013 for updates.&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
== More examples ==&lt;br /&gt;
Below are other examples of notice templates, made the direct way (not using {{tl|notice}}. Copy and edit the code of one of these to create a new notice template. Color and other details can be easily adjusted - look for the relevant part in the template header.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{tl|AAG}}: {{AAG}}:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{tl|115inprogress}}: {{115inprogress}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{tl|primarysources}}: {{primarysources}}&lt;br /&gt;
&lt;br /&gt;
== Wrapping text (or not) ==&lt;br /&gt;
&lt;br /&gt;
if your box uses align=right or align=left, and the width is less than the full width (e.g. style=&amp;quot;width: 60%;&amp;quot; also written as width=60%) then text and/other content will wrap around the box.&lt;br /&gt;
&lt;br /&gt;
If you want to stop the wrapping and put all new content &amp;#039;&amp;#039;below&amp;#039;&amp;#039; the content so far, then either: &lt;br /&gt;
* use align=center&lt;br /&gt;
* use width=100% &lt;br /&gt;
* use the code &amp;lt;nowiki&amp;gt;&amp;lt;br clear=all/&amp;gt;&amp;lt;/nowiki&amp;gt; after the notice (can be part of the template if desired).&lt;br /&gt;
&lt;br /&gt;
== Included category ==&lt;br /&gt;
&lt;br /&gt;
To add a category to all pages that use the template notice, but not add the category to the template itself, add the category between &amp;lt;nowiki&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;/nowiki&amp;gt; tags.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:This is the category name]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
== Template category and usage notes ==&lt;br /&gt;
&lt;br /&gt;
Remember to add {{Cl|Notice templates}} to the page, between &amp;lt;nowiki&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;/nowiki&amp;gt; tags (in the &amp;quot;Usage&amp;quot; section if there is one). This helps us all keep track of what notice templates have already been made.&lt;br /&gt;
&lt;br /&gt;
At a minimum, paste this in on the template page (changing &amp;#039;&amp;#039;&amp;#039;FOO&amp;#039;&amp;#039;&amp;#039; to the name of the template):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;nowiki&amp;gt;{{FOO}}&amp;lt;&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
produces:&lt;br /&gt;
&lt;br /&gt;
{{FOO}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Notice templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Alignment in raw coded notices ==&lt;br /&gt;
&lt;br /&gt;
In the first line of the table, after the &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{|&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;, add:&lt;br /&gt;
 style=&amp;quot;float:right;&amp;quot;&lt;br /&gt;
or &lt;br /&gt;
 align=&amp;quot;right&amp;quot; &lt;br /&gt;
&lt;br /&gt;
...or center or left as the case may be. &lt;br /&gt;
&lt;br /&gt;
These will allow any following text or page content to wrap around; if no such term is used, there is no wrapping.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Notice templates]]&lt;/div&gt;</summary>
		<author><name>Mlane97</name></author>
	</entry>
</feed>