User:TxMasterG Ping/Sandbox/Parser Functions/Parser functions/standard

From Second Life Wiki
< User:TxMasterG Ping‎ | Sandbox‎ | Parser Functions
Revision as of 18:17, 30 May 2007 by TxMasterG Ping (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Standard Parser Functions

These parser functions work like templetes and come standard with all wiki-servers. They have some glitches with certain languages' symbols.

LC = Lowercase

This function make all letters from the input lowercase.

Wikitext Output
{{LC:!Testing!}} !testing!
{{LC:Will this work}} will this work
{{LC:This is a test!}} this is a test!

LCFIRST = Lower(case) first letter

This function takes the letters from the input and lowers the first and leaves the rest as they were.

Wikitext Output
{{LCFIRST:!Testing!}} !Testing!
{{LCFIRST:Will this work}} will this work
{{LCFIRST:This is a test!}} this is a test!

UC = Uppercase

This function makes the input into all capitals.

Wikitext Output
{{UC:!testing!}} !TESTING!
{{UC:will this work}} WILL THIS WORK
{{UC:This is a test!}} THIS IS A TEST!

UCFIRST = Upper(case) first letter

This function performs the UC function solely on the first character.

Wikitext Output
{{UCFIRST:!testing!}} !testing!
{{UCFIRST:will this work}} Will this work
{{UCFIRST:This is a test!}} This is a test!

URLENCODE = URL Encode

Encodes a URL by changing spaces into '+'(plus signs) and symbols into their escaped equivilants.

Wikitext Output
{{urlencode:space test}} space+test
{{urlencode:%*()@!}} %25%2A%28%29%40%21
{{urlencode:%31%66%F0}} %2531%2566%25F0

localurl

fullurl

#language

Translates a RFC 3066 code into its equivalent language name in the language specified. If the code could not be translated then it returns the same code.

Wikitext Output
{{#language:en}} English
{{#language:fr}} français
{{#language:blah}} blah