"틀:사건정보"의 두 판 사이의 차이

Encyves Wiki
이동: 둘러보기, 검색
1번째 줄: 1번째 줄:
<onlyinclude>
+
<includeonly>
{|class="metadata" style="background:#f2f2f2; width:400px; margin: 3px 3px 3px 3px;" cellspacing="10" align="right"  
+
<table class="Info" style="width:400px; font-size:90%; border:1px dotted #cccccc; margin: 0px 2px 15px 15px;" cellspacing="10" align="right">
|-
+
<tr>
! colspan="2" style="background:#800000; color:#ffffff; font-size:150%; text-align:center;" | '''민족기록화'''
+
<td colspan="2" style="background:#d0b0b0; color:#ffffff; text-align:center; font-size:120%;"><b>{{{대표명칭|}}}({{{한자표기|}}})</b></td>
|-
+
</tr>
| colspan="2" style="text-align:center;" | [[파일:{{{image|}}}|380px]]
+
<tr>
|-
+
<td colspan="2"> {{#if:{{{사진}}} | [[file:{{{사진|}}}|270px|thumb|center|{{{사진출처|}}}]] }}</td>
! colspan="2" style="background:#008080; color:#ffffff; font-size:100%; text-align:center;" | '''{{{대표명칭}}}'''
+
</tr>
|-
+
<tr>
| style="width:100px; text-align:left;" |'''이칭별칭''' || {{{이칭별칭|}}}
+
<td colspan="2" style="background:#d0b0b0; color:#ffffff; text-align:center; font-size:120%;"></td>
|-
+
</tr>
| style="width:100px; text-align:left;" |'''시대''' || {{{시대|}}}
+
{{#if:{{{대표명칭|}}} | <tr>
|-
+
<th style="text-align:center; width:20%;">대표명칭</th>
| style="width:100px; text-align:left;" |'''성격''' || {{{성격|}}}
+
<td style="text-align:center; width:40%;">{{{대표명칭|}}}</td>
|-
+
</tr> }}
| style="width:100px; text-align:left;" |'''날짜''' || {{{날짜|}}}
+
{{#if:{{{한자표기|}}} | <tr>
|-
+
<th style="text-align:center; width:20%;">한자표기</th>
| style="width:100px; text-align:left;" |'''관련장소''' || {{{관련장소|}}}
+
<td style="text-align:center; width:40%;">{{{한자표기|}}}</td>
|-
+
</tr> }}
| style="width:100px; text-align:left;" |'''관련인물·단체''' || {{{관련인물·단체|}}}
+
{{#if:{{{영문명칭|}}} | <tr>
|}
+
<th style="text-align:center; width:20%;">영문명칭</th>
</onlyinclude>
+
<td style="text-align:center; width:40%;">{{{영문명칭|}}}</td>
 +
</tr> }}
 +
{{#if:{{{이칭|}}} | <tr>
 +
<th style="text-align:center; width:20%;">이칭</th>
 +
<td style="text-align:center; width:40%;">{{{이칭|}}}</td>
 +
</tr> }}
 +
{{#if:{{{유형|}}} | <tr>
 +
<th style="text-align:center; width:20%;">유형</th>
 +
<td style="text-align:center; width:40%;">{{{유형|}}}</td>
 +
</tr> }}
 +
{{#if:{{{시대|}}} | <tr>
 +
<th style="text-align:center; width:20%;">시대</th>
 +
<td style="text-align:center; width:40%;">{{{시대|}}}</td>
 +
</tr> }}
 +
{{#if:{{{날짜|}}} | <tr>
 +
<th style="text-align:center; width:20%;">날짜</th>
 +
<td style="text-align:center; width:40%;">{{{날짜|}}}</td>
 +
</tr> }}
 +
{{#if:{{{관련인물|}}} | <tr>
 +
<th style="text-align:center; width:20%;">관련인물</th>
 +
<td style="text-align:center; width:40%;">{{{관련인물|}}}</td>
 +
</tr> }}
 +
{{#if:{{{관련단체|}}} | <tr>
 +
<th style="text-align:center; width:20%;">관련단체</th>
 +
<td style="text-align:center; width:40%;">{{{관련단체|}}}</td>
 +
</tr> }}
 +
{{#if:{{{관련장소|}}} | <tr>
 +
<th style="text-align:center; width:20%;">관련장소</th>
 +
<td style="text-align:center; width:40%;">{{{관련장소|}}}</td>
 +
</tr> }}
 +
{{#if:{{{관련물품|}}} | <tr>
 +
<th style="text-align:center; width:20%;">관련물품</th>
 +
<td style="text-align:center; width:40%;">{{{관련물품|}}}</td>
 +
</tr> }}
 +
{{#if:{{{관련유물유적|}}} | <tr>
 +
<th style="text-align:center; width:20%;">관련유물유적</th>
 +
<td style="text-align:center; width:40%;">{{{관련유물유적|}}}</td>
 +
</tr> }}
 +
</table>
 +
</includeonly>
  
===사용방법===
+
<noinclude>
 +
==사용방법==
 
<pre style="width:500px">
 
<pre style="width:500px">
 
{{사건정보
 
{{사건정보
|대표명칭 =
+
|사진=
|이칭별칭 =
+
|사진출처=
|시대 =  
+
|대표명칭=
|성격 =  
+
|한자표기=
|날짜 =
+
|영문명칭=
|관련장소 =
+
|이칭=
|관련인물·단체 =
+
|유형=
|image =
+
|시대=
 +
|날짜=
 +
|관련인물=
 +
|관련단체=
 +
|관련장소=
 +
|관련물품=
 +
|관련유물유적=
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
==예시==
 +
{{사건정보
 +
|사진=
 +
|사진출처=
 +
|대표명칭=
 +
|한자표기=
 +
|영문명칭=
 +
|이칭=
 +
|유형=
 +
|시대=
 +
|날짜=
 +
|관련인물=
 +
|관련단체=
 +
|관련장소=
 +
|관련물품=
 +
|관련유물유적=
 +
}}
 +
</noinclude>

2017년 7월 24일 (월) 14:32 판


사용방법

{{사건정보
|사진=
|사진출처=
|대표명칭=
|한자표기=
|영문명칭=
|이칭=
|유형=
|시대=
|날짜=
|관련인물=
|관련단체=
|관련장소=
|관련물품=
|관련유물유적=
}}

예시

()