Revision history for ColorActionInfo


Revision [22853]

Last edited on 2016-05-20 07:38:42 by NilsLindenberg [Replaces old-style internal links with new pipe-split links.]
Additions:
This page can now be found on the [[Docs:ColorActionInfo | Wikka Documentation Server]].
An archive of [[http://wikkawiki.org/ColorActionInfo/revisions | old revisions of this page]] is still available for reference.<<
Deletions:
This page can now be found on the [[Docs:ColorActionInfo Wikka Documentation Server]].
An archive of [[http://wikkawiki.org/ColorActionInfo/revisions
old revisions of this page]] is still available for reference.<<


Revision [18060]

Edited on 2008-01-27 02:34:53 by NilsLindenberg [Migrated to doc server]
Additions:
<<===This page has moved===
This page can now be found on the [[Docs:ColorActionInfo Wikka Documentation Server]].
Thanks for updating your bookmarks!
An archive of [[http://wikkawiki.org/ColorActionInfo/revisions
old revisions of this page]] is still available for reference.<<
::c::
CategoryMigratedDocs
Deletions:
[[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.//
>>**See also**
[[ColorAction Development page]]
>>
===Documentation===
==Short description==
Renders a string as colored text.
==Parameters==
""<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>""
==Long description==
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.
Usage:
%%{{color [text="This is my text"] [c="red"]}}%%
Examples:
""{{color c="green" text="This is a test."}}"" gives:
{{color c="green" text="This is a test."}}
If you want to use hex values:
""{{color hex="#DD0000" text="This is another test."}}"" to give:
{{color hex="#DD0000" text="This is another test."}}
Alternatively, you can specify a foreground and background color using the ##fg## and ##bg## parameters (they accept both named and hex values):
''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="#FF0000" bg="#000000" text="This is colored text on colored background"}}
""{{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"}}
==Authors==
- [[http://www.mornography.de/ Hendrik Mans]]
- [[NilsLindenberg Nils Lindenberg]] (modifications)
- [[DotMG Mahefa Randimbisoa]] (modification - RGB syntax)
CategoryDocumentation


Revision [14657]

Edited on 2006-06-20 18:25:57 by NilsLindenberg [update]
Additions:
Renders a string as colored text.
<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>
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.
Alternatively, you can specify a foreground and background color using the ##fg## and ##bg## parameters (they accept both named and hex values):
''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="#FF0000" bg="#000000" text="This is colored text on colored background"}}
""{{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"}}
==Authors==
- [[http://www.mornography.de/ Hendrik Mans]]
- [[NilsLindenberg Nils Lindenberg]] (modifications)
- [[DotMG Mahefa Randimbisoa]] (modification - RGB syntax)
Deletions:
""<div style="float:right; width: 46%; padding: 4px 8px 2px 8px; background-color:#FEE; border:1px solid #EDD"><img src="images/icons/24x24/gnome-settings.png" title="todo" alt="todo icon" /> This page needs to be updated to match <strong>Wikka 1.1.6.2</strong></div><br style="clear:right"/>""
Displays a given text in a given color.
<tr><td>c</td><td>string</td><td>(mandatory)</td><td>-</td><td>color you want to use, like "blue"</td></tr>
<tr><td>hex</td><td>string?</td><td>(mandatory)</td><td>-</td><td>color in hex values</td></tr>
With the actions "color" and "colour" (the later one is a synonymon) you can display a test in a color you want.
==Author==
?


Revision [14591]

Edited on 2006-06-14 04:15:33 by DarTar [adding update request box]
Additions:
""<div style="float:right; width: 46%; padding: 4px 8px 2px 8px; background-color:#FEE; border:1px solid #EDD"><img src="images/icons/24x24/gnome-settings.png" title="todo" alt="todo icon" /> This page needs to be updated to match <strong>Wikka 1.1.6.2</strong></div><br style="clear:right"/>""
>>**See also**
Deletions:
**See also**


Revision [12063]

Edited on 2005-11-30 13:38:19 by IanHayhurst [adding update request box]
Additions:
<tr><td>hex</td><td>string?</td><td>(mandatory)</td><td>-</td><td>color in hex values</td></tr>
Deletions:
<tr><td>bg</td>string</td><td>optional</td><td>background color you want to use like "navy"</td></tr>


Revision [12062]

Edited on 2005-11-30 13:37:48 by IanHayhurst [adding update request box]
Deletions:
<tr><td>hex</td><td>string?</td><td>(mandatory)</td><td>-</td><td>color in hex values</td></tr>
""{{color c="red" bg="navy" text="red on blue"}}""
{{color c="red" bg="navy" text="red on blue"}}


Revision [12061]

Edited on 2005-11-30 13:36:28 by IanHayhurst [adding update request box]
Additions:
<tr><td>bg</td>string</td><td>optional</td><td>background color you want to use like "navy"</td></tr>
""{{color c="red" bg="navy" text="red on blue"}}""
{{color c="red" bg="navy" text="red on blue"}}


Revision [12051]

Edited on 2005-11-29 13:57:47 by NilsLindenberg [added see also]
Additions:
>>
**See also**
[[ColorAction Development page]]
>>


Revision [12049]

Edited on 2005-11-29 13:45:21 by NilsLindenberg [small change]
Additions:
<tr><td>c</td><td>string</td><td>(mandatory)</td><td>-</td><td>color you want to use, like "blue"</td></tr>
<tr><td>hex</td><td>string?</td><td>(mandatory)</td><td>-</td><td>color in hex values</td></tr>
Deletions:
<tr><td>c</td><td>string</td><td>optional</td><td>-</td><td>color you want to use, like "blue"</td></tr>
<tr><td>hex</td><td>string?</td><td>optional</td><td>-</td><td>color in hex values</td></tr>


Revision [6559]

Edited on 2005-03-07 17:35:04 by NilsLindenberg [created]
Additions:
=====Color/ Colour Action Documentation=====
This is the documentation page for the Color / Colour action(s).
Displays a given text in a given color.
<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>color you want to use, like "blue"</td></tr>
<tr><td>hex</td><td>string?</td><td>optional</td><td>-</td><td>color in hex values</td></tr>
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.
%%{{color [text="This is my text"] [c="red"]}}%%
Examples:
""{{color c="green" text="This is a test."}}"" gives:
{{color c="green" text="This is a test."}}
If you want to use hex values:
""{{color hex="#DD0000" text="This is another test."}}"" to give:
{{color hex="#DD0000" text="This is another test."}}
?
Deletions:
=====Calendar Action Documentation=====
//Note: this action is included in Wikka as of version 1.1.6.0.//
>>==See also:==
Development: JwCalendar (with source code, and some background and discussion).>>This is the documentation page for the Calendar action.::c::
Display a calendar face for a specified or the current month.
<tr><td>year</td><td>integer</td><td>optional</td><td>current year</td><td>4-digit year of the month to be displayed; the default can be overridden by providing a URL parameter 'year'</td></tr>
<tr><td>month</td><td>integer</td><td>optional</td><td>current month</td><td>number of month (1 or 2 digits) to be displayed; the default can be overridden by providing a URL parameter 'month'</td></tr>
Specifying a month and/or year in the action itself results in a "static" calendar face without navigation; conversely, providing no parameters in the action results in a calendar face with navigation links to previous, current and next month, with URL parameters determining which month is shown (with the current month as default).
You can have one "dynamic" (navigable) calendar on a page (multiple ones would just be the same) and any number of "static" calendars.
The current date (if visible) gets a special class to allow a different styling with CSS.
%%{{calendar [year="yyyy"] [month="mm"]}}%%
Credit:
This action was inspired mainly by the "Calendar Menu" code written by [[http://www.blazonry.com/about.php Marcus Kazmierczak]] (© 1998-2002 Astonish Inc.) which we traced back as being the ultimate origin of this code although our starting point was actually a (probably second-hand) variant found on the web which did not contain any attribution.
However, not much of the original code is left in this version. Nevertheless, credit to Marcus Kazmierczak for the original that inspired this, however indirectly: Thanks!
GmBowen (first draft)
JavaWoman (more modifications)


Revision [6556]

The oldest known version of this page was created on 2005-03-07 17:19:22 by NilsLindenberg [created]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki