diff options
author | Karl Semich <0xloem@gmail.com> | 2016-08-27 04:31:52 -0400 |
---|---|---|
committer | Karl Semich <0xloem@gmail.com> | 2016-08-27 04:31:52 -0400 |
commit | 6945074c2c496a89665f559d431cf22602199937 (patch) | |
tree | dd76fa29e557aaaaf11a40d5595a22a996533f41 /backend/ikistrap/basewiki/templates | |
parent | 227d6118cf72cf9333ac2488b76633f346e59425 (diff) | |
download | standingwithresilience-6945074c2c496a89665f559d431cf22602199937.tar.gz standingwithresilience-6945074c2c496a89665f559d431cf22602199937.zip |
Added ikistrap template
Diffstat (limited to 'backend/ikistrap/basewiki/templates')
-rw-r--r-- | backend/ikistrap/basewiki/templates/note.mdwn | 12 | ||||
-rw-r--r-- | backend/ikistrap/basewiki/templates/popup.mdwn | 17 |
2 files changed, 29 insertions, 0 deletions
diff --git a/backend/ikistrap/basewiki/templates/note.mdwn b/backend/ikistrap/basewiki/templates/note.mdwn new file mode 100644 index 0000000..8de7374 --- /dev/null +++ b/backend/ikistrap/basewiki/templates/note.mdwn @@ -0,0 +1,12 @@ +[[!templatebody <<ENDBODY +<div class="notebox"> +<TMPL_VAR text> +</div> +ENDBODY]] + +Use this template to insert a note into a page. The note will be styled to +float to the right of other text on the page. This template has one +parameter: +<ul> +<li>`text` - the text to display in the note +</ul> diff --git a/backend/ikistrap/basewiki/templates/popup.mdwn b/backend/ikistrap/basewiki/templates/popup.mdwn new file mode 100644 index 0000000..b721a95 --- /dev/null +++ b/backend/ikistrap/basewiki/templates/popup.mdwn @@ -0,0 +1,17 @@ +Use this template to create a popup window that is displayed when the mouse +is over part of the page. This template has two parameters: +<ul> +<li>`mouseover` - This is the text or other content that triggers the +popup. +<li>`popup` - This should be the content of the popup window. It can be +anything, even images or a whole little wiki page, but should not be too +large for good usability. +</ul> +Note that browsers that do not support the CSS will display the popup +inline in the page, inside square brackets. + +[[templatebody <<ENDBODY +<span class="popup"><TMPL_VAR mouseover> +<span class="paren">[</span><span class="balloon"><TMPL_VAR popup></span><span class="paren">]</span> +</span> +ENDBODY]] |