Template:Infobox YouTube personality: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 114: Line 114:


| label29    = Subscribers
| label29    = Subscribers
| data29      = {{br separated entries|1={{#iferror:{{#invoke:YouTubeSubscribers|subCountNice}}|{{main other|[[Category:Pages with YouTubeSubscribers module errors]]}}{{{subscribers|}}}|{{#invoke:YouTubeSubscribers|subCountNice}}}}<!-- Check if there's anything here -->{{#if:{{#iferror:{{#invoke:YouTubeSubscribers|subCountNice}}|{{{subscribers|}}}|{{#invoke:YouTubeSubscribers|subCountNice}}}}|<!-- If there is a value, add a reference if possible -->{{#if:{{{channel_url|}}}|{{#tag:ref|{{Cite web|title=About {{{channel_display_name|{{{channel_name|YouTube channel}}}}}}|url=https://www.youtube.com/channel/{{{channel_url}}}/about |publisher=YouTube}}|name="{{Plain text|YouTubeStats{{{channel_display_name|{{{channel_name|{{{name|}}}}}}}}}}}"}}|{{#if:{{{channel_direct_url|}}}|{{#tag:ref|{{Cite web|title=About {{{channel_display_name|{{{channel_name|YouTube channel}}}}}}|url=https://www.youtube.com/{{{channel_direct_url}}}/about |publisher=[[Wikipedia:YouTube]]}}|name="{{Plain text|YouTubeStats{{{channel_display_name|{{{channel_name|{{{name|}}}}}}}}}}}"}}|{{#if:{{{channel_name|}}}|{{#tag:ref|{{Cite web|title=About {{{channel_display_name|{{{channel_name|YouTube channel}}}}}}|url=https://www.youtube.com/user/{{{channel_name}}}/about |publisher=[[Wikipedia:YouTube]]}}|name="YouTubeStats{{Plain text|{{{channel_display_name|{{{channel_name|{{{name|}}}}}}}}}}}"}} }} }} }} }}|2=<!-- Check if there is a subscribers date -->{{#if:{{#iferror:{{#invoke:YouTubeSubscribers|dateNice}}|{{{subscriber_date|}}}|{{#invoke:YouTubeSubscribers|dateNice}}}}|<!-- Add the subscribers date since there is one -->({{#iferror:{{#invoke:YouTubeSubscribers|dateNice}}|{{{subscriber_date|}}}|{{#invoke:YouTubeSubscribers|dateNice}}}})|}}}}
| data29      = {{br separated entries|1={{#iferror:{{#invoke:YouTubeSubscribers|subCountNice}}|{{main other|[[Category:Pages with YouTubeSubscribers module errors]]}}{{{subscribers|}}}|{{#invoke:YouTubeSubscribers|subCountNice}}}}<!-- Check if there's anything here -->{{#if:{{#iferror:{{#invoke:YouTubeSubscribers|subCountNice}}|{{{subscribers|}}}|{{#invoke:YouTubeSubscribers|subCountNice}}}}|<!-- If there is a value, add a reference if possible -->{{#if:{{{channel_url|}}}|{{#tag:ref|{{Cite web|title=About {{{channel_display_name|{{{channel_name|YouTube channel}}}}}}|url=https://www.youtube.com/channel/{{{channel_url}}}/about |publisher=YouTube}}|name="{{Plain text|YouTubeStats{{{channel_display_name|{{{channel_name|{{{name|}}}}}}}}}}}"}}|{{#if:{{{channel_direct_url|}}}|{{#tag:ref|{{Cite web|title=About {{{channel_display_name|{{{channel_name|YouTube channel}}}}}}|url=https://www.youtube.com/{{{channel_direct_url}}}/about |publisher=[[Wikipedia:YouTube|YouTube]]}}|name="{{Plain text|YouTubeStats{{{channel_display_name|{{{channel_name|{{{name|}}}}}}}}}}}"}}|{{#if:{{{channel_name|}}}|{{#tag:ref|{{Cite web|title=About {{{channel_display_name|{{{channel_name|YouTube channel}}}}}}|url=https://www.youtube.com/user/{{{channel_name}}}/about |publisher=[[Wikipedia:YouTube|YouTube]]}}|name="YouTubeStats{{Plain text|{{{channel_display_name|{{{channel_name|{{{name|}}}}}}}}}}}"}} }} }} }} }}|2=<!-- Check if there is a subscribers date -->{{#if:{{#iferror:{{#invoke:YouTubeSubscribers|dateNice}}|{{{subscriber_date|}}}|{{#invoke:YouTubeSubscribers|dateNice}}}}|<!-- Add the subscribers date since there is one -->({{#iferror:{{#invoke:YouTubeSubscribers|dateNice}}|{{{subscriber_date|}}}|{{#invoke:YouTubeSubscribers|dateNice}}}})|}}}}


| label30    = Total&nbsp;views
| label30    = Total&nbsp;views