Template:Infobox YouTube personality: Difference between revisions

Create
Tags: Mobile edit Mobile web edit
 
Edit update
Tags: Mobile edit Mobile web edit
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>
| subbox    = {{{subbox|}}}
{| class="infobox" style="width:300px; font-size:90%; line-height:1.5em; border:1px solid #aaa; background:#f9f9f9; float:right; margin:0 0 1em 1em;"
| child      = {{Yesno|{{{embed|no}}}}}
|+ style="background:#e1f5fe; color:black; font-weight:bold; text-align:center; padding:5px;" | {{{name|{{PAGENAME}}}}}
| bodyclass  = biography vcard
|-
 
| colspan="2" style="text-align:center;" | [[File:{{{image|No_image.svg}}}|250px|frameless]]
| title      = {{#if:{{{embed|}}}|'''YouTube information'''}}
|-
 
| colspan="2" style="text-align:center; font-size:90%;" | ''{{{image_caption|}}}''
| abovestyle = {{#if:{{{embed|}}}||background-color: #B60000; color: white}}
|-
| above      = {{#if:{{{embed|}}}||{{br separated entries
! style="background:#e0e0e0;" | Born
|1={{#if:{{{honorific_prefix|{{{honorific prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific_prefix|{{{honorific prefix|}}}}}}</span>}}
| {{{birth_date|}}}{{#if:{{{birth_place|}}}|<br/>{{{birth_place}}}}}
|2={{#ifeq:{{{subbox}}}|yes||{{{name|{{PAGENAMEBASE}}}}}}}
|-
|3={{#if:{{{honorific_suffix|{{{honorific suffix|}}}}}}|<span class="honorific-suffix" style="font-size: small">{{{honorific_suffix|{{{honorific suffix|}}}}}}</span>}}
! style="background:#e0e0e0;" | Nationality
}}
| {{{nationality|}}}
}}
|-
| image     = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|sizedefault=250px|alt={{{logo_alt|}}}}}
! style="background:#e0e0e0;" | Education
| caption    = {{{logo_caption|{{{logo caption|}}}}}}
| {{{education|}}}
 
|-
| image2      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{image size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}}
! style="background:#e0e0e0;" | Alma mater
| caption2    = {{{image_caption|{{{caption|{{{image caption|}}}}}}}}}
| {{{alma_mater|}}}
 
|-
| headerstyle = background-color: {{#if:{{{embed|}}}|{{{header-color|transparent}}}|#B60000; color: white}}; line-height: 1.5em;
! style="background:#e0e0e0;" | Occupation
 
| {{{occupation|}}}
| header1    = {{#if:{{{embed|}}}||{{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{height|}}}{{{nationality|}}}{{{occupation|}}}|Personal information}}}}
|-
 
! style="background:#e0e0e0;" | Years active
| label3      = Born
| {{{years_active|}}}
| 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>}}}}
|-
 
! style="background:#e0e0e0;" | Known for
| label4      = Died
| {{{known_for|}}}
| data4      = {{br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<div style="display:inline;" class="deathplace">{{{death_place|}}}</div>}}}}
|-
 
! style="background:#e0e0e0;" | Notable works
| label5      = Origin
| {{{notable_works|}}}
| data5      = {{{origin|{{{Origin|}}}}}}
|-
 
! style="background:#e0e0e0;" | Awards
| label6      = Nationality
| {{{awards|}}}
| data6      = {{{nationality|}}}
|-
| class6      = category
! style="background:#e0e0e0;" | Spouse(s)
 
| {{{spouse|}}}
| label7      = Education
|-
| data7      = {{{education|}}}
! style="background:#e0e0e0;" | Parents
 
| {{{parents|}}}
| label9      = Occupation
|-
| data9      = {{{occupation|}}}
! style="background:#e0e0e0;" | Religion
| class9      = role
| {{{religion|}}}
 
|-
| label10      = Height
! style="background:#e0e0e0;" | Website
| 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|}}}}}}}
| {{{website|}}}
 
|}
| label12    = <span class="nowrap">Partner(s)</span>
</includeonly>
| data12      = {{{partner|}}}
<noinclude>
 
[[Category:Infobox templates]]
| label13    = <span class="nowrap">Spouse(s)</span>
</noinclude>
| data13      = {{{spouse|}}}
 
| label14    = <span class="nowrap">Children</span>
| data14      = {{{children|}}}
 
| 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|}}}{{{subscribers|}}}{{{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    = Genre
| data28      = {{{genre|}}}
 
| label29    = Subscribers
| data29      = {{br separated entries|1={{{subscribers|}}}|2={{#if:{{{subscriber_date|}}}|({{{subscriber_date|}}})|}}}}
 
| label30    = Total&nbsp;views
| data30      = {{br separated entries|1={{{views|}}}|2={{#if:{{{view_date|}}}|({{{view_date|}}})|}}}}
 
| label31    = [[Multi-channel network|Network]]
| data31      = {{{network|}}}
 
| label32    = Associated acts
| data32      = {{{associated_acts|}}}
 
| label33    = Catchphrase(s)
| data33      = {{{catchphrase(s)|}}}
 
| 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%;"><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      = {{#if:{{{module|}}}|
{{(!}} style="text-align:left; width:100%; margin:0; border-spacing:0"
{{!}}{{{module|}}}
{{!)}}
}}
 
| belowstyle  = color: darkslategray;
| below      = {{#if:{{{stats_update|}}}|{{hr}}''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 | catchphrase(s) | 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 | 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 | 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 | relatives | stats_update | subscriber_date | subscribers | URL | view_date | views | website | years active | years_active | yearsactive | networth }}</includeonly><noinclude>{{documentation}}</noinclude>