편집 요약 없음 |
편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
<noinclude> | <noinclude> | ||
{{#template_params:동영상 (label=유투브 주소(Core Only))|설명 (label=동영상 캡션, 설명)| | {{#template_params:동영상 (label=유투브 주소(Core Only))|설명 (label=동영상 캡션, 설명)|스타일 (label=스타일)}} | ||
</noinclude><includeonly><div class="mov_box thumbinner" {{#if:{{{ | </noinclude><includeonly><div class="mov_box thumbinner" {{#if:{{{스타일|}}} | style="{{{스타일|}}}" }}>{{{동영상|}}} {{#if:{{{동영상|}}} | {{{설명|}}} }}</div></includeonly> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
18번째 줄: | 18번째 줄: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "스타일": { | ||
"label": " | "label": "스타일", | ||
"description": " | "description": "Width 등", | ||
"example": " | "example": "width: 300px; float: right;", | ||
"type": "line", | "type": "line", | ||
"default": "비우면 400px", | |||
"required": true | "required": true | ||
} | } | ||
}, | }, | ||
"description": "유투브 동영상 삽입 틀, 입력 주소는 <youtube>3_dkDYRH</youtube> 형태로", | "description": "유투브 동영상 삽입 틀, 입력 주소는 <youtube>3_dkDYRH</youtube> 형태로", | ||
"format": "block" | "format": "block", | ||
"paramOrder": [ | |||
"동영상", | |||
"설명", | |||
"스타일" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
2021년 6월 30일 (수) 00:16 판
"동영상" 틀입니다.
다음 형식으로 호출해야 합니다:
{{동영상 |동영상= |설명= |스타일= }}
틀 텍스트를 보려면 문서를 편집하세요.
유투브 동영상 삽입 틀, 입력 주소는 <youtube>3_dkDYRH</youtube> 형태로
변수 | 설명 | 형식 | 상태 | |
---|---|---|---|---|
동영상 | 동영상 | 유투브 동영상 주소
| 짧은 문구 | 필수 |
설명 | 설명 | 동영상 캡션, 설명 | 알 수 없음 | 필수 |
스타일 | 스타일 | Width 등
| 짧은 문구 | 필수 |