User:TxMasterG Ping/Sandbox/Parser Functions: Difference between revisions
Jump to navigation
Jump to search
BIG Edit |
m →Parser Function List: Spelling |
||
| Line 18: | Line 18: | ||
!extension!!function | !extension!!function | ||
|- | |- | ||
|[[/Parser functions/ | |[[/Parser functions/standard|standard]]||lc | ||
|- | |- | ||
|[[/Parser functions/ | |[[/Parser functions/standard|standard]]||uc | ||
|- | |- | ||
|[[/Parser functions/ | |[[/Parser functions/standard|standard]]||lcfirst | ||
|- | |- | ||
|[[/Parser functions/ | |[[/Parser functions/standard|standard]]||ucfirst | ||
|- | |- | ||
|[[/Parser functions/ | |[[/Parser functions/standard|standard]]||urlencode | ||
|- | |- | ||
|[[/Parser functions/ | |[[/Parser functions/standard|standard]]||localurl | ||
|- | |- | ||
|[[/Parser functions/ | |[[/Parser functions/standard|standard]]||fullurl | ||
|- | |- | ||
|[[/Parser functions/ | |[[/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.