Help:UserLinks
From UnrealAdminWiki
(Difference between revisions)
Revision as of 15:40, 16 October 2005 El_Muerte ( | contribs) ← Previous diff |
Current revision El_Muerte ( | contribs) added examples |
||
Line 17: | Line 17: | ||
<nowiki>[[user:?|''username'']]</nowiki> | <nowiki>[[user:?|''username'']]</nowiki> | ||
+ | |||
+ | == Examples == | ||
+ | <nowiki>[[profile:575]]</nowiki> | ||
+ | <nowiki>[[profile:575|some text]]</nowiki> | ||
+ | <nowiki>[[user:El_Muerte]]</nowiki> | ||
+ | <nowiki>[[user:El_Muerte|some text]]</nowiki> | ||
+ | <nowiki>[[user:?|El_Muerte]]</nowiki> | ||
+ | |||
+ | |||
+ | This produces: | ||
+ | |||
+ | [[profile:575]] | ||
+ | |||
+ | [[profile:575|some text]] | ||
+ | |||
+ | [[user:El_Muerte]] | ||
+ | |||
+ | [[user:El_Muerte|some text]] | ||
+ | |||
+ | [[user:?|El_Muerte]] |
Current revision
There are a couple of ways to create a user link. Often there's no need to create an explicit link to a user. Usually you just use the signature code [[profile:575|El_Muerte]]: which automatically creates the proper user link for you.
The following codes can be used to link to a user's profile page.
[edit]
Profile tag
[[profile:''id'']]
Optionally you can add a pipe to also make the actual name visible when editing the page:
[[profile:''id''|''username'']]
However the username is only there for cosmetic reasons. The last option is always used for the signature code.
[edit]
User tag
[[user:''username'']]
The username can only contains valid title characters. So if the username contains a [
or ]
it will not work. Therefor a little magic has been added, the following trick will always work:
[[user:?|''username'']]
[edit]
Examples
[[profile:575]] [[profile:575|some text]] [[user:El_Muerte]] [[user:El_Muerte|some text]] [[user:?|El_Muerte]]
This produces:
El_Muerte
El_Muerte
El_Muerte