Template:GUI dialog: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Created page with "{{fgdata file|gui/dialogs/{{{dialog|about}}}.xml}}")
 
(+-template: fgdata file → fgdata source, while making sure it renders the same; doc; cat: Link templates)
 
Line 1: Line 1:
{{fgdata file|gui/dialogs/{{{dialog|about}}}.xml}}
{{fgdata source
| commit    = {{{commit|}}}
| path      = gui/dialogs/{{{dialog|about}}}.xml
| text      = fgdata/gui/dialogs/{{{dialog|about}}}.xml
}}<noinclude>
{{Informative template|1=
__NOTOC__
== Goal ==
This template can be used when adding links to the source for the GUI dialogs of FlightGear.
 
== Usage ==
{{obr}}'''GUI dialog'''{{!}}''dialog=''{{cbr}}
 
; dialog
: Optional filename of the dialog configuration file, excluding the <code>.xml</code> file extension.
: Defaults to <code>about</code>
 
== Examples ==
{{obr}}'''GUI dialog'''{{cbr}}
{{GUI dialog}}
 
{{obr}}'''GUI dialog'''{{!}}''dialog=joystick-info''{{cbr}}
{{GUI dialog|dialog=joystick-info}}
}}
 
[[Category:Link templates]]
</noinclude>

Latest revision as of 11:40, 21 June 2019

fgdata/gui/dialogs/about.xml

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

Goal

This template can be used when adding links to the source for the GUI dialogs of FlightGear.

Usage

{{GUI dialog|dialog=}}
dialog
Optional filename of the dialog configuration file, excluding the .xml file extension.
Defaults to about

Examples

{{GUI dialog}}

fgdata/gui/dialogs/about.xml

{{GUI dialog|dialog=joystick-info}}

fgdata/gui/dialogs/joystick-info.xml