TWiki home TWiki.Tukro > TWiki > TWikiTemplates (r1.21 vs. r1.22) TWiki.Tukro webs:
Main | TWiki | Know | Sandbox
TWiki . { Welcome | Register | Changes | Topics | Index | Search | Go }
 <<O>>  Difference Topic TWikiTemplates (r1.22 - 25 Apr 2004 - PeterThoeny)
Line: 1 to 1
Changed:
<
<
META TOPICINFO PeterThoeny date="1072855797" format="1.0" version="1.21"
>
>
META TOPICINFO PeterThoeny date="1082876858" format="1.0" version="1.22"

META TOPICPARENT WebHome
TOC: No TOC in "TWiki.TWikiTemplates"
Line: 95 to 95

Variable: Description:
%DATE% Current date, e.g. 23 Dec 2024
Changed:
<
<
%WIKIUSERNAME% User name, e.g. Main.TWikiGuest
>
>
%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
}%
Line: 250 to 252

  • 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.
Added:
>
>
-- TWiki:Main.PeterThoeny - 25 Apr 2004

-- TWiki:Main.MikeMannix - 14 Sep 2001
-- TWiki:Main.DavidLeBlanc - 11 Mar 2002
Added:
>
>

META FILEATTACHMENT testscreen.gif attr="h" comment="Example of oopstest.tmpl rendered" date="1026977240" path="C:\Data\Temp\testscreen.gif" size="9566" user="PeterThoeny" version="1.2"
META TOPICMOVED MikeMannix? date="1000277381" from="TWiki.TWikiTemplateSystem" to="TWiki.TWikiTemplates"


Topic TWikiTemplates . { View | Diffs | r1.22 | > | r1.21 | > | r1.20 | More }
Revision r1.21 - 31 Dec 2003 - 07:29 - PeterThoeny
Revision r1.22 - 25 Apr 2004 - 07:07 - PeterThoeny
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki.Tukro? Send feedback.