Revision [6569]
This is an old revision of NewpageActionInfo made by NilsLindenberg on 2005-03-07 19:06:41.
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
name | type | required? | default | description |
---|---|---|---|---|
text | string | mandatory | - | the text you want to display colored |
c | string | optional | - | color you want to use, like "blue" |
hex | string? | optional | - | color in hex values |
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