Difference between revisions of "Template:AllowedEditors"

From Team Fortress Wiki
Jump to: navigation, search
m (GrampaSwood moved page User:GrampaSwood/Template:AllowedEditors to Template:AllowedEditors without leaving a redirect: Moving to mainspace)
m (+ notice)
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
 
* {{#if: {{{user-4|}}}|[[User:{{{user-4|}}}|{{{user-4}}}]]}}
 
* {{#if: {{{user-4|}}}|[[User:{{{user-4|}}}|{{{user-4}}}]]}}
 
* {{#if: {{{user-5|}}}|[[User:{{{user-5|}}}|{{{user-5}}}]]}}
 
* {{#if: {{{user-5|}}}|[[User:{{{user-5|}}}|{{{user-5}}}]]}}
 +
{{#if: {{{notice|}}}|'''Additional instructions:''' {{{notice}}}|}}
 
}}<noinclude>
 
}}<noinclude>
 
{{Doc begin}}
 
{{Doc begin}}
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.
+
This template should be used on {{code|User:}} space 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 ==
 
== Arguments ==
Line 19: Line 20:
 
; any
 
; any
 
: If yes, will add "Anyone".
 
: If yes, will add "Anyone".
 +
 +
; notice
 +
: Adds additional instructions at the bottom, can be used to add limitations or instructions to Users that are allowed to edit.
  
 
<pre>
 
<pre>
Line 28: Line 32:
 
| user-4 =
 
| user-4 =
 
| user-5 =
 
| user-5 =
 +
| notice =
 
}}
 
}}
 
</pre>
 
</pre>
Line 38: Line 43:
 
| user-2 = Ivan
 
| user-2 = Ivan
 
| user-3 = Supergamer24
 
| user-3 = Supergamer24
 +
| notice = Please only edit the table!
 
}}
 
}}
 
</pre>
 
</pre>
 
Generates:
 
Generates:
  
{{User:GrampaSwood/Template:AllowedEditors
+
{{AllowedEditors
 
| any = yes
 
| any = yes
 
| user-1= Jimmy
 
| user-1= Jimmy
 
| user-2 = Ivan
 
| user-2 = Ivan
 
| user-3 = Supergamer24
 
| user-3 = Supergamer24
 +
| notice = Please only edit the table!
 
}}
 
}}

Latest revision as of 19:09, 11 January 2024

Documentation for AllowedEditors

This template should be used on User: space 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".
notice
Adds additional instructions at the bottom, can be used to add limitations or instructions to Users that are allowed to edit.
{{AllowedEditors
| any    =
| user-1 =
| user-2 =
| user-3 =
| user-4 =
| user-5 =
| notice =
}}

Examples

{{AllowedEditors
| any = yes
| user-1 = Jimmy
| user-2 = Ivan
| user-3 = Supergamer24
| notice = Please only edit the table!
}}

Generates: