User:DoubleYou/testpack/Video: Difference between revisions

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

Revision as of 04:34, 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=left}}

Result:

This is the caption