XPressME Integration Kit

Trac

Version 1 から Version 2 における更新: PageTemplates

差分発生行の前後
Ignore:
Timestamp:
Nov 29, 2010, 3:25:28 PM (13 years 前)
Author:
trac (IP: 127.0.0.1)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PageTemplates

    v1 v2  
    1 = Wiki ページテンプレート = #WikiPageTemplates 
     1= Wiki Page Templates =  
    22 
    3   ''([http://trac.edgewall.org/milestone/0.11 0.11] 以降)'' 
     3  ''(since [http://trac.edgewall.org/milestone/0.11 0.11])'' 
    44 
    5 新しい Wiki ページのデフォルトコンテンツをページテンプレートのリストから選ぶことができます。 
     5The default content for a new wiki page can be chosen from a list of page templates.  
    66 
    7 このリストはページ名が ''PageTemplates/'' で始まる Wiki ページから作成されます。 
    8 新しいページの最初のコンテンツは、選択したテンプレートページのコンテンツがコピーされます。リスト中の ''(空白のページ)'' (訳注: 英語版では ''(blank page)'') は特別なエントリであり、新しいページのコンテンツは、空白のページになります。プレフィックスにマッチする Wiki ページが存在しない場合、最初のコンテンツは常に空白のページになり、リストは表示されません。 (すなわちマッチするページを作成するまでは今までと同じ動作になります) 
     7That list is made up from all the existing wiki pages having a name starting with ''PageTemplates/''. 
     8The initial content of a new page will simply be the content of the chosen template page, or a blank page if the special ''(blank page)'' entry is selected. When there's actually no wiki pages matching that prefix, the initial content will always be the blank page and the list selector will not be shown (i.e. this matches the behavior we had up to now). 
    99 
    10 ''PageTemplates/'' で始まる新しいページを作成すると、新しいテンプレートが作成されます。 
     10To create a new template, simply create a new page having a name starting with ''PageTemplates/''. 
    1111 
    12 (Hint: 新しいテンプレートを簡単に作成できるようにするため ''!PageTemplates/Template'' を作っておいたほうがよいでしょう!) 
    13 (訳注: テンプレートのテンプレートという意味合いですが、 Trac はこのページを特別扱いすることはありません。通常のテンプレートとして処理されます。それに対して ''!PageTemplates/DefaultPage'' は特別なテンプレートとして扱われます。ページテンプレートのリストでは初期選択状態が ''!PageTemplates/DefaultPage'' になります。 (存在しなければ ''(空白のページ)'' が初期選択されています。)) 
     12(Hint: one could even create a ''!PageTemplates/Template'' for facilitating the creation of new templates!) 
    1413 
    15 テンプレート一覧: 
     14After you have created your new template, a drop-down selection box will automatically appear on any new wiki pages that are created.  By default it is located on the right side of the 'Create this page' button. 
     15 
     16Available templates:  
    1617[[TitleIndex(PageTemplates/)]] 
    17  
    1818---- 
    1919See also: TracWiki