WikiIndex:Parser functions test: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
m (emphasis)
(added Category:WikiIndex using HotCat)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
* Articles = {{NUMBEROFARTICLES}}
*Articles = {{NUMBEROFARTICLES}}
* Pages = {{NUMBEROFPAGES}}
*Pages = {{NUMBEROFPAGES}}
* Users = {{NUMBEROFUSERS}}
*Users = {{NUMBEROFUSERS}}
* Admins = {{NUMBEROFADMINS}}
*Admins = {{NUMBEROFADMINS}}
* Files = {{NUMBEROFFILES}}
*Files = {{NUMBEROFFILES}}
* Current User = {{CURRENTUSER}}
*Current user = {{CURRENTUSER}}
* Logo = {{LOGO}}
*Logo = {{LOGO}}


;Examples:
;Examples:
* {{ft|#if|<nowiki>foo | do if true | do if false</nowiki>}} = {{#if:foo| do if true | do if false}}
*{{ft|#if|<nowiki>foo | do if true | do if false</nowiki>}} = {{#if:foo| do if true | do if false}}
* {{ft|#if|<nowiki>0  | do if true | do if false</nowiki>}} = {{#if:0  | do if true | do if false}}
*{{ft|#if|<nowiki>0  | do if true | do if false</nowiki>}} = {{#if:0  | do if true | do if false}}
* {{ft|#if|<nowiki>    | do if true | do if false</nowiki>}} = {{#if:  | do if true | do if false}}
*{{ft|#if|<nowiki>    | do if true | do if false</nowiki>}} = {{#if:  | do if true | do if false}}
* {{ #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]]
[[Category:WikiIndex]]

Latest revision as of 12:38, 11 January 2023

  • Articles = 22,046
  • Pages = 37,706
  • Users = 12,947
  • 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