Template:RelatedVideos: Difference between revisions
From Step Mods | Change The Game
No 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 | <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-left:-1.5em;">{{{1}}}</div></div></div></includeonly><noinclude>__NOTOC__ | ||
== Purpose & Usage == | == Purpose & Usage == | ||
Line 5: | Line 5: | ||
==Examples== | ==Examples== | ||
'''Code:''' | |||
<pre>{{RelatedVideos| | |||
*{{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}} | |||
}} | |||
'''Code:''' | '''Code:''' | ||
<pre>{{RelatedVideos| | <pre>{{RelatedVideos| |
Revision as of 14:08, May 7, 2015
Purpose & Usage
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
Code:
{{RelatedVideos| *{{Video|j4ZQpzf_iAE|This is the title|This is the caption}} }}
Result:
Code:
{{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}} }}
Result:
Code:
{{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}}}}
Result:
See Also