Playground¶
Blocks¶
Warnings¶
- Item 1;
- Item 2.
Notices¶
Tips¶
div.flash.warning
;div.flash.notice
;div.flash
(tip).
Markers¶
You can mark tasks with .
If some feature is experimental, you can use:
You can align markers using <
and >
.
This marker is aligned to the right.
{NEW}
and {FREE}
markers are different. They look different inline.
And have special “super” mode.
You can mark some features/products as with {FREE}
or as with {^FREE}
.
Users¶
User link can be created using ID (which is the last number in the profile URL) e.g. user#1
produces Andriy Lesyuk.
User link can be also created using login e.g. user:s-andy
produces Andriy Lesyuk.
You can display different text (not “Firstname Lastname” (depends on settings)) using user(me)#1
(user(me)#1) or user(me):s-andy
(user(me):s-andy).
If username does not exist: user(me):idontexist
:) Smileys¶
Here are smileys currently supported by this plugin:
Sample code | Smiley | Sample code | Smiley | Sample code | Smiley | Sample code | Smiley |
---|---|---|---|---|---|---|---|
:) |
=) |
:D |
=D |
||||
:'( |
:( |
;) |
:P |
||||
:O |
:/ |
:S |
:] |
||||
:X |
:* |
O:) |
>:) |
||||
B) |
@}->- |
(!) |
(?) |
Smileys code is quite flexible that is :)
and :-)
are equivalent.
!
e.g. :) (uses code !:)
)... ;)Glyphs¶
Here are some special characters supported by WikiNG:
Code | Character | Code | Character | Code | Character | Code | Character |
---|---|---|---|---|---|---|---|
<= |
⇐ | <=> |
⇔ | => |
⇒ | -- |
-- |
<- |
← | <-> |
↔ | -> |
→ | --- |
--- |
Also WikiNG automatically replaces single quote inside words and after words with apostrophe, e.g. O’Reilly.
Hooks¶
The plugin adds a Wiki macro allowing to call a custom hook (with a custom name) on a page.
For example to create and call hook :wiking_hook_demo
write !{{wiking_hook(demo,argument,option=value)}}
.
Sample:
controller.class.name = WikiController project.name = WikiNG request.params = {"controller"=>"wiki", "action"=>"show", "project_id"=>"wiking", "id"=>"Playground"} page.page.title = Playground args = ["argument"] options = {:option=>"value"}
Conditions¶
Usually before release I update Wiki pages. So Wiki pages describe new version not yet released and users download old version... To avoid such things I added (date > [date])...(date)
and (version > [version])...(version)
macros.
Date¶
This message is shown since 2011.
Version¶
This message is shown after release of 1.1.0.