Template:Ytuservideos: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>Hipcrime
Protected "Template:Ytuservideos": Template ([edit=sysop] (indefinite) [move=sysop] (indefinite))
imported>TabbyGarf
1 revision imported
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>'''<span class="plainlinks" style="white-space:nowrap;">[[File:Youtube-favicon.png|link=http://www.youtube.com/user/{{{1}}}/videos]] [http://www.youtube.com/user/{{{1}}}/videos {{{2|{{{1}}}}}}]</span>'''</includeonly><noinclude>
<includeonly><span class="plainlinks" style="white-space:nowrap;">[[File:YouTube Favicon.png|link=http://www.youtube.com/user/{{{1}}}/videos]] [http://www.youtube.com/user/{{{1}}}/videos '''{{{2|{{{1}}}}}}''']</span></includeonly><noinclude>
== Usage ==
 
Indicates a link to a [[YouTube]] profile's videos.
Indicates a link to a [[YouTube]] profile's videos.
==Syntax==
 
=== Syntax ===
 
  '''<nowiki>{{ ytuservideos | profile | description }}</nowiki>'''
  '''<nowiki>{{ ytuservideos | profile | description }}</nowiki>'''
# '''profile''' - the last portion of the URL to a YouTube profile, after ''profile?user=''
# '''profile''' - the last portion of the URL to a YouTube profile, after ''profile?user=''
# '''description''' (''optional'') - replaces the profile name with your text
# '''description''' (''optional'') - replaces the profile name with your text
<br />
 
'''''Note''''': remember to remove all whitespaces (except for the ones in description) and put everything in one long line, otherwise it might get broken.
'''Note:''' do not use whitespace immediately before or after vertical bars or curly brackets
==Examples==
<nowiki>{{ytuservideos|example}}</nowiki>
=== Examples ===
 
<pre>{{ytuservideos|example}}</pre>
produces:<br />
produces:<br />
{{ytuservideos|example}}
{{ytuservideos|example}}
<br />
<br />
<nowiki>{{ytuservideos|example2|Some random faggot}}</nowiki>
<pre>{{ytuservideos|example2|Some random faggot}}</pre>
produces:<br />
produces:<br />
{{ytuservideos|example2|Some random faggot}}
{{ytuservideos|example2|Some random faggot}}


[[Category:Link Templates|{{PAGENAME}}]]</noinclude>
[[Category:Link Templates|{{PAGENAME}}]]
[[Category:Templates/rarely used|{{PAGENAME}}]]</noinclude>

Latest revision as of 13:43, 25 March 2021

Usage

Indicates a link to a YouTube profile's videos.

Syntax

{{ ytuservideos | profile | description }}
  1. profile - the last portion of the URL to a YouTube profile, after profile?user=
  2. description (optional) - replaces the profile name with your text

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

Examples

{{ytuservideos|example}}

produces:
example

{{ytuservideos|example2|Some random faggot}}

produces:
Some random faggot