Difference between revisions of "Template:AllowedEditors"

From Team Fortress Wiki
Jump to: navigation, search
m
m (test)
Line 3: Line 3:
 
| image = Pictogram info.png
 
| image = Pictogram info.png
 
| contents = '''This user page is allowed to be edited by the following user(s)''':<br>
 
| contents = '''This user page is allowed to be edited by the following user(s)''':<br>
* {{#if: {{{any|Anyone}}}}}
+
* {{#ifeq: {{{any}}}| yes | Anyone |}}
 
* {{#if: {{{user-1|}}}|[[User:{{{user-1|}}}|{{{user-1}}}]]}}
 
* {{#if: {{{user-1|}}}|[[User:{{{user-1|}}}|{{{user-1}}}]]}}
 
* {{#if: {{{user-2|}}}|[[User:{{{user-2|}}}|{{{user-2}}}]]}}
 
* {{#if: {{{user-2|}}}|[[User:{{{user-2|}}}|{{{user-2}}}]]}}
Line 18: Line 18:
  
 
; any
 
; any
: Accepts any parameter, if included will add "Anyone".
+
: If yes, will add "Anyone".
  
 
<pre>
 
<pre>

Revision as of 16:17, 16 June 2023

Documentation for AllowedEditors

This template should be used on "User:" pages only, it is used to indicate a list of Users allowed to edit your User space page. It is not necessary to include yourself in this list.

Arguments

user-#
Supports user-1 through user-5.
any
If yes, will add "Anyone".
{{AllowedEditors
| any    =
| user-1 =
| user-2 =
| user-3 =
| user-4 =
| user-5 =
}}

Examples

{{AllowedEditors
| any = yes
| user-1 = Jimmy
| user-2 = Ivan
| user-3 = Supergamer24
}}

Generates: