Template:MastodonLink: Difference between revisions

Template page
mNo edit summary
(Added basic documentation)
Line 1: Line 1:
<noinclude>
== Usage ==
The first parameter has to be the username, the second the server.
<code><nowiki>{{MastodonLink|myuser|mastodonserver.example.com}}</nowiki></code>
</noinclude>
<includeonly>
[https://{{{2}}}/@{{{1}}} @{{{1}}}@{{{2}}}]
[https://{{{2}}}/@{{{1}}} @{{{1}}}@{{{2}}}]
{{#set:Mastodon=@{{{1}}}@{{{2}}}}}
{{#set:Mastodon=@{{{1}}}@{{{2}}}}}
{{#set:Has Mastodon=True}}
{{#set:Has Mastodon=True}}
</includeonly>

Revision as of 04:15, 14 October 2022

Usage

The first parameter has to be the username, the second the server.

{{MastodonLink|myuser|mastodonserver.example.com}}