Widget:MastodonLink: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Give up on the icon idea |
||
| Line 2: | Line 2: | ||
Image:Mastodon.svg | Image:Mastodon.svg | ||
<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'}--> | @<!--{$user|escape:'html'}-->@<!--{$site|escape:'html'}--> | ||
</a> | </a> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
| Line 16: | Line 12: | ||
{{#widget:MastodonLink|site=hachyderm.io|user=nottinghack}} | {{#widget:MastodonLink|site=hachyderm.io|user=nottinghack}} | ||
==Parameters== | ==Parameters== | ||
| Line 24: | Line 18: | ||
;username | ;username | ||
:The mastodon username | :The mastodon username | ||
[[Category:Widget]] | [[Category:Widget]] | ||
</noinclude> | </noinclude> | ||
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