CT/examples – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
(Fix import link)
 
Line 2: Line 2:
{{Feature|arma3|'''AddOns:''' Classes need to be initialised first with {{hl|class SomeClass;}}
{{Feature|arma3|'''AddOns:''' Classes need to be initialised first with {{hl|class SomeClass;}}
----
----
'''Missions:''' Since {{arma3}} v2.02 one can use {{hl|[[import]] SomeClass;}} to initialise a class. In older versions, use <sqf inline>"Default" call BIS_fnc_exportGUIBaseClasses;</sqf> and paste the result into the [[Description.ext|description.ext]].}}</includeonly><noinclude>{{Doc/Template
'''Missions:''' Since {{arma3}} v2.02 one can use {{hl|[[import (Config)|import]] SomeClass;}} to initialise a class. In older versions, use <sqf inline>"Default" call BIS_fnc_exportGUIBaseClasses;</sqf> and paste the result into [[Description.ext|description.ext]].}}</includeonly><noinclude>{{Doc/Template
|descr= Adds some informative text before the examples of a Control Types page.
|descr= Adds some informative text before the examples of a Control Types page.
|example1= <nowiki>{{CT/examples}}</nowiki>
|example1= <nowiki>{{CT/examples}}</nowiki>
|result1= {{CT/examples}}
|result1= {{CT/examples}}
}}</noinclude>
}}</noinclude>

Latest revision as of 18:03, 30 October 2023

Adds some informative text before the examples of a Control Types page.

This template is used on these pages.

Usage

{{CT/examples}}


Examples
Code Result
{{CT/examples}} Default Classes
Arma 3
AddOns: Classes need to be initialised first with class SomeClass;
Missions: Since Arma 3 v2.02 one can use import SomeClass; to initialise a class. In older versions, use "Default" call BIS_fnc_exportGUIBaseClasses; and paste the result into description.ext.