summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-05-19 23:35:21 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-05-19 23:35:21 +0000
commit4f0faa31d25de0a7bca96f356f4aba3991078111 (patch)
treed2b3d3e6ef68136240c005941f5a6d0915faf8a9
parent4fd3953363b7af1ddce011e4c95805958617212e (diff)
formatting
-rw-r--r--doc/templates.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/templates.mdwn b/doc/templates.mdwn
index acbcd4c8a..33e02b96d 100644
--- a/doc/templates.mdwn
+++ b/doc/templates.mdwn
@@ -7,6 +7,9 @@ Templates are files that can be filled out and inserted into pages in the
wiki.
[[if test="enabled(template) and enabled(inline)" then="""
+
+## Available templates
+
These templates are available for inclusion onto other pages in this
wiki:
@@ -14,6 +17,8 @@ wiki:
sort=title template=titlepage]]
"""]]
+## Using a template
+
Using a template works like this:
\[[template id=note text="""Here is the text to insert into my note."""]]
@@ -32,6 +37,8 @@ large chunks of marked up text to be embedded into a template:
* Really 8 and a half.
"""]]
+## Creating a template
+
To create a template, simply add a template directive to a page, and page will
provide a link that can be used to create the template. The template is a
regular wiki page, located in the `templates/` directory.