WikiIndex:Parser functions test: Difference between revisions
Jump to navigation
Jump to search
John Stanton (talk | contribs) (New page: * Articles = {{NUMBEROFARTICLES}} * Pages = {{NUMBEROFPAGES}} * Users = {{NUMBEROFUSERS}} * Admins = {{NUMBEROFADMINS}} * Files = {{NUMBEROFFILES}} * Current User = {{CURRENTUSER}} * Logo ...) |
Hoof Hearted (talk | contribs) m (cat) |
||
Line 12: | Line 12: | ||
* {{ #ifeq: <text 1> | <text 2> | <code if equal>|<code if not equal> }} | * {{ #ifeq: <text 1> | <text 2> | <code if equal>|<code if not equal> }} | ||
* {{ #ifeq: <text 1> | <text 1> | <code if equal>|<code if not equal> }} | * {{ #ifeq: <text 1> | <text 1> | <code if equal>|<code if not equal> }} | ||
[[Category:Admin]] |
Revision as of 20:47, 9 January 2012
- Articles = 22,027
- Pages = 37,702
- Users = 12,944
- Admins = 16
- Files = 4,788
- Current User = 192.168.144.2
- Logo =
Examples:
- {{ #if: foo | do if true | do if false }} = do if true
- {{ #if: 0 | do if true | do if false }} = do if true
- {{ #if: | do if true | do if false }} = do if false