Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module:SocialMediaStats/doc

From Wikipedia, the free encyclopedia

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]

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]

Category:Pages with SocialMediaStats module errors (0)