Difference between revisions of "Template:NoticeBoard"
From OdleWiki
m (Added padding to top of outer container) |
m (Added "How to Use This Template") |
||
Line 13: | Line 13: | ||
</div> | </div> | ||
+ | |||
+ | <noinclude> | ||
+ | == How to Use This Template == | ||
+ | |||
+ | <pre><nowiki> | ||
+ | {{Template:NoticeBoard | ||
+ | |icon=[Name of the icon to use for this notice] | ||
+ | |color=[Border color in hex—do not include the hash mark] | ||
+ | |notice=[Title of the notice] | ||
+ | |text=[text of the notice] | ||
+ | }} | ||
+ | </nowiki></pre> | ||
+ | |||
+ | Be sure to include the following afterward, if necessary: | ||
+ | |||
+ | <pre><nowiki> | ||
+ | <includeonly> | ||
+ | [[Category:]] | ||
+ | </includeonly> | ||
+ | </nowiki></pre> | ||
+ | |||
+ | To add the category automatically. | ||
+ | |||
+ | </noinclude> |
Revision as of 14:11, 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] |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.