Template:UserLink/doc: Difference between revisions
m (Moved the cleaned up bits into docs) |
m (Formatting, added another example and a note.) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Using this template, you can create a link to a user page, if a page exists. If the user has a different name, a second name can be listed to rename the link. | Using this template, you can create a link to a user page, if a page exists. If the user has a different name, a second name can be listed to rename the link. | ||
<pre>{{UserLink | actual page link | == Usage == | ||
<pre> | |||
{{UserLink | actual page link}} | |||
{{UserLink | actual page link | shown link}} | |||
</pre> | |||
Example | == Example Usage == | ||
<pre> | <pre> | ||
{{UserLink | Bloo | Bloo___}} | {{UserLink | Bloo | Bloo___}} | ||
{{UserLink | Dennis | Denniss}} | {{UserLink | Dennis | Denniss}} | ||
{{UserLink | ToffeeMax}} | |||
{{UserLink | ZombiesOnTheBus}} | {{UserLink | ZombiesOnTheBus}} | ||
</pre> | </pre> | ||
produces: | produces: | ||
{{UserLink | Bloo | Bloo___}} | |||
{{UserLink | Bloo | Bloo___}}<ref>Note, underlines within links are ignored. Linking to Bloo's User page can also be achieved using <code><nowiki>{{</nowiki>UserLink | Bloo___<nowiki>}}</nowiki></code></ref> | |||
{{UserLink | Dennis | Denniss}} | {{UserLink | Dennis | Denniss}} | ||
{{UserLink | ToffeeMax}} | |||
{{UserLink | ZombiesOnTheBus}} | {{UserLink | ZombiesOnTheBus}} |
Latest revision as of 09:46, 24 May 2020
Using this template, you can create a link to a user page, if a page exists. If the user has a different name, a second name can be listed to rename the link.
Usage
{{UserLink | actual page link}} {{UserLink | actual page link | shown link}}
Example Usage
{{UserLink | Bloo | Bloo___}} {{UserLink | Dennis | Denniss}} {{UserLink | ToffeeMax}} {{UserLink | ZombiesOnTheBus}}
produces:
ZombiesOnTheBus
- ↑ Note, underlines within links are ignored. Linking to Bloo's User page can also be achieved using
{{UserLink | Bloo___}}