Template:RelatedVideos: Difference between revisions

From Step Mods | Change The Game
No edit summary
mNo edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="margin:1em; border:dashed #6B6161; border-width:0.3em 0;"><span style="position:absolute; margin-top:0.4em;">[[File:Video play triangle.png]]</span><div style="margin-left:3em; padding-top:0.7em;">'''{{Fs|120%|Related Videos:}}''' <div style="margin-left:-1.5em;">{{{1}}}</div></div></div></includeonly><noinclude>
<includeonly><div class="media blockquote p-0 m-3"><div class="align-self-center pl-3 mr-3">
[[File:Video play triangle.png]]</div><div class="media-body align-self-center pt-3">Related Video(s): <span style=font-size:1rem>{{{1}}}</span>
</div></div></includeonly><noinclude>__NOTOC__ [[Category:Formatting Templates]][[Category:Layout Templates]][https://stepmodifications.org/forum/topic/5737-videos-related-videos/ '''Forum Topic''']


== Purpose & Usage ==
== Purpose & Usage ==
Use this in combination with the [http://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==
'''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}}
*{{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>
}}</pre>


'''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}}
*{{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==
[[Template:Video]]
[[:Template:Video]]


</noinclude>
</noinclude>
__NOTOC__

Latest revision as of 17:25, September 17, 2021

Forum Topic

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