GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing kernelnewbies.org — HelpOnVariables - Linux Kernel Newbies
VariablesContents
Predefined VariablesThe following variables are substituted when a page is saved. Note that they will appear unreplaced in the preview!
Defining New VariablesIf the builtin variables are not enough, you can define new variables by creating a sub-page of your home page with a dictionary of variables in it. For example, if your username is JohnDoe, you would create page JohnDoe/MyDict with the content like: VAR1:: some random text VAR2:: use ''any'' wiki markup Then, whenever you edit a page, you can use @VAR1@ or @VAR2@ to expand to the text in that dictionary. (Note that the lines in a dictionary must start with exactly one space.)
Getting Variables
At Every Page RefreshYou can use these values using the GetVal macro: <<GetVal(WikiDict,var1)>> <<GetVal(WikiDict,var2)>> <<GetVal(WikiDict,var3)>> Renders as:
When Saving the PageIf the variables are set on UserName/MyDict (UserName must of course be replaced as appropriate), you can get the variables when saving any page with @var1@, @var2@, ...etc. instead of the GetVal macro.
| ||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |