Template:Mozillian/doc

From MozillaWiki
< Template:Mozillian
Revision as of 12:29, 5 December 2014 by Lakrits (talk | contribs) (Corr.)
Jump to navigation Jump to search
Edit-copy green.svg
This is a documentation subpage for Template:Mozillian.
It contains usage information, categories and other content that is not part of the original template page.

Usage

{{mozillian}} creates a link to a user page at the website Mozillians using the user's user-name.

Parameters

There are 2 parameters, of which 1 is required and 1 is optional. Both parameters are unnamed.

Syntax

The template's syntax is

  • {{mozillian|user-name|full name}}

Required parameter

1

User-name

To use this template, you need to enter the user's user-name as the first parameter. Without it, the link will become broken or invalid.

Usage
  • {{mozillian|1}}

Optional parameter

2

Full name in the link text

It is possible to include the user's full name (or other designations) in the template, to make that the displayed text for the link. The entered string is followed by the user-name, enclosed in parentheses.

Usage
  • {{mozillian|1|2}}

Available values

All values are, in essence, custom text. However, for parameter 1, the input must be a valid user-name in the Mozillians database.

Examples

Correct use

Case What you type What you see Notes
User-name {{mozillian|mitchell}} mitchell
Full name {{mozillian|mitchell|Mitchell Baker}} Mitchell Baker (mitchell)

Incorrect use

Case What you type What you see Notes
No user-name {{mozillian|Mitchell Baker}} Baker Mitchell Baker Jumbled link name, link may or may not break
Empty 1st parameter {{mozillian||Mitchell Baker}} Mozillians.org Invalid link

See also

  • {{mozillians}}: creates a link to a Mozillians user using the user id.