The first parameter has to be the username, the second the server.
{{MastodonLink|mstdnuser|mastodon.example.com}}