Template:Note: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Added the 'margin' parameter to allow for finer style control (and improved the documentation).)
No edit summary
Tags: Mobile edit Mobile web edit
Line 5: Line 5:
  | fr = Note
  | fr = Note
  | it = Nota
  | it = Nota
  | th = '''นี่!'''
  | th = นี่!
}}</span>'''&ensp; {{{1|Add message}}}
}}</span>'''&ensp; {{{1|Add message}}}
|}<noinclude>{{Informative template |1=
|}<noinclude>{{Informative template |1=

Revision as of 13:23, 30 July 2016

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
| width   =
| padding =
| margin  =
}}
width
Width of the messagebox, preferably as a percentage of the width of the page content. This defaults to 90%.
padding
The padding CSS setting for the message box. This defaults to 2px.
margin
The margin CSS setting for the message box. This defaults to 1em auto.

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.
{{note|The gyro compass may drift.  Compare the gyro compass against the wet compass at regular intervals.|width=50%}}
Note  The gyro compass may drift. Compare the gyro compass against the wet compass at regular intervals.

Known issues

Adding external links must be done like below. Specifically note the 1=.

{{note|1=For instruction on how to add screenshots to a forum post, see [http://forum.flightgear.org/viewtopic.php?f=19&t=8873 this forum sticky].}}
Note  For instruction on how to add screenshots to a forum post, see this forum sticky.

Related templates

Messagebox templates

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

Inline italic templates

Note If there is a need for a warning use a messagebox template instead.