Template:Youtube/doc: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
BTGamepedia>QuaternionMark
(Created page with "{{doc/start}} ==Syntax== {{t|YT|Code after "<nowiki>watch?v=</nowiki>"|width|position|caption|border}} ==Usage== ;<nowiki>{{YT|CwgkwiE5cDM|335|left|Some song.}}</nowiki> giv...")
 
BTGamepedia>QuaternionMark
No edit summary
Line 9: Line 9:
{{Youtube|CwgkwiE5cDM|335|left|Some song.}}{{Clr}}
{{Youtube|CwgkwiE5cDM|335|left|Some song.}}{{Clr}}


;<nowiki>{{Youtube|CwgkwiE5cDM|335|center|That same song, but with a frame.|frame}}</nowiki> gives...
;<nowiki>{{Youtube|CwgkwiE5cDM|335|right|That same song, but with a frame.|frame}}</nowiki> gives...


{{Youtube|CwgkwiE5cDM|335|center|That same song, but with a frame.|frame}}
{{Youtube|CwgkwiE5cDM|335|right|That same song, but with a frame.|frame}}
{{doc/end}}
{{doc/end}}

Revision as of 05:03, 7 August 2015

Documentation

Syntax

{{YT|<Code after "watch?v=">|<width>|<position>|<caption>|<border>}}

Usage

{{YT|CwgkwiE5cDM|335|left|Some song.}} gives...
Some song.
{{Youtube|CwgkwiE5cDM|335|right|That same song, but with a frame.|frame}} gives...
That same song, but with a frame.

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.