WikiIndex:Parser functions test: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(New page: * Articles = {{NUMBEROFARTICLES}} * Pages = {{NUMBEROFPAGES}} * Users = {{NUMBEROFUSERS}} * Admins = {{NUMBEROFADMINS}} * Files = {{NUMBEROFFILES}} * Current User = {{CURRENTUSER}} * Logo ...)
 
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,040
  • Pages = 37,734
  • Users = 12,978
  • Admins = 17
  • Files = 4,796
  • Current User = 172.69.17.149
  • Logo =

Examples:

  • {{ #iffoo | do if true | do if false }} = do if true
  • {{ #if0 | do if true | do if false }} = do if true
  • {{ #if | do if true | do if false }} = do if false