|
|
MindTouch OpenGarden > Deki Wiki > 良く有る質問 FAQ > Page Content > How do I...Create and insert a template?
How do I...Create and insert a template?From $1目次ヘッダーがありませんA template is a page that can be inserted into another page. Templates provide a convenient mechanism for setting up boilerplate content on your wiki. To create a new template: 1. Select Tools->Templates. 2. Click the New Page button to open a new template in the editor. 3. Enter the template name and content. The following example creates a template titled "FAQ Entry": NOTE: The example template uses {{SUBST:user.name}} and {{SUBST:date.now}} to display the username and date at which the FAQ was created. The SUBST: prefix is important; without it {{user.name}} and {{date.now}} would not get replaced on save and would always show the current username and date. 4. To use the template, open the destination page in the editor and click the Templates button.
タグ:
|