Template:Dialog source

From FlightGear wiki
Revision as of 09:15, 8 May 2019 by Johan G (talk | contribs) (fix: Missing text parameter)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

flightgear/fgdata/next/gui/dialogs/

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

Goal

This template can be used when linking to source files for FlightGear GUI dialogs.

Usage

{{dialog source |dialog= |line= |l= |text=}}

All parameters are optional.

dialog
Name of XML file of the dialogs source
line, l
line number to jump to
text
Alternative label for the link

Examples

{{dialog source}}

flightgear/fgdata/next/gui/dialogs/

{{dialog source |dialog=airports}}

flightgear/fgdata/next/gui/dialogs/airports.xml

{{dialog source |dialog=airports |line=321}}

flightgear/fgdata/next/gui/dialogs/airports.xml#l321

{{dialog source |dialog= |line= |l=321}}

flightgear/fgdata/next/gui/dialogs/airports.xml#l321

The {{dialog source |dialog= |line= |l=321 |text=search button code}} in the airport dialog.

The search button code in the airport dialog.

Technical

This template uses {{fgdata source}} and fill parts of the parameters.