"틀:물품정보"의 두 판 사이의 차이

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;" | '''{{{DB유형}}}'''
+
</tr>
|-
+
<tr>
| style="width:80px; text-align:left;" |'''한자표기''' || {{{한자|}}}
+
<td colspan="2" style="background:#d0b0b0; color:#ffffff; text-align:center; font-size:120%;"></td>
|-
+
</tr>
| style="width:80px; text-align:left;" |'''영문명칭''' || {{{영문|}}}
+
{{#if:{{{대표명칭|}}} | <tr>
|-
+
<th style="text-align:center; width:20%;">대표명칭</th>
| style="width:80px; text-align:left;" |'''이칭''' || {{{이칭|}}}
+
<td style="text-align:center; width:40%;">{{{대표명칭|}}}</td>
|-
+
</tr> }}
| style="width:80px; text-align:left;" |'''유형''' || {{{유형|}}}
+
{{#if:{{{한자표기|}}} | <tr>
|-
+
<th style="text-align:center; width:20%;">한자표기</th>
| style="width:80px; text-align:left;" |'''시대''' || {{{시대|}}}
+
<td style="text-align:center; width:40%;">{{{한자표기|}}}</td>
|-
+
</tr> }}
| style="width:80px; 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>
 
{{물품정보
 
{{물품정보
|대표명칭 =
+
|사진=
|DB유형 =
+
|사진출처=
|한자 =  
+
|대표명칭=
|영문 =
+
|한자표기=
|이칭 =
+
|영문명칭=
|유형 =
+
|이칭=
|시대 =  
+
|유형=
|용도 =
+
|시대=
|image =
+
|용도=
 +
|관련인물=
 +
|관련단체=
 +
|관련장소=
 +
|관련물품=
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
==예시==
 +
{{물품정보
 +
|사진=
 +
|사진출처=
 +
|대표명칭=
 +
|한자표기=
 +
|영문명칭=
 +
|이칭=
 +
|유형=
 +
|시대=
 +
|용도=
 +
|관련인물=
 +
|관련단체=
 +
|관련장소=
 +
|관련물품=
 +
}}
 +
</noinclude>

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


사용방법

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

예시

()