Difference between revisions of "Piston State"
From webCoRE Wiki - Web-enabled Community's own Rule Engine
Line 44: | Line 44: | ||
'''Example 3''' | '''Example 3''' | ||
+ | |||
+ | |||
+ | [[File:varpistonstate.png]] | ||
+ | |||
+ | |||
+ | would give | ||
+ | |||
+ | [[File:varpistonstate2.png]] |
Revision as of 20:50, 14 May 2017
Piston States can be used to show a brief overview of what is happening in a piston
The displayed text can be formatted using the following
[format | class]
The format is separated from the class using a pipe character | . The class is a comma or space separated list of the following
- b >>> bold text
- i >>> italic text
- u >>> underlined text
- s >>> strikethrough
- #XXXXXX >>> hex colour
- colour name>>> a css colour name e.g. red, orange, blue, violet, lime. A list of CSS colours can be found here
Example 1:
would give
Example 2:
would give
Example 3
would give