From 394520257dff30ec9e0b81d8843b3283306bf7a4 Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Sat, 20 Jan 2001 23:28:47 +0000 Subject: none --- TWiki/TWikiSkins.mdwn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 TWiki/TWikiSkins.mdwn (limited to 'TWiki/TWikiSkins.mdwn') diff --git a/TWiki/TWikiSkins.mdwn b/TWiki/TWikiSkins.mdwn new file mode 100644 index 00000000..f3127c9e --- /dev/null +++ b/TWiki/TWikiSkins.mdwn @@ -0,0 +1,15 @@ +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 can be activated in two ways: + +* Define the SKIN preference variable in [[TWiki/TWikiPreferences]], one of the [[WebPreferences]], or a user preference. I.e. + * Set SKIN = wikiwiki
**Note:** Who has time to create the classic `wikiwiki` skin? +* Add `?skin=name` to the URL, i.e. for this topic: + * %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. + +-- [[Main/PeterThoeny]] - 20 Jan 2001
-- cgit v1.2.3