User:DoubleYou/testpack/Video: Difference between revisions

From Step Mods | Change The Game
No edit summary
No edit summary
Line 14: Line 14:
'''Code:'''
'''Code:'''
<pre>
<pre>
{{User:DoubleYou/testpack/Video|j4ZQpzf_iAE|This is the title|This is the caption|embed=true|width=480|align=right}}</pre>
{{User:DoubleYou/testpack/Video|j4ZQpzf_iAE|This is the title|This is the caption|embed=true|width=480|align=center}}</pre>
'''Result:'''<br>
'''Result:'''<br>
{{User:DoubleYou/testpack/Video|j4ZQpzf_iAE|This is the title|This is the caption|embed=true|width=480|align=right}}
{{User:DoubleYou/testpack/Video|j4ZQpzf_iAE|This is the title|This is the caption|embed=true|width=480|align=center}}
</noinclude>
</noinclude>

Revision as of 04:36, August 22, 2014

Usage Examples

This template displays a Youtube video link using the Highslide plugin.
parameter 1 is the Youtube id
parameter 2 is the title
parameter 3 is the caption
Code:

{{User:DoubleYou/testpack/Video|j4ZQpzf_iAE|This is the title|This is the caption}}

Result:

This is the title

This is the caption


Code:

{{User:DoubleYou/testpack/Video|j4ZQpzf_iAE|This is the title|This is the caption|embed=true|width=480|align=center}}

Result:

This is the caption