Difference between revisions of "Piston State"

From webCoRE Wiki - Web-enabled Community's own Rule Engine
Jump to: navigation, search
Line 20: Line 20:
 
* (colour name)>>> a css colour name, red, orange, blue, violet, lime. A list of CSS colours can be found [https://www.w3schools.com/cssref/css_colors.asp here]
 
* (colour name)>>> a css colour name, red, orange, blue, violet, lime. A list of CSS colours can be found [https://www.w3schools.com/cssref/css_colors.asp here]
  
Example 1:
+
 
 +
'''Example 1:'''
  
  
Line 30: Line 31:
 
[[File:bold.png]]
 
[[File:bold.png]]
  
Example 2:
+
 
 +
'''Example 2:'''
  
  

Revision as of 19:57, 14 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


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 >>> rgb colour
  • (colour name)>>> a css colour name, 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 underlined2.png