Template:MastodonLink: Difference between revisions

Template page
m (Parameter MastodonLink hinzugefügt)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
The first parameter has to be the username, the second the server.
The first parameter has to be the username, the second the server.


<code><nowiki>{{MastodonLink|myuser|mastodonserver.example.com}}</nowiki></code>
<code><nowiki>{{MastodonLink|mstdnuser|mastodon.example.com}}</nowiki></code>
</noinclude>
</noinclude>
<includeonly>
<includeonly>
[https://{{{2}}}/@{{{1}}} @{{{1}}}@{{{2}}}]
[https://{{{2}}}/@{{{1}}} @{{{1}}}@{{{2}}}]
{{#set:Mastodon=@{{{1}}}@{{{2}}}}}
{{#set:Mastodon=@{{{1}}}@{{{2}}}}}
{{#set:MastodonLink=@{{{1}}} {@{{{2}}}}}}
{{#set:MastodonLink={{{1}}}{{{{2}}}} }}
{{#set:Has Mastodon=True}}
{{#set:Has Mastodon=True}}
</includeonly>
</includeonly>

Latest revision as of 05:02, 14 October 2022

Usage[edit source]

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

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