Template:RelatedVideos: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly><div style="margin:1em 0 0 1em; border:dashed #6B6161; border-width:.3em 0;"><span style="position:absolute; margin:.4em 0 0;">[[File:Video play triangle.png]]</span><div style="margin:0 0 0 3em; padding:.7em 0 0;"><span style="font-size:120%;">'''Related Videos:'''</span><div style="margin:0 0 0 -1.5em;">{{{1}}}</div></div></div></includeonly><noinclude>__NOTOC__ [[Category:Formatting Templates]]
<includeonly>{| class="neutbd wikitable"
! [[File:Video play triangle.png]] !! style="text-align:left;" | Related Video(s): <span>{{{1}}}</span>
|}</includeonly><noinclude>__NOTOC__ [[Category:Formatting Templates]]


== Purpose & Usage ==
== Purpose & Usage ==
Use this in combination with the [https://wiki.step-project.com/Template:Video Video template] to show a list of Related Videos. Note that bullets should be used to separate line by line. Otherwise the results will be side by side, which may also be desirable.
Use this in combination with the [https://stepmodifications.org/wikidev/Template:Video Video template] to show a list of Related Videos. Note that bullets should be used to separate line by line. Otherwise the results will be side by side, which may also be desirable.


==Examples==
==Examples==
Line 8: Line 10:
'''Code:'''
'''Code:'''
<pre>{{RelatedVideos|
<pre>{{RelatedVideos|
*{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
*{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
*{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
}}</pre>
}}</pre>
Line 13: Line 16:
'''Result:'''
'''Result:'''
{{RelatedVideos|
{{RelatedVideos|
*{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
*{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
*{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
}}
}}
'''Code:'''
<pre>{{RelatedVideos|
:{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
:*{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
:{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
:#{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
:#{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
}}</pre>
'''Result:'''
{{RelatedVideos|
:{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
:*{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
:{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
:#{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
:#{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
}}
'''Code:'''
<pre>{{RelatedVideos|{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}&amp;nbsp;&amp;nbsp;&amp;nbsp;{{!}}&amp;nbsp;&amp;nbsp;&amp;nbsp;{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}&amp;nbsp;&amp;nbsp;&amp;nbsp;{{!}}&amp;nbsp;&amp;nbsp;&amp;nbsp;{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}}}</pre>
'''Result:'''
{{RelatedVideos|{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}&nbsp;&nbsp;&nbsp;{{!}}&nbsp;&nbsp;&nbsp;{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}&nbsp;&nbsp;&nbsp;{{!}}&nbsp;&nbsp;&nbsp;{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}}}


==See Also==
==See Also==

Revision as of 01:18, January 17, 2021


Purpose & Usage[edit source]

Use this in combination with the Video template to show a list of Related Videos. Note that bullets should be used to separate line by line. Otherwise the results will be side by side, which may also be desirable.

Examples[edit source]

Code:

{{RelatedVideos|
*{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
*{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}
}}

Result:

Video play triangle.png Related Video(s):

See Also[edit source]

Template:Video