Difference between revisions of "Template:Function"
Jump to navigation
Jump to search
imported>Qazaaq m (optional arguments in italics) |
imported>Qazaaq m (italics, not bold) |
||
Line 84: | Line 84: | ||
optional arguments + types: | optional arguments + types: | ||
-->{{ #if: {{{optarg0|}}} | | -->{{ #if: {{{optarg0|}}} | ''{{{optarg0}}}:{{{optarg0Type}}}'' |}}<!-- | ||
-->{{ #if: {{{optarg1|}}} | | -->{{ #if: {{{optarg1|}}} | ''{{{optarg1}}}:{{{optarg1Type}}}'' |}}<!-- | ||
-->{{ #if: {{{optarg2|}}} | | -->{{ #if: {{{optarg2|}}} | ''{{{optarg2}}}:{{{optarg2Type}}}'' |}}<!-- | ||
-->{{ #if: {{{optarg3|}}} | | -->{{ #if: {{{optarg3|}}} | ''{{{optarg3}}}:{{{optarg3Type}}}'' |}}<!-- | ||
-->{{ #if: {{{optarg4|}}} | | -->{{ #if: {{{optarg4|}}} | ''{{{optarg4}}}:{{{optarg4Type}}}'' |}}<!-- | ||
-->{{ #if: {{{optarg5|}}} | | -->{{ #if: {{{optarg5|}}} | ''{{{optarg5}}}:{{{optarg5Type}}}'' |}}<!-- | ||
-->{{ #if: {{{optarg6|}}} | | -->{{ #if: {{{optarg6|}}} | ''{{{optarg6}}}:{{{optarg6Type}}}'' |}}<!-- | ||
-->{{ #if: {{{optarg7|}}} | | -->{{ #if: {{{optarg7|}}} | ''{{{optarg7}}}:{{{optarg7Type}}}'' |}}<!-- | ||
-->{{ #if: {{{optarg8|}}} | | -->{{ #if: {{{optarg8|}}} | ''{{{optarg8}}}:{{{optarg8Type}}}'' |}}<!-- | ||
-->{{ #if: {{{optarg9|}}} | | -->{{ #if: {{{optarg9|}}} | ''{{{optarg9}}}:{{{optarg9Type}}}'' |}}<!-- | ||
short summary of the function: | short summary of the function: |
Revision as of 14:53, 12 December 2008
This article is incomplete. You can help by filling in any blank descriptions. Further information might be found in a section of the discussion page. Please remove this message when no longer necessary. |
This is a WIP, feedback is appreciated. To retain readability a lot of HTML comments are used, they shouldn't impact the working of the template, but could add to the confusion a bit.
example:
{{Function | name = PlayMagicEffectVisuals | CSWikiPage = PlayMagicEffectVisuals | ReferenceType = [Actor, Activator] | arg0 = EffectID | arg0Type = MagicEffect | optarg0 = duration | optarg0Type = Short | origin = GECK1 | summary = Plays the visuals of the specified [[Magic Effects|Magic Effect]] on the calling reference. Visuals will play at least one cycle, regardless of duration, and if no duration is specified they play indefinitely or until the art stops animating. Note that duration does not need to be specified for this command; it will play once unless you specify a longer duration. }}
result:
Link to TES4 Construction Set Wiki: PlayMagicEffectVisuals.
Syntax:
[Actor, Activator].PlayMagicEffectVisuals EffectID:MagicEffectRef duration:Short
Plays the visuals of the specified Magic Effect on the calling reference. Visuals will play at least one cycle, regardless of duration, and if no duration is specified they play indefinitely or until the art stops animating.
Note that duration does not need to be specified for this command; it will play once unless you specify a longer duration.