Difference between revisions of "Template:UserLink"

From Gamemode 4
Jump to navigation Jump to search
m (Cleaned Template)
(Added Twitter link to UserLink via parameter)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
|{{{1}}}
 
|{{{1}}}
 
}}
 
}}
}}</includeonly>
+
}} {{ #if:{{{twitter|}}}
<noinclude>
+
|{{Twitter|{{{twitter}}}}}
 +
|}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 20:18, 15 August 2020

Template documentation[view] [edit] [history] [purge]

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[edit source]

{{UserLink | actual page link}}

{{UserLink | actual page link | shown link}}

Example Usage[edit source]

{{UserLink | Bloo | Bloo___}}

{{UserLink | Dennis | Denniss}}

{{UserLink | ToffeeMax}}

{{UserLink | ZombiesOnTheBus}}

produces:

Bloo___ [1]

Denniss

ToffeeMax

ZombiesOnTheBus

  1. Note, underlines within links are ignored. Linking to Bloo's User page can also be achieved using {{UserLink | Bloo___}}