Template:Tip: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Style: Using a fixed width. Mixed widths on a page looks way more bad than some empty space in the template in my opinion)
m (Add code to this family of messageboxes)
Line 1: Line 1:
{| cellspacing="0" style="margin:1em 5% 1em 5%; border: 1px solid #0c6; border-left-width: 10px; width: 60%; background-color: #e0ffe8; padding: 2px;"
{| cellspacing="0" style="margin:1em 5% 1em 5%; border: 1px solid #0c6; border-left-width: 10px; float: center; margin: auto; min-width: 60%; max-width: 85%; background-color: #e0ffe8; padding: 2px;"
| style="padding-left:5px;"| '''<span class="smallcaps" style="font-variant:small-caps;">Tip</span>'''&ensp; {{{1|Add message}}}
| style="padding-left:5px;"| '''<span class="smallcaps" style="font-variant:small-caps;">Tip</span>'''&ensp; {{{1|Add message}}}
|}<noinclude>{{Informative template |1=
|}<noinclude>{{Informative template |1=

Revision as of 15:26, 16 March 2015

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

Goal

Use this template to add a helpful tip.

Usage

{{tip|message}}

Example

{{tip|If the main menu is hidden press {{key press|F10}}.}}
Tip  If the main menu is hidden press F10.

Known issues

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

{{note|1=You can add your screenshots to a forum post.  For instructions see [http://forum.flightgear.org/viewtopic.php?f=19&t=8873 this forum sticky].}}
Tip  You can add your screenshots to a forum post. For instructions 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
  • {{note}} – For important notes

Inline italic templates

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