편집 요약 없음
편집 요약 없음
13번째 줄: 13번째 줄:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<table class="wikitable" style="margin:0 auto; text-align:center; width:fit-content; border:1px solid #ddd;">
<table class="wikitable" style="margin: 0 auto; text-align: center; width: fit-content; border: 1px solid #ddd;">
     {{#if:{{{위설명|}}}|
     {{#if: {{{위설명|}}} |
     <tr>
     <tr>
         <td style="background-color:{{{컬러1|#ffffff}}}; color:{{{컬러2|#000000}}}; padding:5px;">
         <td style="background-color: {{{컬러1|#ffffff}}}; color: {{{컬러2|#000000}}}; padding: 5px;">
             {{{위설명}}}
             {{{위설명}}}
         </td>
         </td>
     </tr>
     </tr>
     }}
     }}
     <!-- #tag 함수를 이용해 <youtube> 태그를 생성 -->
     <!-- 유튜브 영상 삽입 -->
     <tr>
     <tr>
         <td style="background-color:{{{배경색|#ffffff}}}; padding:0; text-align:center;">
         <td style="background-color: {{{배경색|#ffffff}}}; padding: 5px; text-align: center;">
             <div style="overflow-x:auto; white-space:nowrap; display:flex; justify-content:flex-start; align-items:center;">
             {{#tag:youtube|{{{유튜브}}}}}
                {{#tag:youtube|{{{유튜브}}}}}
            </div>
         </td>
         </td>
     </tr>
     </tr>
     {{#if:{{{아래설명|}}}|
     {{#if: {{{아래설명|}}} |
     <tr>
     <tr>
         <td style="background-color:{{{컬러1|#ffffff}}}; color:{{{컬러2|#000000}}}; padding:5px;">
         <td style="background-color: {{{컬러1|#ffffff}}}; color: {{{컬러2|#000000}}}; padding: 5px;">
             {{{아래설명}}}
             {{{아래설명}}}
         </td>
         </td>
37번째 줄: 35번째 줄:
     }}
     }}
</table>
</table>
<div style="clear: both;"></div>
</includeonly>
</includeonly>

2025년 3월 6일 (목) 06:17 판


이 문서는 틀:유튜브에 대한 설명입니다. 아래는 예시입니다.

{{유튜브
 | 유튜브 = https://www.youtube.com/watch?v=N8nGig78lNs
 | 위설명 = 위쪽에 표시할 설명
 | 아래설명 = 아래쪽에 표시할 설명
 | 컬러1 = #F5F5F5
 | 컬러2 = #333
 | 배경색 = #FFFFFF
}}