Difference between revisions of "User talk:Charles"
Line 34: | Line 34: | ||
<nowiki><div style="float: left;padding: 10px; ">{{#widget:YouTube|id=7qZanIByNhE|This is just any random text|}}</div></nowiki> | <nowiki><div style="float: left;padding: 10px; ">{{#widget:YouTube|id=7qZanIByNhE|This is just any random text|}}</div></nowiki> | ||
+ | |||
+ | {{-}} | ||
+ | |||
+ | '''Use these codes to create empty space breaks between page elements''' | ||
+ | |||
+ | '''Templates''' | ||
+ | <nowiki> | ||
+ | |||
+ | {{break}} adds multiple line breaks. | ||
+ | |||
+ | {{crlf2}} adds a true carriage return and line feed. | ||
+ | |||
+ | {{-}} adds a break with styling to clear floating elements. | ||
+ | |||
+ | {{plainlist}} creates an unbulleted list. | ||
+ | |||
+ | |||
+ | </nowiki> |
Revision as of 03:20, 30 October 2013
10/28/13 -- Embed Video extensions seems to be broken. Links to pages with embedded videos are getting a redirect error message. Working on reinstalling the updated version of this extension.
Turned off EmbedVideo extension. Apparently it doesn't work in MediaWiki 1.21.2 — Looking for an alternative extension.
--Charles (talk) 19:08, 29 October 2013 (PDT) Found YouTube Widget Page. Tested on http://eagle-rock.org/index.php/Traditional_Chinese_Qigong_exercises#Qigong_walks
YouTube Code
Use this to place video, full size flush left
{{#widget:YouTube|id=7qZanIByNhE}}
Use this to place video flush right and change size
<div style="float: right;">{{#widget:YouTube|height=200|width=300|id=7qZanIByNhE|This is just any random text}}</div>
Note: It's possible to stack videos horizontally by placing codes next to each other. Note: It's possible to stack videos horizontally by placing codes next to each other.Note: It's possible to stack videos horizontally by placing codes next to each other.Note: It's possible to stack videos horizontally by placing codes next to each other.Note: It's possible to stack videos horizontally by placing codes next to each other.Note: It's possible to stack videos horizontally by placing codes next to each other.Note: It's possible to stack videos horizontally by placing codes next to each other.Note: It's possible to stack videos horizontally by placing codes next to each other.Note: It's possible to stack videos horizontally by placing codes next to each other.Note: It's possible to stack videos horizontally by placing codes next to each other.Note: It's possible to stack videos horizontally by placing codes next to each other.
--Charles (talk) 19:21, 29 October 2013 (PDT)
This code will place full size video flush left with text on the right adding a l0px spacing
<div style="float: left;padding: 10px; ">{{#widget:YouTube|id=7qZanIByNhE|This is just any random text|}}</div>
Use these codes to create empty space breaks between page elements
Templates {{break}} adds multiple line breaks. {{crlf2}} adds a true carriage return and line feed. {{-}} adds a break with styling to clear floating elements. {{plainlist}} creates an unbulleted list.