Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "Template:Note"

From FlightGear wiki
Jump to: navigation, search
(remove float:center...)
(Style, a splash of color; Removed noprint style class; Doc style; + Example; + Related templates)
Line 1: Line 1:
<div class="noprint" style="margin:1em 5% 1em 5%; border: 1px solid #AAAAAA; border-left: 10px solid #1E90FF; width: 50%; background-color: #F5F5F5; padding: 2px;">
+
<div style="margin:1em 5% 1em 5%; border: 1px solid #1E90FF; border-left: 10px solid #1E90FF; width: 50%; background-color: #F4F8FF; padding: 2px;">
 
{| cellspacing="0"
 
{| cellspacing="0"
| style="padding-left:5px;"| '''<span class="smallcaps" style="font-variant:small-caps;">Note</span>:''' {{{1}}}
+
| style="padding-left:5px;"| '''<span class="smallcaps" style="font-variant:small-caps;">Note</span>'''&ensp; {{{1|Add message}}}
 
|}</div>
 
|}</div>
 
<noinclude>{{Informative template |1=
 
<noinclude>{{Informative template |1=
 +
__NOTOC__
 
== Goal ==
 
== Goal ==
Provide an uniform note style.
+
Use this template to add a note about something important.
  
 
== Usage ==
 
== Usage ==
<code><nowiki>{{note|The actual text comes here.}}</nowiki></code>
+
<nowiki>{{</nowiki>'''note'''<nowiki>|</nowiki>message<nowiki>}}</nowiki>
 +
 
 +
== Example ==
 +
<nowiki>{{note|The gyro compass may drift.  Compare the gyro compass against the wet compass at regular intervals.}}</nowiki>
 +
{{note|The gyro compass may drift.  Compare the gyro compass against the wet compass at regular intervals.}}
 +
 
 +
== Related templates ==
 +
* {{tl|caution}} &ndash; When there might be damages to the virtual aircraft or to real equipment
 +
* {{tl|tip}} &ndash; For helpful tips
 +
* {{tl|warning}} &ndash; When a virtual aircraft might crash or when real equipment or ones health might be jeopardized
 +
 
 
}}
 
}}
  
 
[[Category:Messagebox templates]]
 
[[Category:Messagebox templates]]
 
</noinclude>
 
</noinclude>

Revision as of 14:37, 23 June 2014

Note  Add message
The following template description is not displayed when the template is inserted in an article.

Goal

Use this template to add a note about something important.

Usage

{{note|message}}

Example

{{note|The gyro compass may drift.  Compare the gyro compass against the wet compass at regular intervals.}}
Note  The gyro compass may drift. Compare the gyro compass against the wet compass at regular intervals.

Related templates

  • {{caution}} – When there might be damages to the virtual aircraft or to real equipment
  • {{tip}} – For helpful tips
  • {{warning}} – When a virtual aircraft might crash or when real equipment or ones health might be jeopardized