Difference between revisions of "User:TxMasterG Ping/Sandbox/Parser Functions"

From Second Life Wiki
Jump to navigation Jump to search
(BIG Edit)
 
Line 18: Line 18:
!extension!!function
!extension!!function
|-
|-
|[[/Parser functions/stadard|standard]]||lc
|[[/Parser functions/standard|standard]]||lc
|-
|-
|[[/Parser functions/stadard|standard]]||uc
|[[/Parser functions/standard|standard]]||uc
|-
|-
|[[/Parser functions/stadard|standard]]||lcfirst
|[[/Parser functions/standard|standard]]||lcfirst
|-
|-
|[[/Parser functions/stadard|standard]]||ucfirst
|[[/Parser functions/standard|standard]]||ucfirst
|-
|-
|[[/Parser functions/stadard|standard]]||urlencode
|[[/Parser functions/standard|standard]]||urlencode
|-
|-
|[[/Parser functions/stadard|standard]]||localurl
|[[/Parser functions/standard|standard]]||localurl
|-
|-
|[[/Parser functions/stadard|standard]]||fullurl
|[[/Parser functions/standard|standard]]||fullurl
|-
|-
|[[/Parser functions/stadard|standard]]||#language
|[[/Parser functions/standard|standard]]||#language
|-
|-
|[[/Parser functions/extensions/Parser Functions|ParserFunctions]]||#expr
|[[/Parser functions/extensions/Parser Functions|ParserFunctions]]||#expr

Latest revision as of 16:43, 30 May 2007

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.