|
META TOPICPARENT |
name="WebHome" |
|
|
|
|
< < |
%WIKIUSERNAME% |
User name, e.g. Main.TWikiGuestbbbbbbbbb |
|
> > |
%USERNAME% |
Login name, e.g. jsmith |
%WIKINAME% |
WikiName of user, e.g. JohnSmith |
%WIKIUSERNAME% |
User name, e.g. Main.JohnSmith |
|
|
%URLPARAM{"name"}% |
Value of a named URL parameter |
%NOP% |
A no-operation variable that gets removed. Useful to prevent a SEARCH from hitting an edit template topic; also useful to escape a variable like %URLPARAM%NOP%{...}% |
%NOP{ ... }% |
A no-operation text that gets removed. Useful to write-protect an edit template topic, but not the topics based this template topic. See notes below. Example: %NOP{ * Set ALLOWTOPICCHANGE = Main.TWikiAdminGroup }% |
|
|
- A drawback of referring to a master template is that you can only test a template from within TWiki, where the include variables are resolved. In the previous system, each template was a structurally complete HTML document with a
.tmpl filename extension - it contained unresolved %VARIABLES% , but could still be previewed directly in a browser.
|
|
< < | -- TWiki:Main.PeterThoeny - 30 Dec 2004 |
> > | -- TWiki:Main.PeterThoeny - 25 Apr 2004 |
| -- TWiki:Main.MikeMannix - 14 Sep 2001
-- TWiki:Main.DavidLeBlanc - 11 Mar 2002 |
|
> > | |
|
META FILEATTACHMENT |
attr="h" comment="Example of oopstest.tmpl rendered" date="1026977240" name="testscreen.gif" path="C:\Data\Temp\testscreen.gif" size="9566" user="PeterThoeny" version="1.2" |
META TOPICMOVED |
by="MikeMannix" date="1000277381" from="TWiki.TWikiTemplateSystem" to="TWiki.TWikiTemplates" |
|