|
|
| Line 1: |
Line 1: |
| <includeonly>{{Infobox
| | #REDIRECT [[Template:Infobox social media personality]] |
| | child = {{Yesno|{{{subbox|{{{embed|}}}}}}}}
| |
| | templatestyles = Template:Infobox YouTube personality/styles.css
| |
| | bodyclass = ib-youtube biography vcard
| |
| | |
| | title = {{#if:{{Yesno|{{{subbox|{{{embed|}}}}}}}}|<div {{#if:{{Yesno|{{{subbox|}}}}}|class="ib-youtube-title"}}>'''YouTube information'''</div>}}
| |
| | |
| | aboveclass = ib-youtube-above
| |
| | above = {{#if:{{Yesno|{{{subbox|{{{embed|}}}}}}}}||{{br separated entries
| |
| |1={{#if:{{{honorific_prefix|{{{honorific prefix|}}}}}}|<span class="honorific-prefix">{{{honorific_prefix|{{{honorific prefix|}}}}}}</span>}}
| |
| |2=<span class="fn">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</span>
| |
| |3={{#if:{{{honorific_suffix|{{{honorific suffix|}}}}}}|<span class="honorific-suffix">{{{honorific_suffix|{{{honorific suffix|}}}}}}</span>}}
| |
| }}
| |
| }}
| |
| | |
| | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|sizedefault=frameless|alt={{{logo_alt|}}}}}
| |
| | caption = {{{logo_caption|{{{logo caption|}}}}}}
| |
| | |
| | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{image size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|{{{upright|1}}}}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| |
| | caption2 = {{{image_caption|{{{caption|{{{image caption|}}}}}}}}}
| |
| | |
| | headerclass = ib-youtube-header
| |
| | header1 = {{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{nationality|}}}{{{occupation|{{{occupations|}}}}}}|Personal information}}
| |
| | |
| | label2 = Born
| |
| | data2 = {{br separated entries|1={{#if:{{{birth_name|}}}|<div class="nickname">{{{birth_name}}}</div>}}|2={{{birth_date|}}}|3={{#if:{{{birth_place|}}}|<div class="birthplace">{{{birth_place|}}}</div>}}}}
| |
| | |
| | label3 = Died
| |
| | data3 = {{br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<div class="deathplace">{{{death_place|}}}</div>}}}}
| |
| | |
| | label4 = Origin
| |
| | data4 = {{{origin|}}}
| |
| | |
| | label5 = Nationality
| |
| | data5 = {{{nationality|}}}
| |
| | class5 = category
| |
| | |
| | label6 = Other names
| |
| | data6 = {{{other_names|}}}
| |
| | class6 = nickname
| |
| | |
| | label7 = Education
| |
| | data7 = {{{education|}}}
| |
| | |
| | label8 = Occupation{{#if:{{{occupations|}}}|s|{{Pluralize from text|{{{occupation|}}}|likely=(s)|plural=s}}}}
| |
| | data8 = {{{occupation|{{{occupations|}}}}}}
| |
| | class8 = role
| |
| | |
| | label9 = Spouse{{#if:{{{spouses|}}}|s|{{Pluralize from text|{{{spouse|}}}|likely=(s)|plural=s}}}}
| |
| | data9 = {{{spouse|{{{spouses|}}}}}}
| |
| | |
| | label10 = Partner{{#if:{{{partners|}}}|s|{{Pluralize from text|{{{partner|}}}|likely=(s)|plural=s}}}}
| |
| | data10 = {{{partner|{{{partners|}}}}}}
| |
| | |
| | label11 = Children
| |
| | data11 = {{{children|}}}
| |
| | |
| | label12 = Parent{{if either|{{{parents|}}}|{{if both|{{{mother|}}}|{{{father|}}}|true}}|s|{{Pluralize from text|{{{parent|}}}|likely=(s)|plural=s}}}}
| |
| | data12 = {{#if:{{{parent|{{{parents|}}}}}}|{{{parent|{{{parents}}}}}}|{{Unbulleted list|{{#if:{{{father|}}}|{{{father}}} (father)}}|{{#if:{{{mother|}}}|{{{mother}}} (mother)}}}}}}
| |
| | |
| | label13 = Relatives
| |
| | data13 = {{{relatives|}}}
| |
| | |
| | label14 = Organi{{#if:{{{organisation|{{{organisations|}}}}}}|s|z}}ation{{#if:{{{organizations|{{{organisations|}}}}}}|s|{{pluralize from text|{{{organization|{{{organisation|}}}}}}|likely=(s)|plural=s}}}}
| |
| | data14 = {{{organization|{{{organisation|{{{organizations|{{{organisations|}}}}}}}}}}}}
| |
| | class14 = org
| |
| | |
| | label15 = Signature
| |
| | data15 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature_alt|{{{signature alt|}}}}}}}}
| |
| | |
| | label16 = Website
| |
| | data16 = {{{website|{{{homepage|{{{URL|}}}}}}}}}
| |
| | |
| | data17 = {{{module_personal|}}}
| |
| | |
| | header20 = {{#if:{{Yesno|{{{subbox|{{{embed|}}}}}}}}||{{#if:{{{pseudonym|}}}{{{channel_handle|}}}{{{channel_id|}}}{{{channels|}}}{{{years_active|{{{years active|{{{yearsactive|}}}}}}}}}{{{genre|{{{genres|}}}}}}{{#switch:{{#invoke:YouTubeSubscribers|subCountNice}}|-404|-412|-424={{{subscribers|}}}|{{#invoke:YouTubeSubscribers|subCountNice}}}}{{{views|}}}{{{network|}}}{{{associated_acts|}}}|YouTube information}}}}
| |
| | |
| | label21 = Channel{{#if:{{{channels|}}}{{{channel_handle2|}}}{{{channel_id2|}}}|s}}
| |
| | data21 = {{#if:{{{channel_handle|}}}{{{channel_id|}}}|{{flatlist|
| |
| * [https://www.youtube.com/{{#switch:{{if empty|{{{channel_handle|}}}|{{{channel_id|}}}}}|{{{channel_handle}}}={{#if:{{Yesno|{{Str startswith|{{{channel_handle}}}|@}}}}|{{{channel_handle}}}|@{{{channel_handle}}}}}|{{{channel_id}}}=channel/{{{channel_id}}}}} {{if empty|{{{channel_name|{{{channel_display_name|}}}}}}|{{{channel_handle|}}}|YouTube channel}}]{{#if:{{{channel_handle2|}}}{{{channel_id2|}}}|
| |
| * [https://www.youtube.com/{{#switch:{{if empty|{{{channel_handle2|}}}|{{{channel_id2|}}}}}|{{{channel_handle2}}}={{#if:{{Yesno|{{Str startswith|{{{channel_handle2}}}|@}}}}|{{{channel_handle2}}}|@{{{channel_handle2}}}}}|{{{channel_id2}}}=channel/{{{channel_id2}}}}} {{if empty|{{{channel_name2|{{{channel_display_name2|}}}}}}|{{{channel_handle2|}}}|YouTube channel}}]{{#if:{{{channel_handle3|}}}{{{channel_id3|}}}|
| |
| * [https://www.youtube.com/{{#switch:{{if empty|{{{channel_handle3|}}}|{{{channel_id3|}}}}}|{{{channel_handle3}}}={{#if:{{Yesno|{{Str startswith|{{{channel_handle3}}}|@}}}}|{{{channel_handle3}}}|@{{{channel_handle3}}}}}|{{{channel_id3}}}=channel/{{{channel_id3}}}}} {{if empty|{{{channel_name3|{{{channel_display_name3|}}}}}}|{{{channel_handle3|}}}|YouTube channel}}]}} }} }}|{{{channels|}}} }}
| |
| | |
| | label22 = {{Nowrap|Also known as}}
| |
| | data22 = {{{pseudonym|}}}
| |
| | class22 = nickname
| |
| | |
| | label23 = Created by
| |
| | data23 = {{{creator|{{{creators|{{{created_by|}}}}}}}}}
| |
| | |
| | label24 = Presented by
| |
| | data24 = {{{presenter|{{{presenters|{{{presented_by|}}}}}}}}}
| |
| | |
| | label25 = Location
| |
| | data25 = {{{location|}}}
| |
| | |
| | label26 = Years active
| |
| | data26 = {{{years_active|{{{years active|{{{yearsactive|}}}}}}}}}
| |
| | |
| | label27 = Genre{{#if:{{{genres|}}}|s|{{Pluralize from text|{{{genre|}}}|likely=(s)|plural=s}}}}
| |
| | data27 = {{{genre|{{{genres|}}}}}}
| |
| | |
| | label28 = Subscribers
| |
| | data28 = {{#if:{{#switch:{{#invoke:YouTubeSubscribers|subCountNice}}|-404|-412|-424={{{subscribers|}}}|{{#invoke:YouTubeSubscribers|subCountNice}}}}|{{br separated entries|1={{#if:{{{subscribers|}}}|{{{subscribers}}}|{{#switch:{{#invoke:YouTubeSubscribers|subCountNice}}|-404|-412|-424={{main other|[[Category:Pages with YouTubeSubscribers module errors]]}}|{{#invoke:YouTubeSubscribers|subCountNice}}{{EditAtWikidata|pid=P8687}}}}}}{{#if:{{{channel_handle|}}}{{{channel_id|}}}|{{#tag:ref|{{Cite web|title=About {{if empty|{{{channel_name|{{{channel_display_name|}}}}}}|{{{channel_handle|}}}|YouTube channel}}|url=https://www.youtube.com/{{#switch:{{if empty|{{{channel_handle|}}}|{{{channel_id|}}}}}|{{{channel_handle}}}={{#if:{{Yesno|{{Str startswith|{{{channel_handle}}}|@}}}}|{{{channel_handle}}}|@{{{channel_handle}}}}}|{{{channel_id}}}=channel/{{{channel_id}}}}}/about |publisher=[[YouTube]]}}|name="YouTubeStats{{Plain text|{{if empty|{{{channel_name|{{{channel_display_name|}}}}}}|{{{channel_handle|}}}|{{{name|}}}}}}}"|group={{{stats_ref_group|}}}}} }}|2={{#if:{{{subscriber_date|}}}|({{{subscriber_date}}})|{{#if:{{{subscribers|}}}||{{#iferror:{{#invoke:YouTubeSubscribers|dateNice}}||({{#invoke:YouTubeSubscribers|dateNice}})}}}}}}}}}}
| |
| | |
| | label29 = Views
| |
| | data29 = {{#if:{{{views|}}}|{{br separated entries|1={{{views}}}{{if both|{{#switch:{{#invoke:YouTubeSubscribers|subCountNice}}|-404|-412|-424={{{subscribers|}}}|{{#invoke:YouTubeSubscribers|subCountNice}}}}|{{{channel_handle|}}}{{{channel_id|}}}|{{#tag:ref||name="YouTubeStats{{Plain text|{{if empty|{{{channel_name|{{{channel_display_name|}}}}}}|{{{channel_handle|}}}|{{{name|}}}}}}}"|group={{{stats_ref_group|}}}}} }}|2={{#if:{{{view_date|}}}|({{{view_date|}}})}} }} }}
| |
| | |
| | label30 = [[Multi-channel network|Network]]
| |
| | data30 = {{{network|}}}
| |
| | |
| | label31 = Contents are in
| |
| | data31 = {{{language|}}}
| |
| | |
| | label32 = Associated acts
| |
| | data32 = {{{associated_acts|}}}
| |
| | |
| | label33 = Website
| |
| | data33 = {{{channel_website|}}}
| |
| | |
| | data42 = {{#if:{{{silver_year|}}}{{{silver_button|}}}{{{gold_year|}}}{{{gold_button|}}}{{{diamond_year|}}}{{{diamond_button|}}}{{{ruby_year|}}}{{{ruby_button|}}}{{{red_diamond_year|}}}{{{red_diamond_button|}}}|
| |
| <table class="ib-youtube-awards {{#if:{{Yesno|{{{expand|}}}}}||mw-collapsible mw-collapsed}}">
| |
| <tr><th colspan="3" {{#if:{{Yesno|{{{embed|}}}}}||class="ib-youtube-awards-color"}}><div>[[YouTube Creator Awards|Creator Awards]]</div></th></tr>
| |
| {{If either|{{{silver_year|}}}|{{Yesno|{{{silver_button|}}}}}|then=<tr><td>[[File:YouTube Silver Play Button 2.svg|32px|alt=Silver Play Button|link=]]</td><td>100,000 subscribers</td><td>{{{silver_year|}}}</td></tr>}}
| |
| {{If either|{{{gold_year|}}}|{{Yesno|{{{gold_button|}}}}}|then=<tr><td>[[File:YouTube Gold Play Button 2.svg|alt=Gold Play Button|32px|link=]]</td><td>1,000,000 subscribers</td><td>{{{gold_year|}}}</td></tr>}}
| |
| {{If either|{{{diamond_year|}}}|{{Yesno|{{{diamond_button|}}}}}|then=<tr><td>[[File:YouTube Diamond Play Button.svg|alt=Diamond Play Button|32px|link=]]</td><td>10,000,000 subscribers</td><td>{{{diamond_year|}}}</td></tr>}}
| |
| {{If either|{{{ruby_year|}}}|{{Yesno|{{{ruby_button|}}}}}|then=<tr><td>[[File:YouTube Ruby Play Button 2.svg|32px|alt=Ruby Play Button|link=]]</td><td>50,000,000 subscribers</td><td>{{{ruby_year|}}}</td></tr>}}
| |
| {{If either|{{{red_diamond_year|}}}|{{Yesno|{{{red_diamond_button|}}}}}|then=<tr><td>[[File:YouTube Red Diamond Play Button.svg|32px|alt=Red Diamond Play Button|link=]]</td><td>100,000,000 subscribers</td><td>{{{red_diamond_year|}}}</td></tr>}}
| |
| </table>}}
| |
| | |
| | data52 = {{{module|}}}
| |
| | |
| | belowclass = ib-youtube-below
| |
| | below = {{#if:{{{stats_update|}}}|{{hr}}''Last updated:'' {{{stats_update}}}}}{{#if:{{{extra_information|}}}|{{hr}}{{{extra_information}}}}}
| |
| }}<!-- Tracking categories
| |
| -->{{main other|{{#if:{{{channel_handle|}}}{{{channel_id|}}}{{{channels|}}}||[[Category:Pages using infobox YouTube personality with no channel link]]}}}}<!--
| |
| -->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox YouTube personality with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox YouTube personality]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | associated_acts | birth_date | birth_name | birth_place | caption | channel_handle | channel_handle2 | channel_handle3 | channel_id | channel_id2 | channel_id3 | channel_display_name | channel_display_name2 | channel_display_name3 | channel_name | channel_name2 | channel_name3 | channel_website | channels | children | created_by | creator | creators | father | presented_by | presenter | presenters | death_date | death_place | diamond_button | diamond_year | education | embed | expand | extra_information | genre | genres | gold_button | gold_year | homepage | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | image | image caption | image size | image_caption | image_size | image_upright | imagesize | language | location | logo | logo caption | logo_caption | logo_alt | logo_size | module | module_personal | mother | name | nationality | network | occupation | occupations | organisation | organisations | organization | organizations | origin | other_names | parent | parents | partner | partners | pseudonym | red_diamond_button | red_diamond_year | relatives | ruby_button | ruby_year | stats_ref_group | subbox | signature | signature alt | signature_alt | signature_size | silver_button | silver_year | spouse | spouses | stats_update | subscriber_date | subscribers | upright | URL | view_date | views | website | years active | years_active | yearsactive }}<!--
| |
| -->{{#invoke:Check for clobbered parameters|check
| |
| | template = [[Template:Infobox YouTube personality]]
| |
| | cat = {{main other|Category:Pages using infobox YouTube personality with conflicting parameters}}
| |
| | subbox; embed
| |
| | honorific prefix; honorific_prefix
| |
| | honorific suffix; honorific_suffix
| |
| | image size; image_size; imagesize
| |
| | image caption; caption; image_caption
| |
| | occupation; occupations
| |
| | organisation; organization; organisations; organizations
| |
| | spouse; spouses
| |
| | partner; partners
| |
| | parent; parents; father
| |
| | parent; parents; mother
| |
| | website; homepage; URL
| |
| | channel_handle; channel_id; channels
| |
| | channel_handle2; channel_id2; channels
| |
| | channel_handle3; channel_id3; channels
| |
| | channel_name; channel_display_name
| |
| | channel_name2; channel_display_name2
| |
| | channel_name3; channel_display_name3
| |
| | creator; creators; created_by
| |
| | presenter; presenters; presented_by
| |
| | years active; years_active; yearsactive
| |
| | genre; genres
| |
| | subscriber_date; stats_update
| |
| | view_date; stats_update
| |
| }}</includeonly>
| |