Difference between revisions of "Template:AllowedEditors"
GrampaSwood (talk | contribs) (test) |
GrampaSwood (talk | contribs) m (+ notice) |
||
(8 intermediate revisions by the same user not shown) | |||
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> | ||
+ | * {{#ifeq: {{{any}}}| yes | Anyone |}} | ||
+ | * {{#if: {{{user-1|}}}|[[User:{{{user-1|}}}|{{{user-1}}}]]}} | ||
+ | * {{#if: {{{user-2|}}}|[[User:{{{user-2|}}}|{{{user-2}}}]]}} | ||
+ | * {{#if: {{{user-3|}}}|[[User:{{{user-3|}}}|{{{user-3}}}]]}} | ||
+ | * {{#if: {{{user-4|}}}|[[User:{{{user-4|}}}|{{{user-4}}}]]}} | ||
+ | * {{#if: {{{user-5|}}}|[[User:{{{user-5|}}}|{{{user-5}}}]]}} | ||
+ | {{#if: {{{notice|}}}|'''Additional instructions:''' {{{notice}}}|}} | ||
+ | }}<noinclude> | ||
+ | {{Doc begin}} | ||
+ | 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 == | ||
+ | ; 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. | ||
− | + | <pre> | |
+ | {{AllowedEditors | ||
+ | | any = | ||
+ | | user-1 = | ||
+ | | user-2 = | ||
+ | | user-3 = | ||
+ | | user-4 = | ||
+ | | user-5 = | ||
+ | | notice = | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | == Examples == | ||
+ | <pre> | ||
+ | {{AllowedEditors | ||
+ | | any = yes | ||
+ | | user-1 = Jimmy | ||
+ | | user-2 = Ivan | ||
+ | | user-3 = Supergamer24 | ||
+ | | notice = Please only edit the table! | ||
+ | }} | ||
+ | </pre> | ||
+ | Generates: | ||
+ | {{AllowedEditors | ||
+ | | any = yes | ||
+ | | user-1= Jimmy | ||
+ | | user-2 = Ivan | ||
+ | | user-3 = Supergamer24 | ||
+ | | notice = Please only edit the table! | ||
}} | }} |
Latest revision as of 19:09, 11 January 2024
This user page is allowed to be edited by the following user(s): |
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:
This user page is allowed to be edited by the following user(s):
|