Template:UserLink: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
m (Moved a space, in the event a Twitter link is not provided.)
m (nbsp. Web design sucks sometimes.)
Line 9: Line 9:
}}
}}
}}{{ #if:{{{twitter|}}}
}}{{ #if:{{{twitter|}}}
| {{Twitter|{{{twitter}}}}}
| {{Twitter|{{{twitter}}}}}
|}}</includeonly><noinclude>
|}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
{{UserLink|Bloo|twitter=bloo_dev}}
</noinclude>
</noinclude>

Revision as of 23:13, 26 January 2021

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

{{UserLink | actual page link}}

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

Example Usage

{{UserLink | Bloo | Bloo___}}

{{UserLink | Dennis | Denniss}}

{{UserLink | ToffeeMax}}

{{UserLink | ZombiesOnTheBus}}

produces:

Bloo___[1]

Denniss

ToffeeMax

ZombiesOnTheBus

Bloo 

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