Template:U

From Gentoo Wiki
Jump to: navigation, search
[edit

Documentation

This template returns a link to the wiki user's userspace page based on the user's wiki account name.
Important
This template only works if the user's wiki account name has been included in the Users with profiles category. If the wiki user has not 'published' their name using the name parameter in the {{InfoBox user}} template, then this template will return an error.

Parameters

Parameter name Required? Default value Description
Anonymous parameter 1 Yes (n/a) Wiki user nickname (wiki account name).

Usage

See the template's testcases:


Developer nickname usage
Wiki code {{U|Larry}}

Main version Larry the cow (Larry)
Sandbox version Larry the cow (Larry)
Missing anonymous parameter
Wiki code {{U}}

Main version
{{U template error}}
Parameter anonymous not defined. For correct usage see U template's documentation on the anonymous parameter.
Sandbox version
{{U template error}}
Parameter anonymous not defined. For correct usage see U template's documentation on the anonymous parameter.

See also

Note
The above documentation is transcluded from Template:U/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. (See the subpages of this template.)