편집
48,199
번
편집 요약 없음 |
편집 요약 없음 |
||
(같은 사용자의 중간 판 72개는 보이지 않습니다) | |||
1번째 줄: | 1번째 줄: | ||
<noinclude> | <noinclude> | ||
항공 관련 | ==사용법== | ||
항공 관련 "인물"의 정보 틀입니다. | |||
===소스 편집 화면=== | |||
다음 형식으로 호출해야 합니다: | 다음 형식으로 호출해야 합니다: | ||
<pre> | <pre> | ||
{{인물 | {{인물 | ||
|출생= | |이미지=파일:img.jpg | ||
|사망= | |설명=블라블라 | ||
|나이= | |직업= | ||
|출생=1904년 3월 5일 | |||
|사망=2021년 3월 5일 | |||
|나이={{나이|1934|3|5|2021|3|5}} | |||
}} | }} | ||
</pre> | </pre> | ||
틀 | ===시각편집기 화면=== | ||
</noinclude><includeonly>{| class=" | 메뉴 '넣기'에서 틀을 불러낸 후 "인물" 입력합니다. | ||
| | ==틀 설명== | ||
</noinclude><includeonly>{| class="people_info mw-collapsible" /* mw-collapsed */ | |||
! style="text-align: center; /* background-color:#ccccff; border-bottom: 1px solid #ddd; */ padding: 0.4em 2em 0.2em;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | |||
|- | |- | ||
| 사망 || {{{사망|}}} | | class="img_box thumbinner" style="text-align: center; padding: 0.4em; box-shadow: unset; border-bottom: 1px solid #ddd;" colspan="2" | {{#if:{{{이미지|}}} | [[{{{이미지|}}}|230px]] }} {{#if: {{{설명|}}} | <div>{{{설명|}}}</div> }} | ||
|- | |||
| style="text-align: center; padding: 0.2em 0.8em; border-bottom: 1px solid #ddd;" colspan="2" | {{{직업|}}} | |||
|- | |||
| class="t-inner-padding" | {{#if: {{{출생|}}} | 출생}} || class="t-inner-padding" | {{#if: {{{출생|}}} | {{{출생|}}} }} {{#if: {{{사망|}}} | | {{#if: {{{출생|}}} | <div style="display: contents;">( {{{나이|}}}세 )</div> }} }} | |||
|- | |||
| class="t-inner-padding" | {{#if: {{{사망|}}} | 사망 }} || class="t-inner-padding" | {{#if: {{{사망|}}} | {{{사망|}}} }} {{#if: {{{사망|}}} | <div style="display: contents;">( {{{나이|}}}세 )</div> | }} | |||
|}</includeonly> | |}</includeonly> | ||
<noinclude> | <noinclude> | ||
22번째 줄: | 32번째 줄: | ||
{ | { | ||
"params": { | "params": { | ||
"이미지": { | |||
"label": "이미지", | |||
"description": "항공위키 업로드 이미지 혹은 인터위키 이미지 파일만 가능", | |||
"example": "파일:img.jpg", | |||
"autovalue": "파일:이미지.jpg", | |||
"type": "line", | |||
"required": true | |||
}, | |||
"직업": { | |||
"label": "직업", | |||
"description": "직업", | |||
"example": "비행사, 경영자 등", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"출생": { | "출생": { | ||
"label": "출생", | "label": "출생", | ||
41번째 줄: | 66번째 줄: | ||
"example": "{{나이|1934|3|5|2021|3|5}}", | "example": "{{나이|1934|3|5|2021|3|5}}", | ||
"type": "string", | "type": "string", | ||
"required": true | |||
}, | |||
"설명": { | |||
"label": "이미지 캡션", | |||
"description": "이미지 설명", | |||
"example": "오른쪽 인물", | |||
"type": "line", | |||
"required": true | "required": true | ||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"이미지", | |||
"설명", | |||
"직업", | |||
"출생", | "출생", | ||
"사망", | "사망", | ||
54번째 줄: | 89번째 줄: | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
__NOTOC__ | |||
[[분류:인물]] |