From Roll20 Wiki
< User:235259 | Sandbox
m |
m |
||
(7 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{syntaxbox top|formal=true|nocat=true}} | |
− | + | {{API command|power}} [''--{{API parameter|name=tag}}|{{API parameter|name=content}} [--{{API parameter|name=tag}}|{{API parameter|name=content}} [...]]''] | |
− | + | {{Formal API command| | |
− | + | {{token|S}} {{rarr}} {{API command|power|nocat=true}} {{token|tag-list|-}} | |
− | + | {{token|tag-list}} {{rarr}} {{epsilon}} | |
− | + | {{token|tag-list}} {{rarr}} {{token|tag}} {{token|tag-list|-}} | |
− | + | {{token|tag}} {{rarr}} --{{token|tag-name}}{{token|tag-indent}}{{!}}{{token|tag-content|-}} | |
− | + | {{token|tag-name}} {{rarr}} emote {{token||-|-}} | |
− | + | {{token|tag-name}} {{rarr}} name {{token||-|-}} | |
− | + | {{token|tag-name}} {{rarr}} usage {{token||-|-}} | |
− | + | {{token|tag-name}} {{rarr}} action {{token||-|-}} | |
− | + | {{token|tag-name}} {{rarr}} attack{{token|count|-}} | |
− | + | {{token|tag-name}} {{rarr}} defense {{token||-|-}} | |
− | + | {{token|tag-name}} {{rarr}} damage{{token|count|-}} | |
− | + | {{token|tag-name}} {{rarr}} txcolor {{token||-|-}} | |
− | + | {{token|tag-name}} {{rarr}} bgcolor {{token||-|-}} | |
− | + | {{token|tag-name}} {{rarr}} leftsub {{token||-|-}} | |
− | + | {{token|tag-name}} {{rarr}} rightsub {{token||-|-}} | |
− | + | {{token|tag-name}} {{rarr}} ddn {{token||-|-}} | |
− | + | {{token|tag-name}} {{rarr}} desc {{token||-|-}} | |
− | + | {{token|tag-name}} {{rarr}} crit {{token||-|-}} | |
− | {| | + | {{token|tag-name}} {{rarr}} lb {{token||-|-}} |
− | |- | + | {{token|tag-name}} {{rarr}} format {{token||-|-}} |
− | + | {{token|tag-name}} {{rarr}} title {{token||-|-}} | |
− | + | {{token|tag-name}} {{rarr}} multiroll{{token|count|-}} | |
− | |- | + | {{token|tag-name}} {{rarr}} whisper {{token||-|-}} |
− | | | + | {{token|tag-name}} {{rarr}} {{string|-}} |
− | | | + | {{token|tag-indent}} {{rarr}} {{epsilon}} |
− | |- | + | {{token|tag-indent}} {{rarr}} ^{{token|count|-}} |
− | | | + | {{token|tag-content}} {{rarr}} {{epsilon}} |
− | | | + | {{token|tag-content}} {{rarr}} {{string|-}} |
− | + | {{token|count}} {{rarr}} {{epsilon}} | |
− | + | {{token|count}} {{rarr}} {{integer}} | |
− | |- | + | }} |
− | | | + | {{syntaxbox end}} |
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |} | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 22:43, 8 January 2015
!power [--<tag>|<content> [--<tag>|<content> [...]]]Formally:
S
→ !powertag-list
tag-list
→ ε
tag-list
→tag
tag-list
tag
→ --tag-name
tag-indent
|
tag-content
tag-name
→ emote
tag-name
→ name
tag-name
→ usage
tag-name
→ action
tag-name
→ attackcount
tag-name
→ defense
tag-name
→ damagecount
tag-name
→ txcolor
tag-name
→ bgcolor
tag-name
→ leftsub
tag-name
→ rightsub
tag-name
→ ddn
tag-name
→ desc
tag-name
→ crit
tag-name
→ lb
tag-name
→ format
tag-name
→ title
tag-name
→ multirollcount
tag-name
→ whisper
tag-name
→ string
tag-indent
→ ε
tag-indent
→ ^count
tag-content
→ ε
tag-content
→ string
count
→ ε
count
→ integer