Test-If

From FSDeveloper Wiki
Revision as of 11:26, 3 February 2008 by BASys (talk | contribs)
Jump to navigationJump to search

Hi Folks

Could we please install the ParserFunctions MediaWiki extension ? See - http://meta.wikimedia.org/wiki/ParserFunctions

Many thanks ATB Paul

Ignore the rest of this page as it won't work without ParserFunctions


Some results from parser function parameters:

{{#ifeq:{{lc:AbC}}|abc|yes}}  should evaluate to 'yes' 

Result = yes

{{#ifeq:banana|abc|true|false}}  should evaluate to 'false' 

Result = false

-- To Check --

{{#len:string}} for string = 123456789 should evaluate to '9' 

Result = {{#len:123456789}}

{{#pos:string|target|offset}}  should evaluate to '10' 

Result = {{#pos:blah blah target in string|target|offset}}

Prefix Data not passed


Suffix Data not passed