Help:Templates
From OdleWiki
Templates in General
Formatting Templates
Flags
Templates which appear as flags at the top of pages should follow the following format:
<div style=" border:solid 1px #090; border-left:solid 10px #090; width: 80%; margin: 0 auto 16px auto; padding: 12px; background: #dfd; clear:both; "> [[File:Deprecated icon.png | left]] <div style="padding-left:80px;"> <div style="font-size: 18px; font-weight:bold; color:#090; margin-top:8px;">DEPRECATED</div> This page describes tags, elements, attributes, commands, or other aspects of code that are '''deprecated'''. A deprecated element is one that you should not use, and that browsers, parsers, or compilers may support for backwards compatibility. The information on this page is maintained for historical purposes only. </div> </div> <noinclude>[[Category:Flag Templates]]</noinclude>
They should be contained in a box with the following characteristics:
- The width of the box should be 80%.
- The box should have a dark border; 1 pixel in width around the top, right, and bottom sides, and 10 pixels on the left.
- The box should have a background similar in color to, but several shades lighter than, the border color.
- An appropriate, and where possible, unique, icon should be to the left.
- The first line should contain (ideally) a single word which sums up the purpose of the flag. It should be set in all caps, without boldface, and in the same color as the border.
- All text should be contained within the box, and limited to 500 characters whenever possible.
Flag templates may contain a functional category to aid in the editing of articles which need attention, such as stubs.