Template:UserLink: Difference between revisions
Jump to navigation
Jump to search
m (Moved a space, in the event a Twitter link is not provided.) |
m (Added GitHub parameter) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
|{{{1}}} | |{{{1}}} | ||
}} | }} | ||
}}{{ #if:{{{twitter|}}} | }}{{ #if: {{{GitHub|}}} | ||
| {{Twitter|{{{twitter}}}}} | | {{GitHub|{{{GitHub}}}}} | ||
}}{{ #if: {{{twitter|}}} | |||
| {{Twitter|{{{twitter}}}}} | |||
|}}</includeonly><noinclude> | |}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
{{UserLink| Bloo | twitter = bloo_dev }} | |||
{{UserLink| Misode | GitHub = misode }} | |||
</noinclude> | </noinclude> |
Latest revision as of 21:15, 2 September 2024
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
The above documentation is transcluded from Template:UserLink/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
- ↑ Note, underlines within links are ignored. Linking to Bloo's User page can also be achieved using
{{UserLink | Bloo___}}