~ubuntu-branches/ubuntu/oneiric/moin/oneiric-security

« back to all changes in this revision

Viewing changes to wiki/underlay/pages/HelpOnTemplates/revisions/00000001

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-03-30 12:55:34 UTC
  • mfrom: (0.1.17 sid)
  • Revision ID: james.westby@ubuntu.com-20100330125534-4c2ufc1rok24447l
Tags: 1.9.2-2ubuntu1
* Merge from Debian testing (LP: #521834). Based on work by Stefan Ebner.
  Remaining changes:
 - Remove python-xml from Suggests field, the package isn't anymore in
   sys.path.
 - Demote fckeditor from Recommends to Suggests; the code was previously
   embedded in moin, but it was also disabled, so there's no reason for us
   to pull this in by default currently. Note: This isn't necessary anymore
   but needs a MIR for fckeditor, so postpone dropping this change until
   lucid+1
* debian/rules:
  - Replace hardcoded python2.5 with python* and hardcore python2.6 for ln
* debian/control.in: drop versioned depends on cdbs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## Please edit system and help pages ONLY in the master wiki!
2
 
## For more information, please see MoinMoin:MoinDev/Translation.
3
 
##master-page:Unknown-Page
4
 
##master-date:Unknown-Date
5
 
#acl -All:write Default
6
 
#format wiki
7
 
#language en
8
 
== Help on Templates ==
9
 
 
10
 
Templates make it easier for users to add new pages. Instead of requiring that each bit of new information be added by hand, templates have some text and structure already filled in. [[HelpOnVariables|Variables]] can be used to insert date, time, creator, pagename, and the like.
11
 
 
12
 
A template page must be named with an ending fitting the standard template name ending (which defaults to some non-blank characters followed by "'''Template'''"). The administrator can change the default template name ending by setting "{{{page_template_regex}}}" in the configuration files. The new template page will be added to the list of template pages displayed when you try to show a non-existent page. For example, NonExistentHelpPage has a link to HelpTemplate that loads the content of HelpTemplate into the editor box, when you click on that link.
13
 
 
14
 
There are other default templates distributed with your !MoinMoin instance like a HomepageTemplate (for user homepages), a CategoryTemplate (for category pages, see  HelpOnCategories) or a SlideTemplate (for slides, see HelpOnSlideShows).