mozilla

Revision 375801 of Template:UserLink

  • Revision slug: Template:UserLink
  • Revision title: Template:UserLink
  • Revision id: 375801
  • Created:
  • Creator: ethertank
  • Is current revision? No
  • Comment

Revision Content

<% /* Display link to user page. Unlike Template:User, this one have no prefix text. Parameter $0 : User ID $1 : Display Name (Optional) */ var displayName = $1 || $0; %><%- displayName %>

Revision Source

<%
/* Display link to user page. Unlike Template:User,
   this one have no prefix text.

Parameter
  $0 : User ID
  $1 : Display Name (Optional)
*/

var displayName = $1 || $0;

%><a href="/profiles/<%- $0 %>"><%- displayName %></a>
Revert to this revision