Template:VideoTutorial: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (→‎Template Usage: Add link to sandbox.)
No edit summary
Tag: Reverted
Line 5: Line 5:
==Example Output==
==Example Output==
<div style="display: inline-block;padding: 0;border: 1px solid silver;background: #fdfdfd; background-position: left center;background-size: 4rem;background-repeat: no-repeat" class="video_tutorial">
<div style="display: inline-block;padding: 0;border: 1px solid silver;background: #fdfdfd; background-position: left center;background-size: 4rem;background-repeat: no-repeat" class="video_tutorial">
<div style="float:left">[[File:clapperboard.png|48px]]</div>
<div style="float:left">[[File:Clapperboard.png|48px]]</div>
<div style="float:right; padding:.5rem; .75rem .5rem 0;"><strong>[https://www.youtube.com/watch?v=9rVo2Yj-xcw Tom Chapman's first MapTool tutorial]</strong><br><em>The most watched tutorial series for MapTool.</em>
<div style="float:right; padding:.5rem; .75rem .5rem 0;"><strong>[https://www.youtube.com/watch?v=9rVo2Yj-xcw Tom Chapman's first MapTool tutorial]</strong><br><em>The most watched tutorial series for MapTool.</em>
</div>
</div>

Revision as of 02:28, 15 February 2023

Template Usage

This template wraps a YouTube video slug into a link/callout box intended for demonstration and tutorial videos. To test out this template there is a VideoTutorial sandbox page.

Example Output

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

Example

{{VideoTutorial
|9rVo2Yj-xcw
|Tom Chapman's MapTool Tutorial
|The first video in the series.
}}

Source

Edit this section to view template source.