Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox youtuber: Difference between revisions

Template page
mNo edit summary
m (removed use of unsupported yesno)
 
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
| subbox    = {{{subbox|}}}
| subbox    = {{{subbox|}}}
| child      = {{Yesno|{{{embed|no}}}}}
| child      = {{#ifeq: {{lc:{{{embed|no}}}}} | yes | yes | no }}
| bodyclass  = biography vcard
| bodyclass  = biography vcard


Line 136: Line 136:
<table class="mw-collapsible {{#if:{{{expand|}}}||mw-collapsed}}" style="width:100%;display:inline-table;"><tr>
<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>
     <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|}}}}}|
{{#ifeq: {{lc:{{{silver_button|}}}}} | yes |
<tr>
<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;">[[File:YouTube Silver Play Button 2.svg|32px|link=]]</td>
Line 142: Line 142:
<td style="padding: 2px; vertical-align: middle;">{{{silver_year|}}}</td>
<td style="padding: 2px; vertical-align: middle;">{{{silver_year|}}}</td>
</tr>}}
</tr>}}
{{#if:{{Yesno|{{{gold_button|}}}}}|
{{#ifeq: {{lc:{{{gold_button|}}}}}| yes |
<tr>
<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;">[[File:YouTube Gold Play Button 2.svg|32px|link=]]</td>
Line 148: Line 148:
<td style="padding: 2px; vertical-align: middle;">{{{gold_year|}}}</td>
<td style="padding: 2px; vertical-align: middle;">{{{gold_year|}}}</td>
</tr>}}
</tr>}}
{{#if:{{Yesno|{{{diamond_button|}}}}}|
{{#ifeq: {{lc:{{{diamond_button|}}}}}| yes |
<tr>
<tr>
<td style="padding: 2px; vertical-align: middle;">[[File:YouTube Diamond Play Button.svg|32px|link=]]</td>
<td style="padding: 2px; vertical-align: middle;">[[File:YouTube Diamond Play Button.svg|32px|link=]]</td>
Line 154: Line 154:
<td style="padding: 2px; vertical-align: middle;">{{{diamond_year|}}}</td>
<td style="padding: 2px; vertical-align: middle;">{{{diamond_year|}}}</td>
</tr>}}
</tr>}}
{{#if:{{Yesno|{{{ruby_button|}}}}}|
{{#ifeq: {{lc:{{{ruby_button|}}}}}| yes |
<tr>
<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;">[[File:YouTube Ruby Play Button 2.svg|32px|link=]]</td>
Line 160: Line 160:
<td style="padding: 2px; vertical-align: middle;">{{{ruby_year|}}}</td>
<td style="padding: 2px; vertical-align: middle;">{{{ruby_year|}}}</td>
</tr>}}
</tr>}}
{{#if:{{Yesno|{{{red_diamond_button|}}}}}|
{{#ifeq: {{lc:{{{red_diamond_button|}}}}}| yes |
<tr>
<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;">[[File:YouTube Red Diamond Play Button.svg|32px|link=]]</td>

Latest revision as of 21:44, 3 September 2024