Widget:MastodonLink: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly> <!--{$category|escape:'html'}--> <a href="https://<!--{$site|escape:'html'}-->/@<!--{$user|escape:'html'}-->" rel="me">@<!--{$user|escape:'html'}-->@<!--{$site|escape:'html'}--></a> </includeonly><noinclude> This widget basically just generates a hyperlink with the <code>rel="me"</code> attribute/value. ==Example== <nowiki>{{#widget:MastodonLink|site=hachyderm.io|user=nottinghack}}</nowiki> {{#widget:MastodonLink|site=hachyderm.io|user=nottinghack}} ==P..." |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<a href="https://<!--{$site|escape:'html'}-->/@<!--{$user|escape:'html'}-->" rel="me"> | |||
<a href="https://<!--{$site|escape:'html'}-->/@<!--{$user|escape:'html'}-->" rel="me">@<!--{$user|escape:'html'}-->@<!--{$site|escape:'html'}--></a> | @<!--{$user|escape:'html'}-->@<!--{$site|escape:'html'}--> | ||
</a> | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
This widget basically just generates a hyperlink with the <code>rel="me"</code> attribute/value. | This widget basically just generates a hyperlink with the <code>rel="me"</code> attribute/value. |
Latest revision as of 00:04, 12 March 2025
This widget basically just generates a hyperlink with the rel="me"
attribute/value.
Example
{{#widget:MastodonLink|site=hachyderm.io|user=nottinghack}}
Parameters
- site
- The mastodon site domain
- username
- The mastodon username