"模板:Youtube" 修訂間的差異

出自 淡水維基館
前往: 導覽搜尋
(取消由RRV對話)所作出的修訂 19714)
(未顯示由 2 位使用者於中間所作的 4 次修訂)
行 1: 行 1:
<div class="thumb t{{{3}}}">
+
<div class="thumb t{{{3}}}" style="margin:0px auto;">
 
<div class="thumbinner" style="width:{{{2}}}px;">
 
<div class="thumbinner" style="width:{{{2}}}px;">
 
{{#ev:youtube|{{{1}}}|{{{2|100}}}}}
 
{{#ev:youtube|{{{1}}}|{{{2|100}}}}}

於 2017年5月6日 (六) 14:57 的修訂

EmbedVideo received the bad id "{{{1}}}" for the service "youtube".
  • 影片描述:{{{4}}}
  • 影片來源:YouTube網站

變數1:影片代碼。變數2:寬度。變數3:位置(left,center,right)。變數4:說明。->語法:{{Youtube|代碼|寬度|位置|說明}}