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

From Second Life Wiki
Jump to navigation Jump to search
m (quicK IX)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>
{{../Template:TxMasterG Ping Test
{{../Template:TxMasterG Ping Test
|editable=true|timeline=work in progress}}
|editable=true|timeline=work in progress}}
Line 12: Line 13:
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 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.


==If Statements==
==Parser Function List==
If statements work based on if a statement evaluated true or false.  
<!--start table--></noinclude>
{| {{Prettytable}}
!extension!!function
|-
|[[/Parser functions/standard|standard]]||lc
|-
|[[/Parser functions/standard|standard]]||uc
|-
|[[/Parser functions/standard|standard]]||lcfirst
|-
|[[/Parser functions/standard|standard]]||ucfirst
|-
|[[/Parser functions/standard|standard]]||urlencode
|-
|[[/Parser functions/standard|standard]]||localurl
|-
|[[/Parser functions/standard|standard]]||fullurl
|-
|[[/Parser functions/standard|standard]]||#language
|-
|[[/Parser functions/extensions/Parser Functions|ParserFunctions]]||#expr
|-
|[[/Parser functions/extensions/Parser Functions|ParserFunctions]]||#ifexpr
|-
|[[/Parser functions/extensions/Parser Functions|ParserFunctions]]||#if
|-
|[[/Parser functions/extensions/Parser Functions|ParserFunctions]]||#ifeq
|-
|[[/Parser functions/extensions/Parser Functions|ParserFunctions]]||#ifexist
|-
|[[/Parser functions/extensions/Parser Functions|ParserFunctions]]||#rel2abs
|-
|[[/Parser functions/extensions/Parser Functions|ParserFunctions]]||#switch
|-
|[[/Parser functions/extensions/Parser Functions|ParserFunctions]]||#time
|-
|[[/Parser functions/extensions/Parser Functions(extended)|ParserFunctions (extended)]]||#expr (extended)
|-
|[[/Parser functions/extensions/Parser Functions(extended)|ParserFunctions (extended)]]||#ifexpr (extended)
|-
|[[/Parser functions/extensions/Parser Functions(extended)|ParserFunctions (extended)]]||#min
|-
|[[/Parser functions/extensions/Parser Functions(extended)|ParserFunctions (extended)]]||#max
|-
|[[/Parser functions/extensions/Parser Functions(extended)|ParserFunctions (extended)]]||#if
|-
|[[/Parser functions/extensions/Parser Functions(extended)|ParserFunctions (extended)]]||#ifeq
|-
|[[/Parser functions/extensions/Parser Functions(extended)|ParserFunctions (extended)]]||#ifexist
|-
|[[/Parser functions/extensions/Parser Functions(extended)|ParserFunctions (extended)]]||#rel2abs
|-
|[[/Parser functions/extensions/Parser Functions(extended)|ParserFunctions (extended)]]||#switch
|-
|[[/Parser functions/extensions/Parser Functions(extended)|ParserFunctions (extended)]]||#time
|-
|[[/Parser functions/extensions/StringFunctions|StringFunctions]]||#len
|-
|[[/Parser functions/extensions/StringFunctions|StringFunctions]]||#pos
|-
|[[/Parser functions/extensions/StringFunctions|StringFunctions]]||#rpos
|-
|[[/Parser functions/extensions/StringFunctions|StringFunctions]]||#sub
|-
|[[/Parser functions/extensions/StringFunctions|StringFunctions]]||#pad
|-
|[[/Parser functions/extensions/StringFunctions|StringFunctions]]||#replace
|-
|[[/Parser functions/extensions/StringFunctions|StringFunctions]]||#explode
|-
|[[/Parser functions/extensions/StringFunctions|StringFunctions]]||#urlencode
|-
|[[/Parser functions/extensions/StringFunctions|StringFunctions]]||#urldecode
<!-- |-
|[[Extension:LoopFunctions|LoopFunctions]]||#for
|-
|[[Extension:LoopFunctions|LoopFunctions]]||#foreach
|-
|[[Extension:Infobox Data Capture|Infobox Data Capture]]||#dataentry
|-
|[[Extension:Infobox Data Capture|Infobox Data Capture]]||#listsplit
|-
|[[Extension:MediaFunctions|MediaFunctions]]||#media..
|-
|[[Extension:Labeled Section Transclusion|Labeled Section Transclusion]]||#lst
|-
|[[Extension:Labeled Section Transclusion|Labeled Section Transclusion]]||#lstx
|-
|[[Extension:Labeled Section Transclusion|Labeled Section Transclusion]]||#lsth
|-
|[[Extension:ExpandAfter|ExpandAfter]]||#expandafter
|-
|[[m:VariablesExtension|VariablesExtension]]||#vardefine
|-
|[[m:VariablesExtension|VariablesExtension]]||#var
|-
|[[m:DynamicFunctions|DynamicFunctions]]|||#arg
|-
|[[m:DynamicFunctions|DynamicFunctions]]|||#ip
|-
|[[m:DynamicFunctions|DynamicFunctions]]|||#rand
|-
|[[m:DynamicFunctions|DynamicFunctions]]|||#skin
|-
|[[m:Data Extension|Data Extension]]|||#data
|-
|[[m:Data Extension|Data Extension]]|||#sort
|-
|[[Extension:DynamicPageList|DynamicPageList]]|||#dpl
|-
|[[Extension:Simple Security|Simple Security]]|||#security
|-
|[[Extension:Tree view|Tree view]]|||#tree
|-
|[[Extension:Livelets|Livelets]]|||#live -->
|}
<noinclude><!-- end table -->
'''THIS IS A WORK IN PROGRESS.'''


===<nowiki>{{#if: condition | then | else}}</nowiki>===
</noinclude>
'''THIS IS A WORK IN PROGRESS.'''

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.