このページは2007年 9月 25日, 21:30に更新されました by BrigetteK

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.

./Image1.JPG
Figure 1

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":

./Image2.JPG
Figure 2

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.

./Image3.JPG
Figure 3

5.   Select the template from the list.

./Image4.JPG

Figure 4

6.  At this point, you will see the contents of the template appear in your page.  Add your data into it and save the page.

./Image5.JPGEditor View ./Image6.JPGAfter Save

 

ファイルサイズ日付添付したユーザ 
Image1.JPG
説明なし
87.22 kB2007年 9月 25日, 21:23BrigetteKアクション
 Image2.JPG
説明なし
84.96 kB2007年 9月 25日, 20:59BrigetteKアクション
Image3.JPG
説明なし
78.07 kB2007年 9月 25日, 21:15BrigetteKアクション
 Image4.JPG
説明なし
76.52 kB2007年 9月 25日, 21:11BrigetteKアクション
 Image5.JPG
説明なし
84.9 kB2007年 9月 25日, 21:11BrigetteKアクション
 Image6.JPG
説明なし
84.89 kB2007年 9月 25日, 21:12BrigetteKアクション
コメント(0)
あなたはコメントを投稿するには ログイン しなければなりません。