diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2007-08-15 10:15:33 +0200 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2007-08-15 10:15:33 +0200 |
commit | a681e1688bb93f1baa2f1646d4f677a4d29f07db (patch) | |
tree | b1737725e1c42706c991146a166e4300acc5fa5d /TWiki/TWikiSkins.mdwn | |
parent | 1636e576934c7c34c52b4601a92e431ab7cc176f (diff) |
Weed TWiki/.
Diffstat (limited to 'TWiki/TWikiSkins.mdwn')
-rw-r--r-- | TWiki/TWikiSkins.mdwn | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/TWiki/TWikiSkins.mdwn b/TWiki/TWikiSkins.mdwn deleted file mode 100644 index e9be3043..00000000 --- a/TWiki/TWikiSkins.mdwn +++ /dev/null @@ -1,28 +0,0 @@ -%TOC% %STARTINCLUDE% - -# <a name="TWiki_Skins"> TWiki Skins </a> - -_Skins overlay regular templates with alternate header/footer layouts; topic text is not affected_ - -## <a name="Overview"> Overview </a> - -Skins are customized [[TWikiTemplates]] files. You can use skins to change the look of a %WIKITOOLNAME% topic, for example, the layout of the header and footer. Rendered text between header and footer does **_not_** change. You can also use skins to define an alternate view, like a view optimized for printing. - -## <a name="Defining_Skins"> Defining Skins </a> - -Skin files are located in the `twiki/templates` directory and are named with the syntax: <code>**<scriptname>.<skin>.tmpl**</code>. For example, the **Printable** skin for the `view` template is `view.print.tmpl`. - -## <a name="Activating_Skins"> Activating Skins </a> - -A skin can be activated in two ways: - -* Define the `SKIN` Preference variable in [[TWiki/TWikiPreferences]], one of the [[WebPreferences]], or in a user - %WIKIUSERNAME% - topic. - * `Set SKIN = print` - -* Add `?skin=name` to the URL, for this example: - * %SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?skin=print (for the print view skin) - * %SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?skin=plain (for the plain view skin that has no header and footer) - -The <code>**?skin=name**</code> URL parameter overrides the SKIN Preference value. - --- [[PeterThoeny]] - 14 Jul 2001 <br /> |