BIS fnc exportFunctionsToWiki: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function " to "{{RV|type=function ")
m (warning)
Line 10: Line 10:
'''Wiki Admins''' can import them using '''[[Special:Import]]'''.<br>
'''Wiki Admins''' can import them using '''[[Special:Import]]'''.<br>
If the page already exists, it will be replaced only when ''timestamp'' is newer.
If the page already exists, it will be replaced only when ''timestamp'' is newer.
{{Feature|Warning|This function should no longer be used to mass-import functions since the template for function pages has changed drastically!}}


| [filter, timestamp] spawn [[BIS_fnc_exportFunctionsToWiki]]
| [filter, timestamp] spawn [[BIS_fnc_exportFunctionsToWiki]]

Revision as of 02:40, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
spawn
Groups:
Diagnostic

Syntax

Syntax:
Syntax needed
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:
Return value needed

Examples

Example 1:
[] spawn BIS_fnc_exportFunctionsToWiki; // export all functions
Example 2:
[["", "Arrays"]] spawn BIS_fnc_exportFunctionsToWiki; // export all Array functions
Example 3:
[["", "", ["BIS_fnc_log", "BIS_fnc_param"]]] spawn BIS_fnc_exportFunctionsToWiki; // export specific functions

Additional Information

See also:
See also needed

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