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:Inline-warning"

From OdleWiki
Line 4: Line 4:
 
'''Warning: '''{{{1}}}
 
'''Warning: '''{{{1}}}
 
</div></div>
 
</div></div>
 +
 +
<noinclude>
 +
==How to Use This Template==
 +
 +
This template should be used to add an inline warning to a wiki page.
 +
 +
A '''warning''' is stronger than a note. To add an inline note to a page, use {{Template:inline-note}} instead.
 +
 +
To inlude it in a page, add this where the warning should appear:
 +
 +
<pre>
 +
{{inline-warning|display text}}
 +
</pre>
 +
 +
Replace "display text" with the text you want to appear after the word "'''Warning:'''".
 +
 +
For example, this code:
 +
 +
<pre>
 +
{{inline-warning|This template should only be used inline, not at the top of a page.}}
 +
</pre>
 +
 +
will produce this in your page:
 +
 +
{{inline-warning|This template should only be used inline, not at the top of a page.}}
 +
 +
</noinclude>

Revision as of 19:17, 7 January 2014

Inline-warning.png

Warning: {{{1}}}


How to Use This Template

This template should be used to add an inline warning to a wiki page.

A warning is stronger than a note. To add an inline note to a page, use

Inline-note.png

Note: {{{1}}}

instead.

To inlude it in a page, add this where the warning should appear:

{{inline-warning|display text}}

Replace "display text" with the text you want to appear after the word "Warning:".

For example, this code:

{{inline-warning|This template should only be used inline, not at the top of a page.}}

will produce this in your page:

Inline-warning.png

Warning: This template should only be used inline, not at the top of a page.