Revision history for ColorActionInfo


Revision [1837]

Last edited on 2009-01-31 02:04:48 by DarTar [Removed carriage return]

No Differences

Revision [1278]

Edited on 2008-11-01 23:23:06 by DarTar [Removed HomePage link]
Additions:
[[http://wikkawiki.org/ColorAction | Development page]]
Deletions:
HomePage
[[http://wikkawiki.org/ColorAction Development page]]


Revision [596]

Edited on 2008-01-31 06:47:09 by DarTar [before 1.1.6.4 color name validation was less strict so these should work with any version]
Additions:
[[http://wikkawiki.org/ColorAction Development page]]
|?|Color names||
Deletions:
[[http://wikkawiki.org/ColorAction | Development page]]
|?|Color names {{since version="1.1.6.4" display="inline"}}||


Revision [594]

Edited on 2008-01-31 05:33:01 by YanB [since 1.1.6.4]
Additions:
|?|Color names {{since version="1.1.6.4" display="inline"}}||
|=|{width:80px}name|=|{width:50px}color||
Deletions:
|?|Color names||
|=|{width:80px}name|=|{width:30px}color||


Revision [593]

Edited on 2008-01-31 05:27:22 by YanB [adding [since] notes]
Additions:
{{since version="1.1.6.1" align="left"}}
- {{since version="1.1.6.2" display="inline"}} two new parameters ##bg## and ##fg## have been introduced, and the colors are checked for validity. RGB syntax, Hex syntax and a wide range of color names are supported.
- {{since version="1.1.6.4" display="inline"}} support for a number of invalid colornames, such as ##antiquewhite##, ##lightgreen##, ... has been discontinued. Although these colornames are supported by almost every known browser, they do not validate against the CSS specification. Currently supported colornames are: ##aqua##, ##black##, ##blue##, ##fuchsia##, ##gray##, ##green##, ##lime##, ##maroon##, ##navy##, ##olive##, ##purple##, ##red##, ##silver##, ##teal##, ##white## and ##yellow##.
Deletions:
- Since version **1.1.6.2** two new parameters ##bg## and ##fg## have been introduced, and the colors are checked for validity. RGB syntax, Hex syntax and a wide range of color names are supported.
- Since **1.1.6.4** support for a number of invalid colornames, such as ##antiquewhite##, ##lightgreen##, ... has been discontinued. Although these colornames are supported by almost every known browser, they do not validate against the CSS specification. Currently supported colornames are: ##aqua##, ##black##, ##blue##, ##fuchsia##, ##gray##, ##green##, ##lime##, ##maroon##, ##navy##, ##olive##, ##purple##, ##red##, ##silver##, ##teal##, ##white## and ##yellow##.


Revision [564]

Edited on 2008-01-30 18:36:57 by DarTar [minor edits]
Additions:
This is the documentation page for the ##color##/##colour## action(s).
[[http://wikkawiki.org/ColorAction | Development page]]
==Usage:==
##""{{color [text="This is my text"] [fg="red"] [bg="black"]}}""##
|=|bg||string||optional||-||{{since version="1.1.6.2" display="inline"}} color name or hex-value for the background||
|=|fg||string||optional||-||{{since version="1.1.6.2" display="inline"}} foreground color, alias for ##c##, introduced to fit with ##bg## ||
|=|hex||string||optional||-||alias for ##c##, kept for backwards-compatibility;||
Deletions:
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.//
[[http://wikkawiki.org/ColorAction Development page]]
|=|bg||string||optional||-||{{since version="1.1.6.2" display="inline"}} (html) color name or hex-value for the background||
|=|fg||string||optional||-||{{since version="1.1.6.2" display="inline"}} alias for 'c', introduced to fit with 'bg' ||
|=|hex||string||optional||-||alias for 'c', kept for backwards-compatibility;||
Usage:
##""{{color [text="This is my text"] [c="red"]}}""##


Revision [518]

Edited on 2008-01-30 04:10:02 by DarTar [adding color name table]
Additions:
[[http://wikkawiki.org/ColorAction Development page]]
|=|name|=|type|=|required?|=|default|=|description||
|?|Color names||
|=|{width:80px}name|=|{width:30px}color||
||aqua||{background-color:aqua}||
||black||{background-color:black}||
||blue||{background-color:blue}||
||fuchsia||{background-color:fuchsia}||
||gray||{background-color:gray}||
||green||{background-color:green}||
||lime||{background-color:lime}||
||maroon||{background-color:maroon}||
||navy||{background-color:navy}||
||olive||{background-color:olive}||
||purple||{background-color:purple}||
||red||{background-color:red}||
||silver||{background-color:silver}||
||teal||{background-color:teal}||
||white||{background-color:white}||
||yellow||{background-color:yellow}||
Deletions:
[[http://wikkawiki.org/ColorAction | Development page]]
|=|name||type||required?||default||description||


Revision [517]

Edited on 2008-01-30 04:02:24 by DarTar [formatting parameter table]
Additions:
|?|Parameters||
Deletions:
==Parameters==


Revision [516]

Edited on 2008-01-30 03:59:08 by DarTar [minor edits]
Additions:
With ##""{{color}}""## action (or its alias ##""{{colour}}""##) you can specify text color using either one of HTML defined names or a hex value (with the former one taking priority). An optional background color can also be specified. Note that you must specify a text and either use "fg", "c" or "hex" for the color.
Deletions:
With the actions "color" and "colour" (the later one is an alias) you can specify text color either as one of HTML defined names or as a hex value (with the former one taking priority). An optional background color can also be specified. Note that you must specify a text and either use "fg", "c" or "hex" for the color.


Revision [515]

Edited on 2008-01-30 03:57:30 by DarTar [minor edits]
Additions:
- Since version **1.1.6.2** two new parameters ##bg## and ##fg## have been introduced, and the colors are checked for validity. RGB syntax, Hex syntax and a wide range of color names are supported.
- Since **1.1.6.4** support for a number of invalid colornames, such as ##antiquewhite##, ##lightgreen##, ... has been discontinued. Although these colornames are supported by almost every known browser, they do not validate against the CSS specification. Currently supported colornames are: ##aqua##, ##black##, ##blue##, ##fuchsia##, ##gray##, ##green##, ##lime##, ##maroon##, ##navy##, ##olive##, ##purple##, ##red##, ##silver##, ##teal##, ##white## and ##yellow##.
Deletions:
- For versions **1.1.6.2** and **1.1.6.3**, parameters ##bg## and ##fg## were introduced, and the colors were checked for validity. RGB syntax, Hex syntax and a wide range of color names were supported.
- Since **1.1.6.4**, support for a number of invalid colornames, like ##antiquewhite##, ##lightgreen##, ... has been discontinued. Although these colornames are supported by almost every known browser, they do not validate against the CSS specification. Currently supported colornames are: ##aqua##, ##black##, ##blue##, ##fuchsia##, ##gray##, ##green##, ##lime##, ##maroon##, ##navy##, ##olive##, ##purple##, ##red##, ##silver##, ##teal##, ##white## and ##yellow##.


Revision [514]

Edited on 2008-01-30 03:39:50 by DarTar [slight editing]
Additions:
|=|c||string||optional||-||(html) color name or hex-value for the text||
|=|bg||string||optional||-||{{since version="1.1.6.2" display="inline"}} (html) color name or hex-value for the background||
|=|fg||string||optional||-||{{since version="1.1.6.2" display="inline"}} alias for 'c', introduced to fit with 'bg' ||
With the actions "color" and "colour" (the later one is an alias) you can specify text color either as one of HTML defined names or as a hex value (with the former one taking priority). An optional background color can also be specified. Note that you must specify a text and either use "fg", "c" or "hex" for the color.
##""{{color [text="This is my text"] [c="red"]}}""##
==Examples:==
##""{{color c="green" text="This is a test."}}""##
##""{{color hex="#DD0000" text="This is another test."}}""##
##""{{color fg="#FF0000" bg="#000000" text="This is colored text on colored background"}}""##
##""{{color fg="yellow" bg="black" text="This is colored text on colored background"}}""##
- Versions **1.1.6.1** and below had support for parameters ##text##, ##c## and ##hex## only, and no check were performed about these values.
- For versions **1.1.6.2** and **1.1.6.3**, parameters ##bg## and ##fg## were introduced, and the colors were checked for validity. RGB syntax, Hex syntax and a wide range of color names were supported.
- Since **1.1.6.4**, support for a number of invalid colornames, like ##antiquewhite##, ##lightgreen##, ... has been discontinued. Although these colornames are supported by almost every known browser, they do not validate against the CSS specification. Currently supported colornames are: ##aqua##, ##black##, ##blue##, ##fuchsia##, ##gray##, ##green##, ##lime##, ##maroon##, ##navy##, ##olive##, ##purple##, ##red##, ##silver##, ##teal##, ##white## and ##yellow##.
Deletions:
|=|c||string||optional||-||(html)name or hex-value of the color for the text||
|=|bg {{since version="1.1.6.2" display="inline"}}||string||optional||-||(html)name or hex-value for the backgroundcolor||
|=|fg {{since version="1.1.6.2" display="inline"}}||string||optional||-||alias for 'c', introduced to fit with 'bg'||
With the actions "color" and "colour" (the later one is a synonymon) you can specify the color either as one of HTML defined names or as a hex-value (with the former one taking priority). An optional background color can also be specified.
Note that you must add a text and either use "fg", "c" or "hex" for the color.
%%{{color [text="This is my text"] [c="red"]}}%%
Examples:
%%{{color c="green" text="This is a test."}}%% gives:
%%{{color hex="#DD0000" text="This is another test."}}%% to give:
%%{{color fg="#FF0000" bg="#000000" text="This is colored text on colored background"}}%%
%%{{color fg="yellow" bg="black" text="This is colored text on colored background"}}%%
- Versions 1.1.6.1 and below had support for parameters ##text##, ##c## and ##hex## only, and no check were performed about these values.
- For versions 1.1.6.2 and 1.1.6.3, parameters ##bg## and ##fg## were introduced, and the colors were checked for validity. RGB syntax, Hex syntax and a wide range of color names were supported.
- Since 1.1.6.4, support for a number of invalid colornames, like ##antiquewhite##, ##lightgreen##, ... where removed, as these colornames, though supported by almost every known browser, aren't validating against CSS specification. Supported colornames are now: 'aqua', 'black', 'blue', 'fuchsia', 'gray', 'green', 'lime', 'maroon', 'navy', 'olive', 'purple', 'red', 'silver', 'teal', 'white' and 'yellow'.


Revision [513]

Edited on 2008-01-30 00:37:34 by DotMG [Release Notes section, documenting "removing support for invalid colornames"]
Additions:
|[|
|=|name||type||required?||default||description||
|#|
|=|text||string||mandatory||-||the text you want to display colored||
|=|c||string||optional||-||(html)name or hex-value of the color for the text||
|=|bg {{since version="1.1.6.2" display="inline"}}||string||optional||-||(html)name or hex-value for the backgroundcolor||
|=|fg {{since version="1.1.6.2" display="inline"}}||string||optional||-||alias for 'c', introduced to fit with 'bg'||
|=|hex||string||optional||-||alias for 'c', kept for backwards-compatibility;||
With the actions "color" and "colour" (the later one is a synonymon) you can specify the color either as one of HTML defined names or as a hex-value (with the former one taking priority). An optional background color can also be specified.
Note that you must add a text and either use "fg", "c" or "hex" for the color.
%%{{color fg="yellow" bg="black" text="This is colored text on colored background"}}%%
{{color fg="yellow" bg="black" text="This is colored text on colored background"}}
==Release Notes==
- Versions 1.1.6.1 and below had support for parameters ##text##, ##c## and ##hex## only, and no check were performed about these values.
- For versions 1.1.6.2 and 1.1.6.3, parameters ##bg## and ##fg## were introduced, and the colors were checked for validity. RGB syntax, Hex syntax and a wide range of color names were supported.
- Since 1.1.6.4, support for a number of invalid colornames, like ##antiquewhite##, ##lightgreen##, ... where removed, as these colornames, though supported by almost every known browser, aren't validating against CSS specification. Supported colornames are now: 'aqua', 'black', 'blue', 'fuchsia', 'gray', 'green', 'lime', 'maroon', 'navy', 'olive', 'purple', 'red', 'silver', 'teal', 'white' and 'yellow'.
Deletions:
""<table cellspacing="0" cellpadding="2" border="1">
<thead>
<tr><th scope="col">name</th><th scope="col">type</th><th scope="col">required?</th><th scope="col">default</th><th scope="col">description</th></tr>
</thead>
<tbody>
<tr><td>text</td><td>string</td><td>mandatory</td><td>-</td><td>the text you want to display colored</td></tr>
<tr><td>c</td><td>string</td><td>optional</td><td>-</td><td>(html)name or hex-value of the color for the text</td></tr>
<tr><td>bg</td><td>string</td><td>optional</td><td>-</td><td>(html)name or hex-value for the backgroundcolor</td></tr>
<tr><td>fg</td><td>string</td><td>optional</td><td>-</td><td>alias for 'c', introduced to fit with 'bg'</td></tr>
<tr><td>hex</td><td>string</td><td>optional</td><td>-</td><td>alias for 'c', kept for backwards-compatibility;</td></tr>
</tbody>
</table>""
With the actions "color" and "colour" (the later one is a synonymon) you can specifiy the color either as one of HTML defined names or as a hex-value (with the former one taking priority). An optional background color can also be specified.
Note that you must add a text and either use "c" or "hex" for the color.
%%{{color fg="lightgreen" bg="black" text="This is colored text on colored background"}}%%
{{color fg="lightgreen" bg="black" text="This is colored text on colored background"}}


Revision [297]

Edited on 2006-11-19 09:13:05 by YanB [edited, updated links]
Additions:
HomePage
[[http://wikkawiki.org/ColorAction | Development page]]
%%{{color c="green" text="This is a test."}}%% gives:
%%{{color hex="#DD0000" text="This is another test."}}%% to give:
%%{{color fg="#FF0000" bg="#000000" text="This is colored text on colored background"}}%%
%%{{color fg="lightgreen" bg="black" text="This is colored text on colored background"}}%%
- [[http://wikkawiki.org/NilsLindenberg | Nils Lindenberg]] (modifications)
- [[http://wikkawiki.org/DotMG | Mahefa Randimbisoa]] (modification - RGB syntax)
CategoryEN
Deletions:
[[WikkaDocumentation | Wikka Documentation]]
[[ColorAction | Development page]]
""{{color c="green" text="This is a test."}}"" gives:
""{{color hex="#DD0000" text="This is another test."}}"" to give:
''These examples won't work on this website itself - but on any wikka 1.1.6.2 and above''
""{{color fg="#FF0000" bg="#000000" text="This is colored text on colored background"}}""
""{{color fg="lightgreen" bg="black" text="This is colored text on colored background"}}""
- [[NilsLindenberg | Nils Lindenberg]] (modifications)
- [[DotMG | Mahefa Randimbisoa]] (modification - RGB syntax)
CategoryDocumentation


Revision [174]

The oldest known version of this page was created on 2006-06-20 18:25:57 by NilsLindenberg [edited, updated links]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki