Changeset 906 for trunk/core/data/System/SkinTemplates.txt
- Timestamp:
- 11/24/08 09:48:21 (4 years ago)
- File:
-
- 1 edited
-
trunk/core/data/System/SkinTemplates.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/data/System/SkinTemplates.txt
r700 r906 32 32 * ==%<nop>{...}%==: is a comment. 33 33 * Two-pass processing lets you use a defined block before or after declaring it. 34 * For example, you can create a skin that overloads only the = twiki.tmpl= master skin template, like =twiki.print.tmpl=, that redefines the header and footer.34 * For example, you can create a skin that overloads only the =foswiki.tmpl= master skin template, like =foswiki.print.tmpl=, that redefines the header and footer. 35 35 * %H% Use of template macros is optional: templates work without them. 36 36 * %X% *NOTE:* Most template macros work only for templates: they do not get processed in normal topic text. The one exception is =%TMPL:P=. … … 112 112 ---+++ TMPL:INCLUDE recursion for piecewise customisation, or mixing in new features 113 113 114 If there is recursion in the TMPL:INCLUDE chain (eg twiki.classic.tmpl contains =%<nop>TMPL:INCLUDE{"twiki"}%=, the templating system will include the next twiki.SKIN in the skin path.114 If there is recursion in the TMPL:INCLUDE chain (eg foswiki.classic.tmpl contains =%<nop>TMPL:INCLUDE{"twiki"}%=, the templating system will include the next twiki.SKIN in the skin path. 115 115 For example, to create a customisation of pattern skin, where you _only_ want to over-ride the breadcrumbs for the view script, you can create only a view.yourlocal.tmpl: 116 116 <verbatim> … … 124 124 ---+++ Default master template 125 125 126 == twiki.tmpl== is the default master template. It defines the following sections.126 ==foswiki.tmpl== is the default master template. It defines the following sections. 127 127 128 128 | *Template directive:* | *Defines:* |
Note: See TracChangeset
for help on using the changeset viewer.
