<<O>>  Difference Topic TWikiTemplates (r1.22 - 25 Apr 2004 - PeterThoeny)

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

Variable: Description:
%DATE% Current date, e.g. 05 Nov 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.
Changed:
<
<
-- TWiki:Main.PeterThoeny - 30 Dec 2004
>
>
-- 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"
Revision r1.21 - 31 Dec 2003 - 07:29 - PeterThoeny
Revision r1.22 - 25 Apr 2004 - 07:07 - PeterThoeny