Difference between revisions of "User:Frantik/Winter test"
From The 3geez Wiki
Line 62: | Line 62: | ||
crest | | crest | | ||
mest => pest | | mest => pest | | ||
− | "threst => smest | | + | "threst => smest" | |
"thres"t => smest" | | "thres"t => smest" | | ||
"bestest" => xyz" | | "bestest" => xyz" | |
Revision as of 03:28, 16 June 2007
{{#nocache}}
- if|1|true|false: {{#if|1|true|false}}
- if|0|true|false: {{#if|0|true|false}}
- if|xyz|true|false: {{#if|xyz|true|false}}
- not|1: {{#not|1}}
- ifeq|1|1|true|false: {{#ifeq|1|1|true|false}}
- ifeq|1|0|true|false: {{#ifeq|1|0|true|false}}
- ifneq|1|1|true|false: {{#ifneq|1|1|true|false}}
- ifneq|1|0|true|false: {{#ifneq|1|0|true|false}}
- setvar|x|1: {{#setvar|x|1}}
- if|{{*isset|x:|isset|isnotset: {{#if|{{#isset|x}}|isset|isnotset}}
- unsetvar|x: {{#unsetvar|x}}
- if|{{*isset|x:|isset|isnotset: {{#if|{{#isset|x}}|isset|isnotset}}
- setvar|x|1: {{#setvar|x|1}}
- x = 2: {{#x = 2}}
- x: {{#x}}
- x = 2: {{#x = 2}}
- x += 2: {{#x += 2}}
- x -= 2: {{#x -= 2}}
- x *= 2: {{#x *= 2}}
- x /= 2: {{#x /= 2}}
- x .= 2: {{#x .= 2}}
- y []= 4: {{#y []= 4}}
- y [foo]= 2: {{#y [foo]= 2}}
#formula
{{#formula | #x }}
#substr
{{#substr abcd 2 2 }}
#strpos
{{#strpos abcd c }}
#str_replace
{{#str_replace abcd bc xy }}
#strlen
{{#strlen abcd}}
#preg_replace
{{#preg_replace | %\s% | . | x y z }}
#nocache
{{#nocache}}
#define
{{#define if IF?! }} {{#null|{{#str_replace_all if IF?! }} if2 }}
#default
{{{foo}}} {{#set_param_default | foo | bar}} {{{foo}}}
#null
{{#null HELLO!}}
#debug
{{#debug}}
#rand
{{#rand 9}} {{#rand 10 100}}
#array
{{#array | test | best | crest | mest => pest | "threst => smest" | "thres"t => smest" | "bestest" => xyz" | "testest" => "xyzpz" | poo => "pee" }}
#count
{{#count | test }}
#array_rand
{{#array_rand | test }} {{#debug}}
#while
{{#x = 1}} {{#while | {{#x <= 10}} ||
{{#x ++}} . {{#x != 10}}
}}
#repeat
{{#repeat | 10 ||
hello
}}
#for
{{#for | {{#setvar i 1}} || {{#i < 10}} || {{#i ++}} ||
{{#i}}
}}
#foreach #function #define #eval #noeval #setvar #var'