Difference between revisions of "Template:Note"

From Flexible Survival
Jump to: navigation, search
(Tidy up CSS and correct variable names)
m (Attempt to fix variables)
Line 25: Line 25:
  
 
<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}}}
 
{{{content}}}
 
</div>
 
</div>

Revision as of 18:10, 31 October 2019

A template for short notes.

Usage

{{Note
| Icon = <type>
| 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.