VideoTutorial: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Basic template for video tutorials.)
 
m (Taustin moved page videoTutorial to VideoTutorial without leaving a redirect)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
==Example VideoTutorial Template Output==
=Template Usage=
This is a sandbox page for execution of [[Template:VideoTutorial]] and related experiments.
This template wraps video embed code intended for demonstration and tutorial videos.


==Example Output==
===Template Use===
<iframe width="560" height="315" src="https://www.youtube.com/embed/9rVo2Yj-xcw" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<code><nowiki>{{VideoTutorial | 9rVo2Yj-xcw | Tom Chapman's first MapTool tutorial | The most watched tutorial series for MapTool.}}</nowiki></code>
===Result===
{{VideoTutorial|9rVo2Yj-xcw|Tom Chapman's first MapTool tutorial|The most watched tutorial series for MapTool.}}


==Example==
[[Category:Sandbox]]
<pre>{{VideoTutorial
|title=Tom Chapman's MapTool Tutorial
|URL=https://www.youtube.com/watch?v=9rVo2Yj-xcw
|embed=<iframe width="560" height="315" src="https://www.youtube.com/embed/9rVo2Yj-xcw" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|caption=The first video in the series.
</pre>
 
=Source=
Edit this section to view template source.
</noinclude><includeonly><div class="video_tutorial">
{{#if: {{{title|}}} | {{{title}}} |}}
{{{embed}}}
{{#if: {{{caption|}}} | {{{caption}}} |}}
</div>
[[Category:Pages with Video Tutorials]]</includeonly>
<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 23:59, 10 May 2023

Example VideoTutorial Template Output

This is a sandbox page for execution of Template:VideoTutorial and related experiments.

Template Use

{{VideoTutorial | 9rVo2Yj-xcw | Tom Chapman's first MapTool tutorial | The most watched tutorial series for MapTool.}}

Result

Tom Chapman's first MapTool tutorial
The most watched tutorial series for MapTool.