- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:Ytuservideos: Difference between revisions
Jump to navigation
Jump to search
imported>Hipcrime Protected "Template:Ytuservideos": Template ([edit=sysop] (indefinite) [move=sysop] (indefinite)) |
imported>TabbyGarf 1 revision imported |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <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 | ||
'''Note:''' do not use whitespace immediately before or after vertical bars or curly brackets | |||
==Examples== | |||
=== Examples === | |||
<pre>{{ytuservideos|example}}</pre> | |||
produces:<br /> | produces:<br /> | ||
{{ytuservideos|example}} | {{ytuservideos|example}} | ||
<br /> | <br /> | ||
<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 }}
- profile - the last portion of the URL to a YouTube profile, after profile?user=
- 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