User:TxMasterG Ping/Sandbox/Parser Functions

From Second Life Wiki
< User:TxMasterG Ping‎ | Sandbox
Revision as of 17:43, 30 May 2007 by TxMasterG Ping (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This is a file in TxMasterG Ping's Sandbox!

Feel free to add to this page if you would like.


To use a parser function you will want to learn how to use a template because they use a similar syntax.

The Syntax

{{functioname: paramater1 | parameter2 | ...}}
{{#functioname: paramater1 | parameter2 | ...}}

Parser Functions can, but do not need to start with a hash symbol. Then they are followed by the function name and a colon (:). Then at least one parameter. Parameters are separated by bar (|) symbols.

Parser Function List

extension function
standard lc
standard uc
standard lcfirst
standard ucfirst
standard urlencode
standard localurl
standard fullurl
standard #language
ParserFunctions #expr
ParserFunctions #ifexpr
ParserFunctions #if
ParserFunctions #ifeq
ParserFunctions #ifexist
ParserFunctions #rel2abs
ParserFunctions #switch
ParserFunctions #time
ParserFunctions (extended) #expr (extended)
ParserFunctions (extended) #ifexpr (extended)
ParserFunctions (extended) #min
ParserFunctions (extended) #max
ParserFunctions (extended) #if
ParserFunctions (extended) #ifeq
ParserFunctions (extended) #ifexist
ParserFunctions (extended) #rel2abs
ParserFunctions (extended) #switch
ParserFunctions (extended) #time
StringFunctions #len
StringFunctions #pos
StringFunctions #rpos
StringFunctions #sub
StringFunctions #pad
StringFunctions #replace
StringFunctions #explode
StringFunctions #urlencode
StringFunctions #urldecode

THIS IS A WORK IN PROGRESS.