Difference between revisions of "Template:Note-warning/doc"
From Tangowiki
Line 12: | Line 12: | ||
{{Note-warning|Warning text…}} | {{Note-warning|Warning text…}} | ||
+ | |||
+ | A different title is optional, include it with the "title" parameter: | ||
+ | |||
+ | <code>{{Note-warning<nowiki>|title=</nowiki>''Be aware of the following:''|''Note text''}}</code> | ||
+ | {{Note-warning|title=Be aware of the following:|Note text}} | ||
+ | |||
+ | ==Template parameters== | ||
+ | *''note text'' – needs no parameter text | ||
+ | *title – different title than standard "Info" | ||
+ | |||
<includeonly>[[Category:Article template]]</includeonly> | <includeonly>[[Category:Article template]]</includeonly> |
Revision as of 16:02, 15 August 2015
This template is used for producing a note within or above a text. It is meant for a warning, e.g. in following cases:
- A template should not be used anymore.
- Changes on a page affect a lot of other pages.
- … (add more use cases here)
It should be used in the following format:
{{Note-warning|Warning text...}}
.
Subsitute "Warning text" with what you want to say.
This brings you:
Important: Warning text…
A different title is optional, include it with the "title" parameter:
{{Note-warning|title=Be aware of the following:|Note text}}
Be aware of the following: Note text
Template parameters
- note text – needs no parameter text
- title – different title than standard "Info"