Template:Note: Difference between revisions
Appearance
Created a template note page. |
svg to png |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | <onlyinclude>{{Container | ||
|{{{1|Example Text}}} | |||
</ | |{{#switch:{{{2|}}} | ||
|information=--color-information-bg | |||
|suggestion=--color-suggestion-bg | |||
|warning=--color-warning-bg | |||
|danger=--color-danger-bg | |||
|=--color-information-bg}} | |||
|{{#switch:{{{2|}}} | |||
|information=[[File:InformationIcon.png|20px|link=]] | |||
|suggestion= [[File:SuggestionIcon.png|20px|link=]] | |||
|warning= [[File:WarningIcon.png|20px|link=]] | |||
|danger= [[File:DangerIcon.png|20px|link=]] | |||
|=}}}}</onlyinclude> | |||
== Examples == | |||
{{Note|This is a information.|information}} | |||
<code><nowiki>{{Note|This is a information.|information}}</nowiki></code> | |||
{{Note|This is a suggestion.|suggestion}} | |||
<code><nowiki>{{Note|This is a suggestion.|suggestion}}</nowiki></code> | |||
{{Note|This is a warning.|warning}} | |||
<code><nowiki>{{Note|This is a warning.|warning}}</nowiki></code> | |||
{{Note|This is really dangerous!|danger}} | |||
<code><nowiki>{{Note|This is really dangerous!|danger}}</nowiki></code> | |||
== Guidance == | |||
When using these we recommend following this guidance: | |||
* Avoid overuse | |||
** With each one added to a page they lose their meaning. | |||
** Generally stick to 1-3 per page if possible. | |||
* Keep it to 1-2 sentences | |||
** Any longer and you should be writing a paragraph instead. | |||
Latest revision as of 15:27, 16 July 2026
Examples
[edit source]{{Note|This is a information.|information}}
{{Note|This is a suggestion.|suggestion}}
{{Note|This is a warning.|warning}}
{{Note|This is really dangerous!|danger}}
Guidance
[edit source]When using these we recommend following this guidance:
- Avoid overuse
- With each one added to a page they lose their meaning.
- Generally stick to 1-3 per page if possible.
- Keep it to 1-2 sentences
- Any longer and you should be writing a paragraph instead.