This wiki is for the exclusive use of my friends and colleagues. Account creation and anonymous editing have been turned off.

If you are a friend or colleague of mine, and would like to participate in this project, please send me a message.

If you find these pages useful, please donate to help cover server costs. Thanks!

Difference between revisions of "Template:NoticeBoard"

From OdleWiki
m (Added padding to top of outer container)
m (Added instructions for icon size.)
 
(2 intermediate revisions 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 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]
 +
|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]
 +
}}
 +
</nowiki></pre>
 +
 +
Be sure to include the following afterward, if necessary:
 +
 +
<pre><nowiki>
 +
<includeonly>
 +
[[Category:]]
 +
</includeonly>
 +
</nowiki></pre>
 +
 +
To add the category automatically.
 +
 +
</noinclude>

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.