Template:MastodonLink: Difference between revisions

Template page
No edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
== Usage ==
The first parameter has to be the username, the second the server.
<code><nowiki>{{MastodonLink|mstdnuser|mastodon.example.com}}</nowiki></code>
</noinclude>
<includeonly>
[https://{{{2}}}/@{{{1}}} @{{{1}}}@{{{2}}}]
[https://{{{2}}}/@{{{1}}} @{{{1}}}@{{{2}}}]
[[Mastodon:@{{{1}}}@{{{2}}}]]
{{#set:Mastodon=@{{{1}}}@{{{2}}}}}
[[Has Mastodon::True]]
{{#set:MastodonLink={{{1}}}{{{{2}}}} }}
{{#set:Has Mastodon=True}}
</includeonly>

Latest revision as of 04:02, 14 October 2022

Usage[edit source]

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

{{MastodonLink|mstdnuser|mastodon.example.com}}