Difference between revisions of "Template:Note-warning/doc"
From Tangowiki
(→Template parameters) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
{{Note-warning|Warning text…}} | {{Note-warning|Warning text…}} | ||
− | [[Category: | + | 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 "Important" | ||
+ | |||
+ | |||
+ | <includeonly>[[Category:Article template]]</includeonly> |
Latest 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 "Important"