BIS fnc exportFunctionsToWiki: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "(Optional, default [])" to "(Optional, default {{hl|[]}})") |
||
Line 13: | Line 13: | ||
|s1= [filter, timestamp] spawn [[BIS_fnc_exportFunctionsToWiki]] | |s1= [filter, timestamp] spawn [[BIS_fnc_exportFunctionsToWiki]] | ||
|p1= filter: [[Array]] - (Optional, default []) functions filter in format [tags, categories, functions]: | |p1= filter: [[Array]] - (Optional, default {{hl|[]}}) functions filter in format [tags, categories, functions]: | ||
* tags: [[String]] or [[Array]] of [[String]]s - CfgFunctions tags (e.g., "A3_Oldman"). Use empty string for all of them | * tags: [[String]] or [[Array]] of [[String]]s - CfgFunctions tags (e.g., "A3_Oldman"). Use empty string for all of them | ||
* categories: [[String]] or [[Array]] of [[String]]s - categories (e.g., "Debug"). Use empty string for all of them | * categories: [[String]] or [[Array]] of [[String]]s - categories (e.g., "Debug"). Use empty string for all of them |
Revision as of 14:05, 26 October 2023
Description
- Description:
- Export function descriptions to Community Wiki. Exported text will be copied to clipboard in XML format.
Wiki Admins can import them using Special:Import.
If the page already exists, it will be replaced only when timestamp is newer. - Execution:
- spawn
- Groups:
- Diagnostic
Syntax
- Syntax:
- [filter, timestamp] spawn BIS_fnc_exportFunctionsToWiki
- Parameters:
- filter: Array - (Optional, default []) functions filter in format [tags, categories, functions]:
- tags: String or Array of Strings - CfgFunctions tags (e.g., "A3_Oldman"). Use empty string for all of them
- categories: String or Array of Strings - categories (e.g., "Debug"). Use empty string for all of them
- functions: String or Array of Strings - specific function names (e.g., "BIS_fnc_log"). Use empty string for all of them
- timestamp: String - (Optional, default "2006-04-03T17:42:00Z") in format "2013-09-12T16:00:00Z"
- Return Value:
- String - exported text
Examples
- Example 1:
- Example 2:
- Example 3:
- [["", "", ["BIS_fnc_log", "BIS_fnc_param"]]] spawn BIS_fnc_exportFunctionsToWiki; // export specific functions
Additional Information
- See also:
- BIS_fnc_diagWiki
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note