Template:Table ComponentTriggers: Difference between revisions

Template page
update table headers and example
update this to be dynamic
Line 17: Line 17:
! Method type and Arguments.
! Method type and Arguments.
! Description
! Description
{{#if:{{{1|}}}|
|
{{!}}-
{{#invoke:ComponentTriggers|main}}
{{!}}<code>{{{1}}}</code>
{{!}}{{{2}}}
{{!}}{{{3}}}
}}
|-
{{#if:{{{4|}}}|
{{!}}-
{{!}}<code>{{{4}}}</code>
{{!}}{{{5}}}
{{!}}{{{6}}}
}}
|-
{{#if:{{{7|}}}|
{{!}}-
{{!}}<code>{{{7}}}</code>
{{!}}{{{8}}}
{{!}}{{{9}}}
}}
|-
{{#if:{{{10|}}}|
{{!}}-
{{!}}<code>{{{10}}}</code>
{{!}}{{{11}}}
{{!}}{{{12}}}
}}
|-
{{#if:{{{13|}}}|
{{!}}-
{{!}}<code>{{{13}}}</code>
{{!}}{{{14}}}
{{!}}{{{15}}}
}}
|-
{{#if:{{{16|}}}|
{{!}}-
{{!}}<code>{{{16}}}</code>
{{!}}{{{17}}}
{{!}}{{{18}}}
}}
|-
{{#if:{{{19|}}}|
{{!}}-
{{!}}<code>{{{19}}}</code>
{{!}}{{{20}}}
{{!}}{{{21}}}
}}
|-
{{#if:{{{22|}}}|
{{!}}-
{{!}}<code>{{{22}}}</code>
{{!}}{{{23}}}
{{!}}{{{24}}}
}}
|-
{{#if:{{{25|}}}|
{{!}}-
{{!}}<code>{{{25}}}</code>
{{!}}{{{26}}}
{{!}}{{{27}}}
}}
|-
{{#if:{{{28|}}}|
{{!}}-
{{!}}<code>{{{28}}}</code>
{{!}}{{{29}}}
{{!}}{{{30}}}
}}
|-
{{#if:{{{31|}}}|
{{!}}-
{{!}}<code>{{{31}}}</code>
{{!}}{{{32}}}
{{!}}{{{33}}}
}}
|-
{{#if:{{{34|}}}|
{{!}}-
{{!}}<code>{{{34}}}</code>
{{!}}{{{35}}}
{{!}}{{{36}}}
}}
|-
{{#if:{{{37|}}}|
{{!}}-
{{!}}<code>{{{37}}}</code>
{{!}}{{{38}}}
{{!}}{{{39}}}
}}
|-
{{#if:{{{40|}}}|
{{!}}-
{{!}}<code>{{{40}}}</code>
{{!}}{{{41}}}
{{!}}{{{42}}}
}}
|-
{{#if:{{{43|}}}|
{{!}}-
{{!}}<code>{{{43}}}</code>
{{!}}{{{44}}}
{{!}}{{{45}}}
}}
|-
{{#if:{{{46|}}}|
{{!}}-
{{!}}<code>{{{46}}}</code>
{{!}}{{{47}}}
{{!}}{{{48}}}
}}
|-
{{#if:{{{49|}}}|
{{!}}-
{{!}}<code>{{{49}}}</code>
{{!}}{{{50}}}
{{!}}{{{51}}}
}}
|-
{{#if:{{{52|}}}|
{{!}}-
{{!}}<code>{{{52}}}</code>
{{!}}{{{53}}}
{{!}}{{{54}}}
}}
|-
{{#if:{{{55|}}}|
{{!}}-
{{!}}<code>{{{55}}}</code>
{{!}}{{{56}}}
{{!}}{{{57}}}
}}
|-
{{#if:{{{58|}}}|
{{!}}-
{{!}}<code>{{{58}}}</code>
{{!}}{{{59}}}
{{!}}{{{60}}}
}}
|-
{{#if:{{{61|}}}|
{{!}}-
{{!}}<code>{{{61}}}</code>
{{!}}{{{62}}}
{{!}}{{{63}}}
}}
|-
{{#if:{{{64|}}}|
{{!}}-
{{!}}<code>{{{64}}}</code>
{{!}}{{{65}}}
{{!}}{{{66}}}
}}
|-
{{#if:{{{67|}}}|
{{!}}-
{{!}}<code>{{{67}}}</code>
{{!}}{{{68}}}
{{!}}{{{69}}}
}}
|-
{{#if:{{{70|}}}|
{{!}}-
{{!}}<code>{{{70}}}</code>
{{!}}{{{71}}}
{{!}}{{{72}}}
}}
|-
{{#if:{{{73|}}}|
{{!}}-
{{!}}<code>{{{73}}}</code>
{{!}}{{{74}}}
{{!}}{{{75}}}
}}
|-
{{#if:{{{76|}}}|
{{!}}-
{{!}}<code>{{{76}}}</code>
{{!}}{{{77}}}
{{!}}{{{78}}}
}}
|-
{{#if:{{{79|}}}|
{{!}}-
{{!}}<code>{{{79}}}</code>
{{!}}{{{80}}}
{{!}}{{{81}}}
}}
|-
{{#if:{{{82|}}}|
{{!}}-
{{!}}<code>{{{82}}}</code>
{{!}}{{{83}}}
{{!}}{{{84}}}
}}
|-
{{#if:{{{85|}}}|
{{!}}-
{{!}}<code>{{{85}}}</code>
{{!}}{{{86}}}
{{!}}{{{87}}}
}}
|-
{{#if:{{{88|}}}|
{{!}}-
{{!}}<code>{{{88}}}</code>
{{!}}{{{89}}}
{{!}}{{{90}}}
}}
|-
{{#if:{{{91|}}}|
{{!}}-
{{!}}<code>{{{91}}}</code>
{{!}}{{{92}}}
{{!}}{{{93}}}
}}
|-
{{#if:{{{94|}}}|
{{!}}-
{{!}}<code>{{{94}}}</code>
{{!}}{{{95}}}
{{!}}{{{96}}}
}}
|-
{{#if:{{{97|}}}|
{{!}}-
{{!}}<code>{{{97}}}</code>
{{!}}{{{98}}}
{{!}}{{{99}}}
}}
|-
|-
|}</includeonly></onlyinclude>
|}</includeonly></onlyinclude>

Revision as of 22:54, 16 March 2025

Method type and Arguments

Explains what kind of method it is (Action, Func`1, etc) and the variable types and names of the arguments (ex: "point: Float3, weight: Float"

Examples

From RandomObjectSpawner

Triggers
Method Name Method type and Arguments. Description

Lua error in mw.text.lua at line 25: bad argument #1 to 'match' (string expected, got nil).