Revision [12062]

This is an old revision of ColorActionInfo made by IanHayhurst on 2005-11-30 13:37:48.

 

WikkaDocumentation Wikka Documentation

Color/ Colour Action Documentation

This is the documentation page for the Color / Colour action(s).

Once the planned 'autodoc' feature for actions is "live", this page will contain the automatically-generated documentation by just including an action; for now, I've just manually created the text.



Documentation


Short description
Displays a given text in a given color.

Parameters
string
nametyperequired?defaultdescription
textstringmandatory-the text you want to display colored
cstring(mandatory)-color you want to use, like "blue"
bgoptionalbackground color you want to use like "navy"


Long description
With the actions "color" and "colour" (the later one is a synonymon) you can display a test in a color you want.

Note that you must add a text and either use "c" or "hex" for the color.

Usage:
{{color [text="This is my text"] [c="red"]}}


Examples:
{{color c="green" text="This is a test."}} gives:

This is a test.



If you want to use hex values:

{{color hex="#DD0000" text="This is another test."}} to give:

This is another test.


Author
?


CategoryDocumentation
There is one comment on this page. [Display comment]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki