Link/Enfusion – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Lou Montana moved page Template:EnfLink to Template:Link/Enfusion without leaving a redirect: Name standard) |
Lou Montana (talk | contribs) m (EnfLink → Link/Enfusion) |
||
Line 9: | Line 9: | ||
|SCR_UIInfo.c= {{Link|link= enfusion://ScriptEditor/scripts/Game/Editor/Containers/UIInfo/SCR_UIInfo.c|text= {{{2}}}}} | |SCR_UIInfo.c= {{Link|link= enfusion://ScriptEditor/scripts/Game/Editor/Containers/UIInfo/SCR_UIInfo.c|text= {{{2}}}}} | ||
|#default= -unknown class ("{{{2}}}") provided!- {{TemplateCase||[[Category:Pages with wrong Enfusion classes]]}} | |#default= -unknown class ("{{{2}}}") provided!- {{TemplateCase||[[Category:Pages with wrong Enfusion classes]]}} | ||
|= -no class provided!- {{TemplateCase||[[Category: | |= -no class provided!- {{TemplateCase||[[Category:Link/Enfusion template usage error]]}} | ||
}} | }} | ||
Line 20: | Line 20: | ||
no (valid) game provided | no (valid) game provided | ||
--> | --> | ||
|#default= -wrong '''[[Template: | |#default= -wrong '''[[Template:Link/Enfusion|game]]''' ("{{{1}}}") defined!- {{TemplateCase||[[Category:Link/Enfusion template usage error]]}} | ||
|= -no '''[[Template: | |= -no '''[[Template:Link/Enfusion|game]]''' defined!- {{TemplateCase||[[Category:Link/Enfusion template usage error]]}} | ||
}}</includeonly><noinclude>{{Doc/Template | }}</includeonly><noinclude>{{Doc/Template | ||
|descr= Create a [[Arma Reforger:Workbench|Workbench]] link to the scripting class (will eventually be expanded to uniquely named resource files) | |descr= Create a [[Arma Reforger:Workbench|Workbench]] link to the scripting class (will eventually be expanded to uniquely named resource files) | ||
Line 28: | Line 28: | ||
|param2= itemName | |param2= itemName | ||
|descr2= resource name, e.g {{hl|SCR_UIInfo}}, {{hl|SCR_UIInfo.c}}, {{hl|FieldManualConfigRoot.conf}} | |descr2= resource name, e.g {{hl|SCR_UIInfo}}, {{hl|SCR_UIInfo.c}}, {{hl|FieldManualConfigRoot.conf}} | ||
|example1= <nowiki>{{ | |example1= <nowiki>{{Link/Enfusion}}</nowiki> | ||
|result1= {{ | |result1= {{Link/Enfusion}} | ||
|example2= <nowiki>{{ | |example2= <nowiki>{{Link/Enfusion|abc}}</nowiki> | ||
|result2= {{ | |result2= {{Link/Enfusion|abc}} | ||
|example3= <nowiki>{{ | |example3= <nowiki>{{Link/Enfusion|armaR}}</nowiki> | ||
|result3= {{ | |result3= {{Link/Enfusion|armaR}} | ||
|example4= <nowiki>{{ | |example4= <nowiki>{{Link/Enfusion|armaR|stuff}}</nowiki> | ||
|result4= {{ | |result4= {{Link/Enfusion|armaR|stuff}} | ||
|example5= <nowiki>{{ | |example5= <nowiki>{{Link/Enfusion|armaR|SCR_UIInfo}}</nowiki><br><nowiki>{{Link/Enfusion|armaR|SCR_UIInfo.c}}</nowiki><br><nowiki>{{Link/Enfusion|armaR|FieldManualConfigRoot.conf}}</nowiki> | ||
|result5= {{ | |result5= {{Link/Enfusion|armaR|SCR_UIInfo}}<br>{{Link/Enfusion|armaR|SCR_UIInfo.c}}<br>{{Link/Enfusion|armaR|FieldManualConfigRoot.conf}} | ||
|example6= <nowiki>{{ | |example6= <nowiki>{{Link/Enfusion|arma4}}</nowiki><br><nowiki>{{Link/Enfusion|arma4|SCR_UIInfo}}</nowiki> | ||
|result6= {{ | |result6= {{Link/Enfusion|arma4}}<br>{{Link/Enfusion|arma4|SCR_UIInfo}} | ||
}}</noinclude> | }}</noinclude> |
Revision as of 18:35, 4 January 2023
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
Code | Result |
---|---|
{{Link/Enfusion}} | -no game defined!- |
{{Link/Enfusion|abc}} | -wrong game ("abc") defined!- |
{{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 SCR_UIInfo.c FieldManualConfigRoot.conf |
{{Link/Enfusion|arma4}} {{Link/Enfusion|arma4|SCR_UIInfo}} |
soon™… soon™… |