Difference between revisions of "Template:Note"

From Flexible Survival
Jump to: navigation, search
(Add caution type note)
m (Attempt to fix variables)
Line 27: Line 27:
 
}
 
}
 
</css>
 
</css>
<div class="note {{{icon}}}">
+
<div class="note {{{Icon}}}">
[[File:icon_note{{#if: {{{icon|}}} | _{{lc:{{{icon}}}}} | }}.png|frameless|link=]]
+
[[File:icon_note{{#if: {{{Icon|}}} | _{{lc:{{{Icon}}}}} | }}.png|frameless|link=]]
 
{{{Content|There's an interesting note you should probably be aware of here, but whoever added this note forgot to fill it in.}}}
 
{{{Content|There's an interesting note you should probably be aware of here, but whoever added this note forgot to fill it in.}}}
 
</div>
 
</div>

Revision as of 01:03, 1 November 2019

A template for short notes.

Usage

{{Note
| Icon = [<empty>|Warning]
| Content = Content of the note, which can be as long as you like really, but this template is intended for notes of a few sentences in length really.
}}

Examples

Icon note.png Content of the note, which can be as long as you like really, but this template is intended for notes of a few sentences in length really.


Icon note warning.png Content of the note, which can be as long as you like really, but this template is intended for notes of a few sentences in length really.