Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/tangowiki/extensions/SemanticForms/includes/SF_Utils.php on line 262

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/tangowiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Readers.php on line 399

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/tangowiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Readers.php on line 487
Difference between revisions of "Template:Note-warning/doc" - TangoWiki

Difference between revisions of "Template:Note-warning/doc"

From Tangowiki
(Template parameters)
 
(One intermediate revision by the same user not shown)
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 "Important"
 +
  
 
<includeonly>[[Category:Article template]]</includeonly>
 
<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"