Template:Infobox YouTube personality: Difference between revisions
Template:Infobox YouTube personality (view source)
Revision as of 15:40, 2 April 2023
, 2 April 2023no edit summary
NeonWabbit (talk | contribs) (Created page with "<includeonly>{{Infobox | subbox = {{{subbox|}}} | child = {{Yesno|{{{embed|no}}}}} | bodyclass = biography vcard | title = {{#if:{{{embed|}}}|'''YouTube information'''}} | abovestyle = {{#if:{{{embed|}}}||background-color: #B60000; color: white; font-size: 125%}} | above = {{#if:{{{embed|}}}||{{br separated entries |1={{#if:{{{honorific_prefix|{{{honorific prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific_prefix|{{{...") |
NeonWabbit (talk | contribs) 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=[[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=[[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]]}}|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}}}})|}}}} | ||
| label30 = Total views | | label30 = Total views |