m Adding empty links to icons so they aren't clickable |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|{{{1|Example Text}}} | |{{{1|Example Text}}} | ||
|{{#switch:{{{2|}}} | |{{#switch:{{{2|}}} | ||
|information=--color-information | |information=--color-information-bg | ||
|suggestion=--color-suggestion | |suggestion=--color-suggestion-bg | ||
|warning=--color-warning | |warning=--color-warning-bg | ||
|danger=--color-danger | |danger=--color-danger-bg | ||
|=--color-information}} | |=--color-information-bg}} | ||
|{{#switch:{{{2|}}} | |{{#switch:{{{2|}}} | ||
|information=[[File:InformationIcon.svg|40px|link=]] | |information=[[File:InformationIcon.svg|40px|link=]] | ||
Line 16: | Line 16: | ||
== Examples == | == Examples == | ||
{{Note|This is a information.|information}} | {{Note|This is a information.|information}} | ||
<code><nowiki>{{Note|This is a information.|information}}</nowiki></code> | |||
{{Note|This is a suggestion.|suggestion}} | {{Note|This is a suggestion.|suggestion}} | ||
<code><nowiki>{{Note|This is a suggestion.|suggestion}}</nowiki></code> | |||
{{Note|This is a warning.|warning}} | {{Note|This is a warning.|warning}} | ||
<code><nowiki>{{Note|This is a warning.|warning}}</nowiki></code> | |||
{{Note|This is really dangerous!|danger}} | {{Note|This is really dangerous!|danger}} | ||
<code><nowiki>{{Note|This is really dangerous!|danger}}</nowiki></code> | |||
== Guidance == | == Guidance == | ||
Avoid | 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 02:09, 5 August 2024
Examples
{{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
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.