Template:Mozillian/doc: Difference between revisions

Updated the /doc. Removed link to removed template "t:mozillians".
(Corr.)
(Updated the /doc. Removed link to removed template "t:mozillians".)
Line 2: Line 2:
__NOTOC__
__NOTOC__
==Usage==
==Usage==
{{tl|mozillian}} creates a link to a user page at the website [https://mozillians.org Mozillians] using the user's user-name.
{{tlf|'''mozillian'''}} creates a link to a user page at the website [https://mozillians.org Mozillians] using the user's user-name, with an option to show the user's full name in the link text.


==Parameters==
==Parameters==
Line 16: Line 16:
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.
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
;<big>Usage</big>
* {{tlc|mozillian|'''1'''}}
* {{tlc|mozillian|'''1'''}}


Line 24: Line 24:
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.
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
;<big>Usage</big>
* {{tlc|mozillian|1|'''2'''}}
* {{tlc|mozillian|1|'''2'''}}


Line 35: Line 35:
|-
|-
! Case !! What you type !! What you see !! Notes
! Case !! What you type !! What you see !! Notes
|-
| No parameters || {{tlc|mozillian}} || {{mozillian}} ||
|-
|-
| User-name || {{tlc|mozillian|mitchell}} || {{mozillian|mitchell}} ||
| User-name || {{tlc|mozillian|mitchell}} || {{mozillian|mitchell}} ||
Line 48: Line 50:
| No user-name || {{tlc|mozillian|Mitchell Baker}} || {{mozillian|Mitchell Baker}} || Jumbled link name, link may or may not break
| No user-name || {{tlc|mozillian|Mitchell Baker}} || {{mozillian|Mitchell Baker}} || Jumbled link name, link may or may not break
|-
|-
| Empty 1st parameter || {{tlc|mozillian||Mitchell Baker}} || {{mozillian||Mitchell Baker}} || Invalid link
| Empty 1st parameter || {{tlc|mozillian||Mitchell Baker}} || {{mozillian||Mitchell Baker}} || If the 1st parameter is empty, the template will link to the mozillians.org front page.
|}
|}
==See also==
* {{tl|mozillians}}: creates a link to a Mozillians user using the user id.


<includeonly>
<includeonly>
<!-- Add categories below -->
<!-- Add categories below -->
[[Category:Mozilla link templates|Mozillians]]
[[Category:Mozilla link templates|mozillians]]
</includeonly>
</includeonly>
3,860

edits