PageTemplateSyntax: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
Line 27: Line 27:
|all
|all
|required
|required
|server, client, or shared
|server, client, shared
|
|
|side = shared
|side = shared
Line 42: Line 42:
|required
|required
|iii vc sa iv
|iii vc sa iv
|Game support. One or multiple are supported. Delimit games by a space.
|[[GamesAndVersions|Game support]]. Separated by spaces.
|games = iii vc sa iv
|games = iii vc sa iv
|-
|offline
|all
|optional
|true/false
|Whether the function works when '''not''' connected to a server
|offline = true
|-
|online
|all
|optional
|true/false
|Whether the function works when  connected to a server
|online= true
|-
|-
|desc
|desc
Line 76: Line 90:
|event
|event
|required
|required
|true, false
|true/false
|Whether the event can be cancelled.
|Whether the event can be cancelled.
|cancel = true
|cancel = true
Line 83: Line 97:
|variable, property
|variable, property
|required
|required
|true, false
|true/false
|Whether the variable/property is readonly.
|Whether the variable/property is readonly.
|readonly = true
|readonly = true
Line 110: Line 124:
|cb(1-20)text
|cb(1-20)text
|method, function, event
|method, function, event
|optional, even if matching arg(1-20) is a callback.
|optional
|Text
|Text
|Extra description for the callback argument.
|Extra description for the callback argument.
Line 117: Line 131:
|cb(1-20)arg(1-20)
|cb(1-20)arg(1-20)
|method, function, event
|method, function, event
|required if matching arg(1-20) callback receives any arguments.
|optional
|A callback argument.
|A callback argument.
|Syntax: '''type name description'''.
|Syntax: '''type name description'''.
|arg1 = Element element The element that is about to be destroyed.
|arg1 = Client client The element's syncer
|-
|-
|}
|}
2,770

edits

Navigation menu