Template:Notice

From Starfield Wiki
Jump to: navigation, search
Due to the sensitive nature of this template and the fact that it is used on a large number of pages, it has been semi-protected to prevent site-wide damage by vandal bots.
Editors: In order to minimize the impact on our servers, please use sandboxes to make and test changes to widely used templates before deployment.
For more information, please see this article's talk page.

Summary

This template produces a notice that can be placed on the top of articles or talk pages.

Parameters

Notice
Parameter Scope Description
1 or message required The message to display.
2 or image optional This adds an image to the left of the text. You should include the entire coding for the image you want to transclude. (Default is no image.)
border optional This changes the color of the border around the template. (Default is #CCCCBA.)
border-width optional This changes the width of the border around the template. (Default is 1.)
bgcolor optional This changes the color of the background inside the template. (Default is #FFFFEE.)
align optional Then changes the alignment of the text. (Default is left.)
margin optional This allows you to change the margins around the notice, giving control over notice placement. Uses CSS margin shorthand style. (Default is centered with a bottom margin the same size as the current font height Template:Nowrap.)
width optional This changes the width of the message. (Default is 80% of available width.)
clear optional Overrides forcing the message to appear above or below existing tables or images. Options are left, right, both, none, indicating which side(s) should be free of tables and images. (Default is both.)
id optional Enables assignment of element id's, intended for use with darkmode to provide alternate colors.
color optional The site-standard color to use. Possible options are: red, pink, blue, cyan, green, yellow, and white. (Defaults to white.)
class optional Any additional CSS classes to apply to the table.

Examples

{{Notice|Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nulla a nibh ut odio dictum ultrices. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos.}}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nulla a nibh ut odio dictum ultrices. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos.

See Also

Template:Tl2 - More standardized version of Notice: only allows site-standard colours and supports fewer parameters to encourage message consistency.