Difference between revisions of "Template:NoticeBoard"
From OdleWiki
m (Added "How to Use This Template") |
m (Added instructions for icon size.) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div style="width: 80%; margin: 0 auto 1em auto; border: solid 1px #{{{color}}}; border-left: solid 10px #{{{color}}};padding-top: 10px;"> | <div style="width: 80%; margin: 0 auto 1em auto; border: solid 1px #{{{color}}}; border-left: solid 10px #{{{color}}};padding-top: 10px;"> | ||
<div style="width: 10%; float: left; text-align: center;"> | <div style="width: 10%; float: left; text-align: center;"> | ||
| − | [[File:{{{icon}}}|35px]] | + | [[File:{{{icon}}}|{{{size|35px}}}]] |
</div> | </div> | ||
| Line 20: | Line 20: | ||
{{Template:NoticeBoard | {{Template:NoticeBoard | ||
|icon=[Name of the icon to use for this notice] | |icon=[Name of the icon to use for this notice] | ||
| + | |size=[Size of the icon, in pixels. If you do not specify a size, the default of 35px will be used.] | ||
|color=[Border color in hex—do not include the hash mark] | |color=[Border color in hex—do not include the hash mark] | ||
|notice=[Title of the notice] | |notice=[Title of the notice] | ||
Latest revision as of 14:32, 21 May 2017
[[File:{{{icon}}}|35px]]
{{{notice}}}
{{{text}}}
How to Use This Template
{{Template:NoticeBoard
|icon=[Name of the icon to use for this notice]
|size=[Size of the icon, in pixels. If you do not specify a size, the default of 35px will be used.]
|color=[Border color in hex—do not include the hash mark]
|notice=[Title of the notice]
|text=[text of the notice]
}}
Be sure to include the following afterward, if necessary:
<includeonly> [[Category:]] </includeonly>
To add the category automatically.
