From Second Life Wiki
Jump to: navigation, search

This template compares two strings, returns 1 when they are equal and an empty string otherwise. It is supposed to be used to comapare a string with a pagename, since they got different ways to encode apostrophs. It can be passed in an #if parser function.




{{#if:{{compare|STRING|{{PAGENAME}}}}|do something if strings equal|else}}