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,027
  • Pages = 37,702
  • Users = 12,944
  • Admins = 16
  • Files = 4,788
  • Current User = 192.168.144.2
  • 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