Jump to content

Template:Boilerplate-Video: Difference between revisions

From SOJI ELECTRONICS
[checked revision][checked revision]
Update template
Update template
Line 22: Line 22:
*# YouTube template (Video ID)
*# YouTube template (Video ID)
* '''Get YouTube Video ID''': from URL <code>youtube.com/watch?v=<u>ABC123XYZ</u></code> or <code>youtu.be/<u>ABC123XYZ</u></code> — copy the 11-character ID only (no <code>?si=</code> or <code>&t=</code>)
* '''Get YouTube Video ID''': from URL <code>youtube.com/watch?v=<u>ABC123XYZ</u></code> or <code>youtu.be/<u>ABC123XYZ</u></code> — copy the 11-character ID only (no <code>?si=</code> or <code>&t=</code>)
* '''Insert YouTube video'''
* Press '''Enter''' to start a new line
* Click toolbar '''Insert''' (with the down arrow ▼) → '''Template'''
* Search box appears → type <code>YouTube</code> → select '''YouTube''' from dropdown
* Form opens with fields:
** '''YouTube Video ID''' ''(required)'' — paste the 11-character video ID from YouTube URL
** '''Width (px)''' — default <code>640</code> (good for most cases). For wider showcase use <code>800</code>, for compact use <code>480</code>
** '''Alignment''' — choose <code>center</code> (default), <code>left</code>, or <code>right</code>
** '''Caption''' ''(optional)'' — short text shown below the video player
* Click '''Insert''' → video preview appears in editor


'''Tips:'''  
'''Tips:'''  

Revision as of 02:38, 20 May 2026

Template:TemplateData

3 mandatory sections (== H2 ==):

  1. Videos
  2. Related Documents
  3. Revision History
SOJI Electronics