Template:Compare
Jump to navigation
Jump to search
This template compares to strings, returns 1 when they are equal or 0 when they aren't. It is supposed to be used to comapare a string with a pagename, since they got different ways to encode apostrophs. Same for titlepart vs. {{PAGENAME}} magic words.
Usage
{{compare|STRING1|STRING2}}
Example:
{{compare|STRING|{{PAGENAME}}}}
![]() |
Note! |
The {{PAGENAME}} magic word is supposed to be passed as second attribut. |