From 27cc54b2cd5388eebfe797cdf636c2160cf29b43 Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Fri, 16 Mar 2001 08:59:35 +0000 Subject: none --- TWiki/TWikiSkins.mdwn | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'TWiki/TWikiSkins.mdwn') diff --git a/TWiki/TWikiSkins.mdwn b/TWiki/TWikiSkins.mdwn index f3127c9e..8ffc2321 100644 --- a/TWiki/TWikiSkins.mdwn +++ b/TWiki/TWikiSkins.mdwn @@ -1,6 +1,8 @@ +## TWiki Skins + Skins are customized template files. You can use skins to change the look of a %WIKITOOLNAME% topic, for example the layout of the header and footer. Note that the renderd text between header and footer does **_not_** change. You can use skins also to define an alternate view, i.e. a view optimized for printing. -A skin file is located in the `twiki/template` directory and has a name like `..tmpl` or `...tmpl`. For example, the `print` skin for the `view` template is view.print.tmpl (red color added for clarification). +A skin file is located in the **twiki/template** directory and has a name like **<scriptname>.<skin>.tmpl** or **<scriptname>.<topicname>.<skin>.tmpl**. For example, the **print** skin for the **view** template is **view.print.tmpl** (red color added for clarification). A skin can be activated in two ways: @@ -10,6 +12,6 @@ A skin can be activated in two ways: * %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 `?skin=name` URL parameter overrides the SKIN preference value. +The **?skin=name** URL parameter overrides the SKIN preference value. --- [[Main/PeterThoeny]] - 20 Jan 2001
+-- [[PeterThoeny]] - 16 Mar 2001
-- cgit v1.2.3