Registration has been disabled and the moderation extension has been turned off.
Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Template:Yt/doc: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>TabbyGarf
No edit summary
imported>TabbyGarf
No edit summary
Line 1: Line 1:
== Usage ==
== Usage ==
 
This is a template to link to YouTube Channels. The template has been future-proofed in the case of YouTube making yet another url format
  <pre>{{yt| type | id | description }}</pre>
  <pre>{{yt| type | id | description }}</pre>
# '''type''' - the portion in the url in between slashes, can be '''user (u)''', '''channel (ch)''', '''@''', '''custom (c) (for vanity urls)''' or the user id itself!
# '''type''' - the portion in the url in between slashes, can be '''user (u)''', '''channel (ch)''', '''@''', '''custom (c) (for vanity urls)''' or the user id itself!
# '''id''' - the last portion of the URL to a YouTube profile, after ''user/'', '''channel''', '''@''' or '''youtube.com/''' and youtube.com/c/ in case of custom URLs .
# '''id''' - the last portion of the URL to a YouTube profile, after ''user/'', '''channel''', '''@''' or '''youtube.com/''' and '''youtube.com/c/''' in case of custom URLs .
# '''description''' (''optional'') - replaces the profile name with your text
# '''description''' (''optional'') - replaces the profile name with your text



Revision as of 00:52, 10 January 2023

Usage

This is a template to link to YouTube Channels. The template has been future-proofed in the case of YouTube making yet another url format

{{yt| type | id | description }}
  1. type - the portion in the url in between slashes, can be user (u), channel (ch), @, custom (c) (for vanity urls) or the user id itself!
  2. id - the last portion of the URL to a YouTube profile, after user/, channel, @ or youtube.com/ and youtube.com/c/ in case of custom URLs .
  3. description (optional) - replaces the profile name with your text

Note: do not use whitespace immediately before or after vertical bars or curly brackets

User

{{yt|id|description}}
{{yt|u|id|description}}
{{yt|user|id|description}}
{{yt|id|description}}
{{ytuser|id|description}}

produces:

Channel

{{yt|ch|id|description}}
{{yt|channel|id|description}}
{{ytchannel|id|description}}

produces:


Handles (@)

{{yt|@|id|description}}
{{yt|custom|@id|description}}
{{yt|c|@id|description}}
{{ytc|@id|description}}

produces:


Custom URLs

{{yt|custom|customurl|description}}
{{yt|c|customurl|description}}
{{ytc|customurl|description}}

produces: