User:TxMasterG Ping/Sandbox/Parser Functions

From Second Life Wiki
Jump to navigation Jump to 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.