Template:Note: Difference between revisions
From Flexible Survival
Jump to navigationJump to search
m Attempt to fix variables |
m Protected "Template:Note" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
< | <div class="note note-{{lc:{{{Icon}}}}}"> | ||
div | |||
[[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.}}} | ||
| Line 37: | Line 10: | ||
<pre> | <pre> | ||
{{Note | {{Note | ||
| Icon = [<empty>|Warning] | | Icon = [<empty>|Warning|Lore] | ||
| 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. | | 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. | ||
}} | }} | ||
| Line 43: | Line 16: | ||
== Examples == | == Examples == | ||
<pre> | |||
{{Note | {{Note | ||
| Content = This is a note, for information that needs to have attention drawn to it. | |||
| Content = | |||
}} | }} | ||
{{Note | {{Note | ||
| Icon = Warning | | Icon = Warning | ||
| Content = Content | | Content = This is a warning, used to indicate something that may have non-obvious unintended effects. | ||
}} | |||
{{Note | |||
| Icon = Lore | |||
| Content = This is a lore note, for noting things about the game's background and IC (in-character) history. | |||
}} | }} | ||
</pre> | |||
{{Note | |||
| Content = This is a note, for information that needs to have attention drawn to it. | |||
}} | |||
{{Note | |||
| Icon = Warning | |||
| Content = This is a warning, used to indicate something that may have non-obvious unintended effects. | |||
}} | |||
{{Note | |||
| Icon = Lore | |||
| Content = This is a lore note, for noting things about the game's background and IC (in-character) history. | |||
}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
<templatestyles src="Template:Note/styles.css" /> | |||
Latest revision as of 17:42, 3 June 2025
A template for short notes.
Usage
{{Note
| Icon = [<empty>|Warning|Lore]
| 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
{{Note
| Content = This is a note, for information that needs to have attention drawn to it.
}}
{{Note
| Icon = Warning
| Content = This is a warning, used to indicate something that may have non-obvious unintended effects.
}}
{{Note
| Icon = Lore
| Content = This is a lore note, for noting things about the game's background and IC (in-character) history.
}}
This is a note, for information that needs to have attention drawn to it.
This is a warning, used to indicate something that may have non-obvious unintended effects.
This is a lore note, for noting things about the game's background and IC (in-character) history.