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.<<
An archive of [[http://wikkawiki.org/ColorActionInfo/revisions | old revisions of this page]] is still available for reference.<<
Deletions:
An archive of [[http://wikkawiki.org/ColorActionInfo/revisions
old revisions of this page]] is still available for reference.<<
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
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:
=====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
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)
<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:
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==
?
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**
>>**See also**
Deletions:
Additions:
<tr><td>hex</td><td>string?</td><td>(mandatory)</td><td>-</td><td>color in hex values</td></tr>
Deletions:
Deletions:
""{{color c="red" bg="navy" text="red on blue"}}""
{{color c="red" bg="navy" text="red on blue"}}
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"}}
""{{color c="red" bg="navy" text="red on blue"}}""
{{color c="red" bg="navy" text="red on blue"}}
Additions:
>>
**See also**
[[ColorAction Development page]]
>>
**See also**
[[ColorAction Development page]]
>>
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>
<tr><td>hex</td><td>string?</td><td>(mandatory)</td><td>-</td><td>color in hex values</td></tr>
Deletions:
<tr><td>hex</td><td>string?</td><td>optional</td><td>-</td><td>color in hex values</td></tr>
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."}}
?
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:
//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)