Template:Canvas Widget: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
No edit summary
(+-template: fgdata file → fgdata source; doc; cat: Link templates)
 
Line 1: Line 1:
{{fgdata file|Nasal/canvas/gui/widgets/{{{widget|Button}}}.nas}}
{{fgdata source
| path = Nasal/canvas/gui/widgets/{{{widget|Button}}}.nas
| text = fgdata/Nasal/canvas/gui/widgets/{{{widget|Button}}}.nas
}}<noinclude>
{{Informative template|1=
__NOTOC__
== Goal ==
This template can be used when linking to source files for [[Canvas Widgets|Canvas widgets]].
 
== Usage ==
{{obr}}'''Canvas Widget'''{{!}}''widget=''{{cbr}}
 
; widget
: Name of [[Nasal]] module defining the widget
: Defaults to <code>Button</code>
 
== Examples ==
{{obr}}Canvas Widget{{cbr}}
{{Canvas Widget}}
 
{{obr}}Canvas Widget{{!}}widget=CheckBox{{cbr}}
{{Canvas Widget|widget=CheckBox}}
 
}}
 
[[Category:Link templates]]
</noinclude>

Latest revision as of 12:24, 22 June 2019

fgdata/Nasal/canvas/gui/widgets/Button.nas

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 Canvas widgets.

Usage

{{Canvas Widget|widget=}}
widget
Name of Nasal module defining the widget
Defaults to Button

Examples

{{Canvas Widget}}

fgdata/Nasal/canvas/gui/widgets/Button.nas

{{Canvas Widget|widget=CheckBox}}

fgdata/Nasal/canvas/gui/widgets/CheckBox.nas