Template:U/doc
From Gentoo Wiki
Jump to:navigation
Jump to:search
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
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. |