Template:Wiki admin

Template page
Revision as of 18:45, 2 October 2018 by imported>ReedemtheD3ad! (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}{{#if: | {{#ifeq: Wiki admin | doc | |

}} }}

[[File:Template-{{#if: | no | {{#if: | bad }} }}info.png|50px|bottom]] Documentation
{{#if: | This template has no documentation. If you know how to use this template, please add some.{{#ifeq: Wiki admin | doc | |}} |{{#if: | This template's documentation has been marked as bad. Please improve or add to it.{{#ifeq: Wiki admin | doc | |}}}} }}

This is a simple template providing standardized formatting for entries in the {{{{#if:|subst:}}Admins{{#if:| |{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}} template.

Usage:

{{{{#if:|subst:}}Wiki admin{{#if:account name|

|account name }}{{#if:decoration (optional)| |decoration (optional) }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}}

decoration is optional, and will be placed after the username but before the talk and contribution links. Intended for use with language flags or titles.

Note: The template must be enclosed within a table and does not include a row break character.

Example:

{{{{#if:|subst:}}Wiki admin{{#if:Game widow|

|Game widow }}{{#if:(Wiki Team Lead) [[File:Flag qc.svg| |(Wiki Team Lead) [[File:Flag qc.svg }}{{#if:16px|Français|link=]]| |16px|Français|link=]] }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}}

Result:

{{#if:Game widow|
Game widow (Wiki Team Lead) Français talk  •  contribs | None (Apply here!) }}
{{#ifeq: Wiki admin | doc |

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

| }}