PageTemplateSyntax: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 40: Line 40:
|arg(1-20)
|arg(1-20)
|function, method, event
|function, method, event
|An argument. Syntax: '''type name description''' or '''[type name = defaultValue]'''.<br>For an optional argument, use [] around the type and name and use '''= value''' for the default value.
|An argument.
|Syntax: '''type name description''' or '''[type name = defaultValue]'''.<br>For an optional argument, use [] around the type and name and use '''= value''' for the default value.
|arg1 = Element element The element that is about to be destroyed.<br>arg1 = [Element element = localClient.player] Example description.
|arg1 = Element element The element that is about to be destroyed.<br>arg1 = [Element element = localClient.player] Example description.
|}
|}
6,833

edits