Link/Enfusion – Template

From Bohemia Interactive Community
< Template:Link
Revision as of 11:50, 5 January 2023 by Lou Montana (talk | contribs) (Update classes)
Jump to navigation Jump to search

Create a Workbench link to the scripting class (will eventually be expanded to uniquely named resource files)

This template is used on these pages.

Usage

{{Link/Enfusion|game|itemName}}

  • game: format to the {{Name}}'s identifier format, e.g armaR, arma4 etc.
  • itemName: resource name, e.g SCR_UIInfo, SCR_UIInfo.c, FieldManualConfigRoot.conf
Examples
Code Result
{{Link/Enfusion}} -no game defined!-
{{Link/Enfusion|abc}} -wrong game ("abc") provided!-
{{Link/Enfusion|armaR}} -no class provided!-
{{Link/Enfusion|armaR|stuff}} -unknown class ("stuff") provided!-
{{Link/Enfusion|armaR|SCR_UIInfo}}
{{Link/Enfusion|armaR|SCR_UIInfo.c}}
{{Link/Enfusion|armaR|FieldManualConfigRoot.conf}}
SCR_UIInfo
-unknown class ("SCR_UIInfo.c") provided!-
-unknown class ("FieldManualConfigRoot.conf") provided!-
{{Link/Enfusion|arma4}}
{{Link/Enfusion|arma4|SCR_UIInfo}}
Soon™…
Soon™…