Difference between revisions of "Template:Function"
Jump to navigation
Jump to search
m
no edit summary
imported>Qazaaq m (adding summary) |
imported>Qazaaq m |
||
Line 4: | Line 4: | ||
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. | 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:''' | '''example:'''<pre> | ||
<nowiki>{{</nowiki>Function | |||
| name = PlayMagicEffectVisuals | |||
| CSWikiPage = PlayMagicEffectVisuals | |||
| ReferenceType = [Actor, Activator] | |||
| arg0 = EffectID | |||
| arg0Type = MagicEffect | |||
| optarg0 = duration | |||
| optarg0Type = Short | |||
| 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. | 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. | Note that duration does not need to be specified for this command; it will play once unless you specify a longer duration. | ||
}}</pre> | |||
'''result:''' | '''result:''' | ||
Line 40: | Line 40: | ||
syntax starts here: | syntax starts here: | ||
--> | --> | ||
'''Syntax:''' | '''Syntax:''' | ||
<!-- | <!-- |