Difference between revisions of "Template:Note"
From Flexible Survival
(Created) |
m (Change parameter names) |
||
Line 19: | Line 19: | ||
</css> | </css> | ||
− | <div class="note {{ | + | <div class="note {{icon}}" style="margin:0.5em 5em;padding:0.1em 1em 0.1em 4em;border:1px solid #8d8d8d;border-radius:0.5em;background-color:#efefef"> |
− | [[File:icon_note{{#if: {{ | + | [[File:icon_note{{#if: {{icon}} | _{{lc:{{icon}}}} | }}.png|frameless|link=]] |
− | {{ | + | {{content}} |
</div> | </div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 28: | Line 28: | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
− | {{Note| | + | {{Note |
− | 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 = <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. | ||
}} | }} | ||
</pre> | </pre> | ||
Line 35: | Line 36: | ||
== Examples == | == Examples == | ||
{{Note | {{Note | ||
− | | | + | | Icon = |
− | | | + | | 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. |
}}[[Category:Templates]] | }}[[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 17:05, 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
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.