Template:YouTubeRef: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
mNo edit summary
>Hunterofsalvation
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{WebRef
<includeonly>{{WebRef
|author={{{channel|}}}
|work={{{channel|}}}
|publisher=Youtube
|author={{{creator|}}}
|publisher=YouTube
|format=Video
|date={{{date|}}}
|date={{{date|}}}
|title={{{2}}}
|title={{{2}}}
|url=https://www.youtube.com/watch?v={{urlencode:{{{1}}}|WIKI}}
|url=https://www.youtube.com/watch?v={{urlencode:{{{1}}}|WIKI}}
|accessdate={{{accessdate|}}}
}}</includeonly><noinclude>This template calls {{tl|WebRef}}.
}}</includeonly><noinclude>This template calls {{tl|WebRef}}.


==Usage==
==Usage==
For all posts, threads, or other content on Tumblr.com.
For all content on YouTube.


:<code><nowiki>{{YouTubeRef|Zn_0ZjpjntE|Magic: The Gathering – War of the Spark Official Teaser|channel=Magic: The Gathering|date=February 15, 2019}}</nowiki></code>
:<code><nowiki>{{YouTubeRef|Zn_0ZjpjntE|Magic: The Gathering – War of the Spark Official Teaser|channel=Magic: The Gathering|date=February 15, 2019}}</nowiki></code>
Line 16: Line 19:
*<code>{{{2}}}</code>: The title of the video
*<code>{{{2}}}</code>: The title of the video
*<code>{{{channel}}}</code>: The Youtube channel
*<code>{{{channel}}}</code>: The Youtube channel
*<code>{{{creator}}}</code>: Name of the creator
*<code>{{{date}}}</code>: The date of creation
*<code>{{{date}}}</code>: The date of creation


[[Category:Referencing templates]]
[[Category:Referencing templates]]
</noinclude>
</noinclude>

Latest revision as of 05:43, 10 April 2019

This template calls {{WebRef}}.

Usage

For all content on YouTube.

{{YouTubeRef|Zn_0ZjpjntE|Magic: The Gathering – War of the Spark Official Teaser|channel=Magic: The Gathering|date=February 15, 2019}}

Parameters

  • {{{1}}}: The url extension of the video, i.e. Zn_0ZjpjntE
  • {{{2}}}: The title of the video
  • {{{channel}}}: The Youtube channel
  • {{{creator}}}: Name of the creator
  • {{{date}}}: The date of creation