IfAnon

From GM-RKB
Jump to navigation Jump to search

An IfAnon is a MediaWiki Parser Function within the UserFunctions Extension that tests whether the current user is anonymous.



References

2018

  • (Mediawiki) ⇒ https://www.mediawiki.org/wiki/Extension:UserFunctions Retrieved: 2018-05-31.
    • QUOTE: The UserFunctions extension provides a set of dynamic parser functions that trigger on the current user(...)
      • {{#ifanon:then|else}} - Tests whether the current user is anonymous.
      • {{#ifblocked:then|else}} - Tests whether the current user is blocked.
      • {{#ifsysop:then|else}} - Tests whether the current user is a sysop.
      • {{#ifingroup:group|then|else}} - Tests whether the current user is a member of the group "group". You can check for multiple groups as well: {{#ifingroup:group1, group2, group3|then|else}}.

2018

2018

  1. {{#functionname: argument 1 | argument 2 | argument 3...}}