Infobox/WorkbenchPlugin – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Template creation) |
Lou Montana (talk | contribs) m (Text replacement - "{{Link|:Category:" to "{{Link|Category:") |
||
(4 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
This plugin is available in: | This plugin is available in: | ||
{{Columns|2| | {{Columns|2| | ||
{{#if: {{#pos:{{{editor}}}|world}} | | {{#if: {{#pos:{{{editor}}}|resource}} | | ||
* {{Link|{{TemplateCase|Arma Reforger:Resource Manager{{!}}Resource Manager|{{NAMESPACE}}:Resource Manager}}}} | |||
}}{{#if: {{#pos:{{{editor}}}|world}} | | |||
* {{Link|{{TemplateCase|Arma Reforger:World Editor{{!}}World Editor|{{NAMESPACE}}:World Editor}}}} | * {{Link|{{TemplateCase|Arma Reforger:World Editor{{!}}World Editor|{{NAMESPACE}}:World Editor}}}} | ||
}}{{#if: {{#pos:{{{editor}}}|particle}} | | }}{{#if: {{#pos:{{{editor}}}|particle}} | | ||
Line 36: | Line 38: | ||
{{!}} class="align-center" {{!}} | {{!}} class="align-center" {{!}} | ||
{{#switch:{{lc:{{{editor}}}}} | {{#switch:{{lc:{{{editor}}}}} | ||
|resource= {{Link|{{TemplateCase|Arma Reforger:Resource Manager{{!}}Resource Manager|{{NAMESPACE}}:Resource Manager}}}} plugin | |||
|world= {{Link|{{TemplateCase|Arma Reforger:World Editor{{!}}World Editor|{{NAMESPACE}}:World Editor}}}} plugin | |world= {{Link|{{TemplateCase|Arma Reforger:World Editor{{!}}World Editor|{{NAMESPACE}}:World Editor}}}} plugin | ||
|particle= {{Link|{{TemplateCase|Arma Reforger:Particle Editor{{!}}Particle Editor|{{NAMESPACE}}:Particle Editor}}}} plugin | |particle= {{Link|{{TemplateCase|Arma Reforger:Particle Editor{{!}}Particle Editor|{{NAMESPACE}}:Particle Editor}}}} plugin | ||
Line 66: | Line 69: | ||
|}</div></includeonly><noinclude>{{Doc/Template | |}</div></includeonly><noinclude>{{Doc/Template | ||
|descr= Create an infobox for a Workbench Editor plugin.{{Feature|informative|All parameters are named.}} | |descr= Create an infobox for a Workbench Editor plugin.{{Feature|informative|All parameters are named.}} | ||
Its error category is {{Link| | Its error category is {{Link|Category:Infobox/WorkbenchPlugin template usage error|Infobox/WorkbenchPlugin template usage error}}. | ||
|param1= name= | |param1= name= | ||
|descr1= | |descr1= the plugin's display name | ||
|param2= editor= | |||
|descr2= in which editors can this plugin be found - can be a multiple space-separated (case-insensitive) selection of: | |||
| | |||
| | |||
<div style="margin-left: 2em"> | <div style="margin-left: 2em"> | ||
{{Columns|4| | {{Columns|4| | ||
* {{Link|Arma Reforger:Resource Manager|resource}} | |||
* {{Link|Arma Reforger:World Editor|world}} | * {{Link|Arma Reforger:World Editor|world}} | ||
* {{Link|Arma Reforger:Particle Editor|particle}} | * {{Link|Arma Reforger:Particle Editor|particle}} | ||
Line 85: | Line 87: | ||
}} | }} | ||
</div> | </div> | ||
|param4= | |param3= descr= | ||
|descr4= (Optional) | |descr3= a short description of the plugin's role(s) | ||
|param5= | |param4= shortcut= | ||
|descr5= (Optional) | |descr4= (Optional) keyboard shortcut - see {{Template|Controls}} | ||
|param5= file= | |||
|descr5= (Optional) the editor's file path - see {{Template|Link}} | |||
|example1= <syntaxhighlight lang="handlebars">{{Infobox/WorkbenchPlugin}}</syntaxhighlight> | |example1= <syntaxhighlight lang="handlebars">{{Infobox/WorkbenchPlugin}}</syntaxhighlight> | ||
Line 109: | Line 113: | ||
{{Infobox/WorkbenchPlugin | {{Infobox/WorkbenchPlugin | ||
|name= My Plugin | |name= My Plugin | ||
|editor= badvalue | |||
|descr= plugin description | |descr= plugin description | ||
}} | }} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|result3= {{Infobox/WorkbenchPlugin | |result3= {{Infobox/WorkbenchPlugin | ||
|name= My Plugin | |name= My Plugin | ||
|editor= badvalue | |||
|descr= plugin description | |descr= plugin description | ||
}} | }} | ||
Line 122: | Line 126: | ||
{{Infobox/WorkbenchPlugin | {{Infobox/WorkbenchPlugin | ||
|name= My Plugin | |name= My Plugin | ||
|editor= bad value | |||
|descr= plugin description | |descr= plugin description | ||
}} | }} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|result4= {{Infobox/WorkbenchPlugin | |result4= {{Infobox/WorkbenchPlugin | ||
|name= My Plugin | |name= My Plugin | ||
|editor= bad value | |||
|descr= plugin description | |descr= plugin description | ||
}} | }} | ||
Line 163: | Line 167: | ||
|editor= world particle animation script audio behavior string procanim | |editor= world particle animation script audio behavior string procanim | ||
|descr= The Do Something plugin does something, as the name says. | |descr= The Do Something plugin does something, as the name says. | ||
|shortcut= <nowiki/> | |shortcut= <nowiki/> | ||
# {{Controls|Ctrl|Alt|Del}} in {{Link|Arma Reforger:Script Editor|Script Editor}} | # {{Controls|Ctrl|Alt|Del}} in {{Link|Arma Reforger:Script Editor|Script Editor}} | ||
# {{Controls|Ctrl|Shift|Del}} in {{Link|Arma Reforger:World Editor|World Editor}} | # {{Controls|Ctrl|Shift|Del}} in {{Link|Arma Reforger:World Editor|World Editor}} | ||
|file= {{Link|enfusion://ScriptEditor/scripts/WorkbenchGame/ScriptEditor/SCR_BasicCodeFormatterPlugin.c}} | |||
}} | }} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 174: | Line 178: | ||
|editor= world particle animation script audio behavior string procanim | |editor= world particle animation script audio behavior string procanim | ||
|descr= The Do Something plugin does something, as the name says. | |descr= The Do Something plugin does something, as the name says. | ||
|shortcut= <nowiki/> | |shortcut= <nowiki/> | ||
# {{Controls|Ctrl|Alt|Del}} in {{Link|Arma Reforger:Script Editor|Script Editor}} | # {{Controls|Ctrl|Alt|Del}} in {{Link|Arma Reforger:Script Editor|Script Editor}} | ||
# {{Controls|Ctrl|Shift|Del}} in {{Link|Arma Reforger:World Editor|World Editor}} | # {{Controls|Ctrl|Shift|Del}} in {{Link|Arma Reforger:World Editor|World Editor}} | ||
|file= {{Link|enfusion://ScriptEditor/scripts/WorkbenchGame/ScriptEditor/SCR_BasicCodeFormatterPlugin.c}} | |||
}} | }} | ||
}}</noinclude> | }}</noinclude> |
Latest revision as of 14:52, 16 October 2024
Create an infobox for a Workbench Editor plugin.
Its error category is Infobox/WorkbenchPlugin template usage error.
This template is used on these pages.
Usage
{{Infobox/WorkbenchPlugin|name=|editor=|descr=|shortcut=|file=}}
- name=: the plugin's display name
- editor=: in which editors can this plugin be found - can be a multiple space-separated (case-insensitive) selection of:
- descr=: a short description of the plugin's role(s)
- shortcut=: (Optional) keyboard shortcut - see {{Controls}}
- file=: (Optional) the editor's file path - see {{Link}}
Code | Result | |||||
---|---|---|---|---|---|---|
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
|