Template:User YouTube Account: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Reverted edits by Politoed666 (Talk) to last version by Chocolate)
m (Protected "Template:User YouTube Account" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="userboxitem" style="border: 1px solid #000000;" cellspacing="0" cellpadding="0"
{| class="userboxitem" style="border: 1px solid #000000; background: #FF0000;{{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" cellspacing="0" cellpadding="0"
! style="background: #FFFFFF;" |'''You<br><span style="color:white;background-color:#f00;border:1px solid #d00; padding:1px 2px;margin-left:1px;">Tube</span>
! style="background: #FFFFFF; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" |[[Image:YouTube logo.png‎‎‎|60px]]
| style="background: #FF0000; color: #FFFFFF;" | This user has a '''[[wp:YouTube|<span style="color: #FFFFFF;">YouTube</span>]]''' account.
| style=" color: #FFFFFF;" | This user has a '''[[wp:YouTube|<span style="color: #FFFFFF;">YouTube</span>]]''' {{#if: {{{2|}}}|channel under the name <span class="plainlinks">'''[http://youtube.com/channel/{{{2|}}} {{color|FFF|{{{1|}}}}}]'''</span>|{{#if: {{{1|}}}|channel under the username <span class="plainlinks">'''[http://youtube.com/user/{{{1|}}} {{color|FFF|{{{1|}}}}}]'''</span>|account}}}}.
|}
|}
<noinclude>[[Category:other tags]]</noinclude>
<noinclude>
{{-}}
 
==Usage==
To use this template:
 
1) If you have a YouTube account but do not want to share your username or channel URL there, simply paste the following code into your userpage:
<pre><nowiki>{{User YouTube Account}}</nowiki></pre>
 
2) If you have your own YouTube channel with an old-style URL of the form
<pre>http://youtube.com/user/your_username</pre>
and want to share it so others can subscribe to it, then paste the following code:
<pre><nowiki>{{User YouTube Account|write your YouTube username here}}</nowiki></pre>
 
3) If, on the other hand, you created your YouTube account sometime after 2009 and got instead a new-style channel URL of the form
<pre>http://youtube.com/channel/a_24-character-long_alphanumeric_hash_code</pre>
then paste the following code instead:
<pre><nowiki>{{User YouTube Account|your full username|your YouTube channel's alphanum hashcode}}</nowiki></pre>
 
==Example==
If your YouTube channel has the following old-style URL:
<pre>[http://youtube.com/user/Pokemon]</pre>
then your username is '''Pokemon'''; copy it and paste it into your template:
<pre><nowiki>{{User YouTube Account|Pokemon}}</nowiki></pre>
resulting in the following usertag:
{{User YouTube Account|Pokemon}}
 
If, on the other hand, your YouTube channel has the following new-style URL:
<pre>[http://youtube.com/channel/UCFctpiB_Hnlk3ejWfHqSm6Q]</pre>
then your alphanumeric hash code is '''UCFctpiB_Hnlk3ejWfHqSm6Q'''; copy it and paste it into your template:
<pre><nowiki>{{User YouTube Account|The Official Pokémon YouTube channel|UCFctpiB_Hnlk3ejWfHqSm6Q}}</nowiki></pre>
resulting in the following usertag:
{{User YouTube Account|The Official Pokémon YouTube channel|UCFctpiB_Hnlk3ejWfHqSm6Q}}
 
[[Category:Other tags]]</noinclude>
<includeonly>[[Category:YouTube users|{{BASEPAGENAME}}]]</includeonly>

Latest revision as of 05:31, 18 November 2018

YouTube logo.png This user has a YouTube account.


Usage

To use this template:

1) If you have a YouTube account but do not want to share your username or channel URL there, simply paste the following code into your userpage:

{{User YouTube Account}}

2) If you have your own YouTube channel with an old-style URL of the form

http://youtube.com/user/your_username

and want to share it so others can subscribe to it, then paste the following code:

{{User YouTube Account|write your YouTube username here}}

3) If, on the other hand, you created your YouTube account sometime after 2009 and got instead a new-style channel URL of the form

http://youtube.com/channel/a_24-character-long_alphanumeric_hash_code

then paste the following code instead:

{{User YouTube Account|your full username|your YouTube channel's alphanum hashcode}}

Example

If your YouTube channel has the following old-style URL:

[http://youtube.com/user/Pokemon]

then your username is Pokemon; copy it and paste it into your template:

{{User YouTube Account|Pokemon}}

resulting in the following usertag:

YouTube logo.png This user has a YouTube channel under the username Pokemon.

If, on the other hand, your YouTube channel has the following new-style URL:

[http://youtube.com/channel/UCFctpiB_Hnlk3ejWfHqSm6Q]

then your alphanumeric hash code is UCFctpiB_Hnlk3ejWfHqSm6Q; copy it and paste it into your template:

{{User YouTube Account|The Official Pokémon YouTube channel|UCFctpiB_Hnlk3ejWfHqSm6Q}}

resulting in the following usertag:

YouTube logo.png This user has a YouTube channel under the name The Official Pokémon YouTube channel.