Module:SocialMediaStats/doc
| This is a documentation subpage for Module:SocialMediaStats. It may contain usage information, categories and other content that is not part of the original module page. |
| This module is rated as beta. It is considered ready for widespread use, but as it is still relatively new, it should be applied with some caution to ensure results are as expected. |
This module fetches social media stats count from a page's Wikidata entity. That data should be automatically updated on Wikidata's side.
Usage
[edit source]Currently there are three methods YTsubscribers, YTviews and YTdate. They can be used with a YouTube channel ID like below:
{{#invoke:SocialMediaStats|YTsubscribers|youtube_id=YouTube channel ID}}
{{#invoke:SocialMediaStats|YTviews|youtube_id=YouTube channel ID}}
{{#invoke:SocialMediaStats|YTdate|youtube_id=YouTube channel ID}}
Or used with a YouTube handle like below:
{{#invoke:SocialMediaStats|YTsubscribers|youtube_handle=YouTube handle}}
{{#invoke:SocialMediaStats|YTviews|youtube_handle=YouTube handle}}
{{#invoke:SocialMediaStats|YTdate|youtube_handle=YouTube handle}}
You can use up to three of these and you can mix and match them as in:
{{#invoke:SocialMediaStats|YTsubscribers|youtube_handle=YouTube handle|youtube_id2=YouTube channel ID}}
They can be also used with a QID like below to specify where to load the data from but you generally won't need this.
{{#invoke:SocialMediaStats|YTsubscribers|qid=Wikidata entity ID|youtube_handle=YouTube handle }}
Error tracking category
[edit source]Category:Pages with SocialMediaStats module errors (0)