summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2007-10-15 15:57:38 +0200
committerJonas Smedegaard <dr@jones.dk>2007-10-15 15:57:38 +0200
commit6d77c7796c1039d0c23fb7c1d16929bd8f78b39b (patch)
treeaa06290c5358bdf4ad8d592960dfd0e23fc22111 /templates
Grab upstream pages from version 2.9.
Diffstat (limited to 'templates')
-rw-r--r--templates/note.mdwn11
-rw-r--r--templates/popup.mdwn16
2 files changed, 27 insertions, 0 deletions
diff --git a/templates/note.mdwn b/templates/note.mdwn
new file mode 100644
index 0000000..d992e02
--- /dev/null
+++ b/templates/note.mdwn
@@ -0,0 +1,11 @@
+<span class="notebox">
+<TMPL_VAR text>
+</span>
+<TMPL_UNLESS NAME="text">
+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>
+</TMPL_UNLESS>
diff --git a/templates/popup.mdwn b/templates/popup.mdwn
new file mode 100644
index 0000000..b355daa
--- /dev/null
+++ b/templates/popup.mdwn
@@ -0,0 +1,16 @@
+<TMPL_UNLESS NAME="mouseover">
+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.
+</TMPL_UNLESS>
+<span class="popup"><TMPL_VAR mouseover>
+<span class="paren">[</span><span class="balloon"><TMPL_VAR popup></span><span class="paren">]</span>
+</span>