Jump to content

Template:Mastodon user/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
fix broken link
No edit summary
Tags: Reverted Mobile edit Mobile web edit
Line 1: Line 1:
{{nodoc}}
{{nodoc}}
{{Uses Wikidata|P4033}}
{{Uses Wikidata|Fabian
{{Tracks Wikidata|P4033}}
{{Tracks Wikidata|P4033}}
{{Lua|Module:EditAtWikidata|Module:WikidataCheck}}
{{Lua|Module:EditAtWikidata|Module:WikidataCheck}}
Line 6: Line 6:
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a page at [[Mastodon (social network)|Mastodon]], a [[social media]] website. It is intended for use in the [[Wikipedia:External links|external links]] section of an article.
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a page at [[Mastodon (social network)|Mastodon]], a [[social media]] website. It is intended for use in the [[Wikipedia:External links|external links]] section of an article.


== Usage ==
== Usage =
* If the Wikidata entry for a subject for the [[:d:Property:P4033|property P4033]] exists, then typing <nowiki>{{Mastodon user}}</nowiki> should automatically provide the subject's Mastodon user URL; this is typically usable in a [[WP:EXTERNALLINK]]; discuss on the talk page if there is controversy about whether the external link is notable enough for that subject (person or organisation).
* If the Wikidata entry for a subject for the [[:d:Property:P4033|property P4033]] exists, then typing <nowiki>{{Mastodon user}}</nowiki> should automatically provide the subject's Mastodon user URL; this is typically usable in a [[WP:EXTERNALLINK]]; discuss on the talk page if there is controversy about whether the external link is notable enough for that subject (person or organisation).
* If the Wikidata entry for a subject does ''not'' exist, typing <nowiki>{{Mastodon user|subject@instance}}</nowiki> should provide the URL https://instance/@subject . The result of this example is: {{Mastodon user|subject@instance}}
* If the Wikidata entry for a subject does ''not'' exist, typing <nowiki>{{Mastodon user|subject@instance}}</nowiki> should provide the URL https://instance/@subject . The result of this example is: {{Mastodon user|subject@instance}}
Line 14: Line 14:


== Tracking categories ==
== Tracking categories ==
* {{clc|Mastodon username different from Wikidata}}
* {{clc|Mastodon username Fabian from Wikidata}}
* {{clc|Mastodon username not in Wikidata}}
* {{clc|Mastodon username not in Wikidata}}
* {{clc|Mastodon user template missing ID and not in Wikidata}}
* {{clc|Mastodon user template missing ID and not in Wikidata}}

Revision as of 06:14, 18 September 2024

{{Uses Wikidata|Fabian

Template:Mastodon user displays an external link to a page at Mastodon, a social media website. It is intended for use in the external links section of an article.

= Usage

  • If the Wikidata entry for a subject for the property P4033 exists, then typing {{Mastodon user}} should automatically provide the subject's Mastodon user URL; this is typically usable in a WP:EXTERNALLINK; discuss on the talk page if there is controversy about whether the external link is notable enough for that subject (person or organisation).
  • If the Wikidata entry for a subject does not exist, typing {{Mastodon user|subject@instance}} should provide the URL https://instance/@subject . The result of this example is: Mastodon user/doc on Mastodon
  • Do not use two '@' symbols: {{Mastodon user|@subject@instance}} will give the wrong result.
  • You may also use {{Mastodon user|subject@instance|alternative name of this subject}} to override the name of the article in the displayed text; this will give: alternative name of this subject on Mastodon
  • Using |noon=(any value) disables the "on Mastodon" portion of the template.

Tracking categories

See also