Template:VideoTutorial: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Created page with "<noinclude> =Template Usage= This template wraps video embed code intended for demonstration and tutorial videos. ==Example Output== {{VideoTutorial |https://www.youtube.com/...")
 
m (Trying to get template to work)
Line 19: Line 19:
=Source=
=Source=
Edit this section to view template source.
Edit this section to view template source.
</noinclude><includeonly><div style="float:right; padding:.5rem; border: 1px solid grey; background: #fafafa" class="video_tutorial">
</noinclude><includeonly><div style="padding:.5rem; border: 1px solid grey; background: #fefefa" class="video_tutorial">
<a href="{{{1}}}" target="_blank"><strong>{{#if: {{{2|}}} | {{{2}}} | Video Tutorial}}</strong></a>
<a href="{{{1}}}" target="_blank"><strong>{{#if: {{{2|Video Tutorial}}} |}}</strong></a>
{{#if: {{{3|}}} | <br><em>{{{3}}}</em> |}}
{{#if: {{{3|}}} | <br><em>{{{3}}}</em> |}}
</div>
</div>
[[Category:Pages with Video Tutorials]]</includeonly>
[[Category:Pages with Video Tutorials]]</includeonly><noinclude>[[Category:Templates]]</noinclude>
<noinclude>[[Category:Templates]]</noinclude>

Revision as of 05:27, 26 June 2021

Template Usage

This template wraps video embed code intended for demonstration and tutorial videos.

Example Output

<a href="{{{1}}}" target="_blank"></a>

Example

{{VideoTutorial
|https://www.youtube.com/watch?v=9rVo2Yj-xcw
|title=Tom Chapman's MapTool Tutorial
|caption=The first video in the series.
}}

Source

Edit this section to view template source.