WikiIndex:Parser functions test: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
m (cat)
(added Category:WikiIndex using HotCat)
 
(2 intermediate revisions 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:
* {{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>    | 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 1> | <code if equal>|<code if not equal> }}


[[Category:Admin]]
;Examples:
*{{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>    | 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 1> | <code if equal>|<code if not equal> }}
 
[[Category:WikiIndex]]

Latest revision as of 12:38, 11 January 2023

  • 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