Difference between revisions of "Piston State"

From webCoRE Wiki - Web-enabled Community's own Rule Engine
Jump to: navigation, search
Line 19: Line 19:
  
  
[format | class]
+
[class | text]
  
  

Revision as of 20:40, 24 May 2017

Piston States can be used to show a brief overview of what is happening in a piston


e.g. Piston State Example.png


To enable this feature you need to disable automatic piston state in the piston settings option. This can be found by clicking the name of your piston in the edit screen

Disablestate.png


You can then set the piston state by adding the task below

Setstate.png


The displayed text can be formatted using the following


[class | text]


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:


Piston state bold.png


would give

Bold.png


Example 2:


Red underlined.png


would give

Red underlined3.png


Example 3


Varyesterday.png


would give


Variablestate.png