Template:Infobox YouTube personality: Difference between revisions

From Unagipedia
Jump to navigation Jump to search
(Replaced content with "{{Infobox YouTube personality | name = | logo = | logo_caption = | image = | image_caption = | birth_name = | birth_date = | birth_place = | death_date = | death_place = | nationality = <!-- use only when necessary per WP:INFONAT --> | occupation = | website = | pseudonym = | channel_name =...")
Tag: Replaced
No edit summary
Line 1: Line 1:
{{Infobox YouTube personality
{{Infobox
| name                =  
| subbox    = {{{subbox|}}}
| logo                =  
| child      = {{Yesno|{{{embed|no}}}}}
| logo_caption        =  
| bodyclass  = biography vcard
| image                =  
 
| image_caption        =
| title      = {{#if:{{{embed|}}}|'''YouTube information'''}}
| birth_name          =
 
| birth_date          =
| abovestyle = {{#if:{{{embed|}}}||background-color: #B60000; color: white; font-size: 125%}}
| birth_place          =  
| above      = {{#if:{{{embed|}}}||{{br separated entries
| death_date          =
|1={{#if:{{{honorific_prefix|{{{honorific prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific_prefix|{{{honorific prefix|}}}}}}</span>}}
| death_place          =
|2={{#ifeq:{{{subbox}}}|yes||{{{name|{{PAGENAMEBASE}}}}}}}
| nationality          = <!-- use only when necessary per [[WP:INFONAT]] -->
|3={{#if:{{{honorific_suffix|{{{honorific suffix|}}}}}}|<span class="honorific-suffix" style="font-size: small">{{{honorific_suffix|{{{honorific suffix|}}}}}}</span>}}
| occupation          =  
}}
| website              =
| pseudonym            =
| channel_name        =
| channel_display_name =  
| years_active        =
| genre                =
| subscribers          =  
| subscriber_date      =  
| views                =
| view_date            =
| network              =  
| associated_acts      =
| language            =
| silver_button        =
| silver_year          =
| gold_button          =  
| gold_year            =
| diamond_button      =
| diamond_year        =  
| ruby_button          =  
| ruby_year            =
| red_diamond_button  =
| red_diamond_year    =
| stats_update        =
}}
}}
| image      = {{#ifeq:{{{subbox|}}}|yes||{{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|sizedefault=250px|alt={{{logo_alt|}}}}}}}
| caption    = {{{logo_caption|{{{logo caption|}}}}}}
| image2      = {{#ifeq:{{{subbox|}}}|yes||{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{image size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}}}
| caption2    = {{{image_caption|{{{caption|{{{image caption|}}}}}}}}}
| headerstyle = background-color: {{#if:{{{embed|}}}|{{{header-color|transparent}}}|#B60000; color: white}}; line-height: 1.5em;
| header1    = {{#if:{{{embed|}}}||{{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{height|}}}{{{nationality|}}}{{{occupation|}}}|Personal information}}}}
| label3      = Born
| data3      = {{br separated entries|1={{#if:{{{birth_name|}}}|{{{birth_name|}}}}}|2={{{birth_date|}}}|3={{#if:{{{birth_place|}}}|<div style="display:inline;" class="birthplace">{{{birth_place|}}}</div>}}}}
| label4      = Died
| data4      = {{br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<div style="display:inline;" class="deathplace">{{{death_place|}}}</div>}}}}
| label5      = Origin
| data5      = {{{origin|{{{Origin|}}}}}}
| label6      = Nationality
| data6      = {{{nationality|}}}
| class6      = category
| label7      = Education
| data7      = {{{education|}}}
| label9      = Occupation
| data9      = {{{occupation|}}}
| class9      = role
| label10      = Height
| data10      = {{#if:{{{height_m|{{{height_cm|}}}}}}{{{height_ft|}}}{{{height_in|}}} | {{convinfobox|{{{height_m|{{{height_cm|}}}}}}|{{#if:{{{height_m|}}}|m|cm}}|{{{height_ft|}}}|ft|{{{height_in|}}}|in}} }}{{#if:{{{height|}}} | {{Infobox person/height|{{{height|}}}}}}}
| label11    = <span class="nowrap">Partner(s)</span>
| data11      = {{{partner|}}}
| label12    = <span class="nowrap">Spouse(s)</span>
| data12      = {{{spouse|}}}
| label13    = <span class="nowrap">Children</span>
| data13      = {{{children|}}}
| label14    = <span class="nowrap">Parent(s)</span>
| data14      = {{{parents|}}}
| label15    = <span class="nowrap">Relatives</span>
| data15      = {{{relatives|}}}
| label16    = Net worth
| data16      = {{{networth|}}}
| label17    = Signature
| data17      = {{#if:{{{signature|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature_alt|{{{signature alt|}}}}}}}} }}
| label18    = Website
| data18      = {{{website|{{{homepage|{{{URL|}}}}}}}}}
| data19      = {{#if:{{{module_personal|}}}|
{{(!}} style="text-align:left; width:100%; margin:0; border-spacing:0"
{{!}}-
{{!}}
{{{module_personal|}}}
{{!)}}
}}
| header20    = {{#if:{{{embed|}}}||{{#if:{{{pseudonym|}}}{{{channel_name|}}}{{{channel_url|}}}{{{channel_direct_url|}}}{{{years_active|{{{years active|{{{yearsactive|}}}}}}}}}{{{genre|}}}{{{genres|}}}{{#iferror:{{#invoke:YouTubeSubscribers|subCountNice}}|{{{subscribers|}}}|{{#invoke:YouTubeSubscribers|subCountNice}}}}{{{views|}}}{{{network|}}}{{{associated_acts|}}}{{{catchphrase(s)|}}}|YouTube information}}}}
| label21    = Also known as
| data21      = {{{pseudonym|}}}
| label22    = {{#if:{{{channels|}}}{{{channel_name2|}}}{{{channel_display_name2|}}}{{{channel_url2|}}}{{{channel_direct_url2|}}}|Channels|Channel}}
| data22      = {{#if:{{{channel_name|}}}|{{flatlist|
* [https://www.youtube.com/user/{{{channel_name}}} {{if empty|{{{channel_display_name|}}}|{{{channel_name}}}}}]{{#if:{{{channel_name2|}}}|
* [https://www.youtube.com/user/{{{channel_name2}}} {{if empty|{{{channel_display_name2|}}}|{{{channel_name2}}}}}]{{#if:{{{channel_name3|}}}|
* [https://www.youtube.com/user/{{{channel_name3}}} {{if empty|{{{channel_display_name3|}}}|{{{channel_name3}}}}}]}} }} }}|{{#if:{{{channel_url|}}}|{{flatlist|
* [https://www.youtube.com/channel/{{{channel_url}}} {{if empty|{{{channel_display_name|}}}|{{{channel_url}}}}}]{{#if:{{{channel_url2|}}}|
* [https://www.youtube.com/channel/{{{channel_url2}}} {{if empty|{{{channel_display_name2|}}}|{{{channel_url2}}}}}]{{#if:{{{channel_url3|}}}|
* [https://www.youtube.com/channel/{{{channel_url3}}} {{if empty|{{{channel_display_name3|}}}|{{{channel_url3}}}}}]}} }} }}|{{#if:{{{channel_direct_url|}}}|{{flatlist|
* [https://www.youtube.com/{{{channel_direct_url}}} {{if empty|{{{channel_display_name|}}}|{{{channel_direct_url}}}}}]{{#if:{{{channel_direct_url2|}}}|
* [https://www.youtube.com/{{{channel_direct_url2}}} {{if empty|{{{channel_display_name2|}}}|{{{channel_direct_url2}}}}}]{{#if:{{{channel_direct_url3|}}}|
* [https://www.youtube.com/{{{channel_direct_url3}}} {{if empty|{{{channel_display_name3|}}}|{{{channel_direct_url3}}}}}]}} }} }}|{{{channels|}}} }} }} }}
|label23      = Location
|data23      = {{{location|}}}
|label24      = Website
|data24      = {{{channel_website|}}}
| label25    = Created by
| data25      = {{{creator|}}}
| label26    = Presented by
| data26      = {{{presenter|}}}
| label27    = Years&nbsp;active
| data27      = {{{years_active|{{{years active|{{{yearsactive|}}}}}}}}}
| label28    = {{#if:{{{genres|}}}|Genres|Genre}}
| data28      = {{{genres|{{{genre|}}}}}}
| 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}}}})|}}}}
| label30    = Total&nbsp;views
| data30      = {{br separated entries|1={{{views|}}}{{#if:{{{subscribers|}}}|{{#if:{{{views|}}}|{{#if:{{{channel_url|}}}{{{channel_direct_url|}}}{{{channel_name|}}}|{{#tag:ref||name="{{Plain text|YouTubeStats{{{channel_display_name|{{{channel_name|{{{name|}}}}}}}}}}}"}} }} }} }}|2={{#if:{{{view_date|}}}|({{{view_date|}}})|}} }}
| label31    = [[Multi-channel network|Network]]
| data31      = {{{network|}}}
| label32    = Associated acts
| data32      = {{{associated_acts|}}}
| label34    = Contents are in
| data34      = {{{language|}}}
| rowcellstyle42 = padding: 0
| data42      = {{#if:{{{silver_button|}}}{{{gold_button|}}}{{{diamond_button|}}}{{{ruby_button|}}}{{{red_diamond_button|}}}|
<table class="mw-collapsible {{#if:{{{expand|}}}||mw-collapsed}}" style="width:100%;display:inline-table;"><tr>
    <th colspan="3" style="text-align: center; background-color: {{#if:{{{embed|}}}|{{{header-color|transparent}}}|#B60000; color: white}};width:100%;"><div style="margin: 0 4em;">[[YouTube Creator Awards|<span {{#if:{{{embed|}}}||style="color:white;"}}>Creator Awards</span>]]</div></tr>
{{#if:{{Yesno|{{{silver_button|}}}}}|
<tr>
<td style="padding: 2px; vertical-align: middle;">[[File:YouTube Silver Play Button 2.svg|32px|link=]]</td>
<td style="padding: 2px; vertical-align: middle;">100,000 subscribers</td>
<td style="padding: 2px; vertical-align: middle;">{{{silver_year|}}}</td>
</tr>}}
{{#if:{{Yesno|{{{gold_button|}}}}}|
<tr>
<td style="padding: 2px; vertical-align: middle;">[[File:YouTube Gold Play Button 2.svg|32px|link=]]</td>
<td style="padding: 2px; vertical-align: middle;">1,000,000 subscribers</td>
<td style="padding: 2px; vertical-align: middle;">{{{gold_year|}}}</td>
</tr>}}
{{#if:{{Yesno|{{{diamond_button|}}}}}|
<tr>
<td style="padding: 2px; vertical-align: middle;">[[File:YouTube Diamond Play Button.svg|32px|link=]]</td>
<td style="padding: 2px; vertical-align: middle;">10,000,000 subscribers</td>
<td style="padding: 2px; vertical-align: middle;">{{{diamond_year|}}}</td>
</tr>}}
{{#if:{{Yesno|{{{ruby_button|}}}}}|
<tr>
<td style="padding: 2px; vertical-align: middle;">[[File:YouTube Ruby Play Button 2.svg|32px|link=]]</td>
<td style="padding: 2px; vertical-align: middle;">50,000,000 subscribers</td>
<td style="padding: 2px; vertical-align: middle;">{{{ruby_year|}}}</td>
</tr>}}
{{#if:{{Yesno|{{{red_diamond_button|}}}}}|
<tr>
<td style="padding: 2px; vertical-align: middle;">[[File:YouTube Red Diamond Play Button.svg|32px|link=]]</td>
<td style="padding: 2px; vertical-align: middle;">100,000,000 subscribers</td>
<td style="padding: 2px; vertical-align: middle;">{{{red_diamond_year|}}}</td>
</tr>}}
</table>
}}
| data52      = {{{module|}}}
| belowstyle  = color: darkslategray;
| below      = {{#if:{{{stats_update|}}}|{{hr}}''Last updated:'' {{{stats_update}}}|}}{{#if:{{{extra_information|}}}|{{hr}}{{{extra_information}}}}}
}}{{#ifeq:{{{nocat|false}}}|false|}}{{#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 | module_personal | caption | channel_name | channel_name2 | channel_name3 | channel_url | channel_url2 | channel_url3 | channel_direct_url | channel_direct_url2 | channel_direct_url3 | channels | channel_display_name | channel_display_name2 | channel_display_name3 | location | channel_website | child | creator | presenter | death_date | death_place | diamond_button | diamond_year | education | embed | expand | extra_information | genre | genres | gold_button | gold_year | header-color | height | height_cm | height_ft | height_in | height_m | homepage | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | image | image caption | image size | image_caption | image_size | imagesize | language | logo | logo caption | logo_caption | logo_alt | logo_size | module | name | nationality | network | nocat | occupation | origin | Origin | partner | pseudonym | red_diamond_button | red_diamond_year | ruby_button | ruby_year | subbox | signature | signature alt | signature_alt | signature_size | silver_button | silver_year | spouse | children | parents | relatives | stats_update | subscriber_date | subscribers | upright | URL | view_date | views | website | years active | years_active | yearsactive | networth }}</includeonly><noinclude>{{documentation}}

Revision as of 08:10, 1 April 2023

Template:Infobox{{#ifeq:false|false|}}Script error: No such module "Check for unknown parameters".</includeonly>Template:Documentation