Template:DriveRef: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>@DeletedUser40376198
(I hope this works!)
>Yandere-sliver
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[Mark Rosewater]]. [[Drive to Work]] podcast "[http://media.wizards.com/podcasts/magic/{{urlencode:{{{1}}}|WIKI}} &#35;{{{2}}} - {{{3}}}]"{{#if:{{{4|}}}|, [http://dtwtranscripts.blogspot.com/{{urlencode:{{{4}}}|WIKI}} Transcript]|[[Category:Drive to Work podcasts references without transcript]]}}
<includeonly>{{WebRef
</includeonly><noinclude>
|url=http://media.wizards.com/podcasts/magic/{{urlencode:{{{1}}}|WIKI}}  
|title=&#35;{{{2}}} - {{{3}}}
|author=[[Mark Rosewater]]
|work=[[Drive to Work]]
|date={{{date|}}}
}}{{#if:{{{4|}}}|&#32;[http://dtwtranscripts.blogspot.com/{{urlencode:{{{4}}}|WIKI}} Transcript].}}</includeonly><noinclude>This template calls {{tl|WebRef}}.


==Usage==
==Usage==
Line 12: Line 17:
*<code>{{{2}}}</code>: The number of the episode.
*<code>{{{2}}}</code>: The number of the episode.
*<code>{{{3}}}</code>: The title of the episode, without quotation marks.
*<code>{{{3}}}</code>: The title of the episode, without quotation marks.
*<code>{{{4}}}</code>: The part of the URL following <code><nowiki>http://dtwtranscripts.blogspot.com/</nowiki></code> (e.g. <code>2014/08/8114-episode-145-getting-job-in-r.html</code>).
*<code>{{{4}}}</code>: The part of the URL following <nowiki>http://dtwtranscripts.blogspot.com/</nowiki></code> (e.g. <code>2014/08/8114-episode-145-getting-job-in-r.html</code>).
*<code>{{{date}}}</code>: Date of the podcast.
 


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

Latest revision as of 21:29, 3 May 2019

This template calls {{WebRef}}.

Usage

For referencing episodes of Drive to Work.

{{DriveRef|URL following http://media.wizards.com/podcasts/magic/|episode number|title of podcast|transcript URL following http://dtwtranscripts.blogspot.com/ (if available)}}

Parameters

N.B.: The author field may be left out when none is given on DailyMTG.com. Alternatively, use Wizards of the Coast.

  • {{{1}}}: The part of the URL following http://media.wizards.com/podcasts/magic/ (e.g., DrivetoWorkEp7Alliances.m4a, drivetowork69odyssey1.mp3).
  • {{{2}}}: The number of the episode.
  • {{{3}}}: The title of the episode, without quotation marks.
  • {{{4}}}: The part of the URL following http://dtwtranscripts.blogspot.com/ (e.g. 2014/08/8114-episode-145-getting-job-in-r.html).
  • {{{date}}}: Date of the podcast.