새 문서: <noinclude> 이 문서는 틀:유튜브에 대한 설명입니다. 아래는 예시입니다. <nowiki>{{유튜브 | 유튜브 = https://www.youtube.com/watch?v=N8nGig78lNs | 위설명 = 위쪽에 표시할 설명 | 아래설명 = 아래쪽에 표시할 설명 | 컬러1 = #F5F5F5 | 컬러2 = #333 | 배경색 = #FFFFFF }}</nowiki> </noinclude> <includeonly> <table class="wikitable" style="margin: 0 auto; text-align: center; width: fit-content; border: 1px solid #ddd;">...
 
편집 요약 없음
1번째 줄: 1번째 줄:
<noinclude>
<noinclude>
이 문서는 틀:유튜브에 대한 설명입니다.  아래는 예시입니다.
이 문서는 틀:유튜브에 대한 설명입니다.  아래는 예시입니다.
12번째 줄: 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:0; text-align:center;">
             <div style="overflow-x: auto; white-space: nowrap; display: flex; justify-content: flex-start; align-items: center;">
             <div style="overflow-x:auto; white-space:nowrap; display:flex; justify-content:flex-start; align-items:center;">
                 <youtube>{{{유튜브}}}</youtube>
                 {{#tag:youtube|{{{유튜브}}}}}
             </div>
             </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>
38번째 줄: 37번째 줄:
     }}
     }}
</table>
</table>
<div style="clear: both;"></div>
</includeonly>
</includeonly>

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


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

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