Template:FG1000 file: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Switch to the {{fgdata source}} template to future-proof the external links, and to bring it under the umbrella of the {{repo link}} family of templates.)
(Reintroduced the 'label' parameter.)
 
Line 2: Line 2:
| path = Aircraft/Instruments-3d/FG1000/Nasal/MFDPages/{{{1|{{{name|NavigationMap}}}}}}/{{{1|{{{name|NavigationMap}}}}}}.nas
| path = Aircraft/Instruments-3d/FG1000/Nasal/MFDPages/{{{1|{{{name|NavigationMap}}}}}}/{{{1|{{{name|NavigationMap}}}}}}.nas
| view = tree
| view = tree
| text = {{{1|{{{name|NavigationMap}}}}}}
| text = {{{label|{{{1|{{{name|NavigationMap}}}}}}}}}
}}<noinclude>
}}<noinclude>


Line 14: Line 14:
  {{obr}}'''FG1000 file'''
  {{obr}}'''FG1000 file'''
  {{!}} ''name'' =
  {{!}} ''name'' =
{{!}} ''label'' =
  {{cbr}}
  {{cbr}}


; {{param|name}}: The name of the file without the ''*.nas'' extension.  This is either a named or numbered parameter.
; {{param|name}}: The name of the file without the ''*.nas'' extension.  This is either a named or numbered parameter.
; {{param|label}}: The text to display, defaulting to {{param|name}}.


== Examples ==
== Examples ==


  {{obr}}FG1000 file{{!}}TrafficMap{{cbr}}
  {{obr}}FG1000 file{{!}}TrafficMap{{!}}label=Traffic map{{cbr}}


{{FG1000 file|TrafficMap}}
{{FG1000 file|TrafficMap|label=Traffic map}}


== Related templates ==
== Related templates ==

Latest revision as of 12:44, 16 April 2018

NavigationMap


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

Goal

This template is for creating links to the FG1000 instrument Nasal sources. It is a subtemplate of the master {{repo link}} template designed to be specific for the FGData repository and the FG1000 instrument.

Usage

{{FG1000 file
| name =
| label =
}}
name
The name of the file without the *.nas extension. This is either a named or numbered parameter.
label
The text to display, defaulting to name.

Examples

{{FG1000 file|TrafficMap|label=Traffic map}}

Traffic map

Related templates