"틀:문화유산정보"의 두 판 사이의 차이

HeritageWiki
이동: 둘러보기, 검색
1번째 줄: 1번째 줄:
 
<includeonly>
 
<includeonly>
<table class="Info" style="width:100%; font-size:100%; border:1px dotted #cccccc; margin: 2px 2px 2px 2px;" cellspacing="10">
+
<table class="Info" style="width:300px; font-size:90%; border:1px dotted #cccccc; margin: 0px 2px 15px 15px;" cellspacing="10" align="right">
 +
<tr>
 +
<td colspan="2" style="background:#4A7C99; color:#ffffff; text-align:center; font-size:120%;"><b>{{{대표명칭|}}}<br/>({{{한자|}}})</b></td>
 +
</tr>
 +
<tr>
 +
<td colspan="2"> {{#if:{{{사진}}} | [[file:{{{사진|}}}|270px|thumb|center|{{{사진출처|}}}]]}}</td>
 +
</tr>
 +
<tr>
 +
<td colspan="2" style="background:#4A7C99; color:#ffffff; text-align:center; font-size:120%;"></td>
 +
</tr>
 
{{#if:{{{대표명칭|}}} | <tr>
 
{{#if:{{{대표명칭|}}} | <tr>
<td rowspan="{{{필드수|}}}" style="width:40%;">[[file:{{{사진}}}|x350px|center]]</td>
 
 
<th style="text-align:center; width:20%;">대표명칭</th>
 
<th style="text-align:center; width:20%;">대표명칭</th>
 
<td style="text-align:center; width:40%;">{{{대표명칭|}}}</td>
 
<td style="text-align:center; width:40%;">{{{대표명칭|}}}</td>
 
</tr> }}
 
</tr> }}
{{#if:{{{영문|}}} | <tr>
+
{{#if:{{{영문명칭|}}} | <tr>
<th style="text-align:center; width:20%;">영문</th>
+
<th style="text-align:center;">영문명칭</th>
<td style="text-align:center; width:40%;">{{{영문|}}}</td>
+
<td style="text-align:center;">{{{영문명칭|}}}</td>
 
</tr> }}
 
</tr> }}
 
{{#if:{{{한자|}}} | <tr>
 
{{#if:{{{한자|}}} | <tr>
<th style="text-align:center; width:20%;">한자</th>
+
<th style="text-align:center;">한자</th>
<td style="text-align:center; width:40%;">{{{한자|}}}</td>
+
<td style="text-align:center;">{{{한자|}}}</td>
 
</tr> }}
 
</tr> }}
{{#if:{{{이칭|}}} | <tr>
+
{{#if:{{{주소|}}} | <tr>
<th style="text-align:center; width:20%;">이칭</th>
+
<th style="text-align:center; width:20%;">주소</th>
<td style="text-align:center; width:40%;">{{{이칭|}}}</td>
+
<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> }}
 
</tr> }}
 
{{#if:{{{지정번호|}}} | <tr>
 
{{#if:{{{지정번호|}}} | <tr>
<th style="text-align:center; width:20%;">지정번호</th>
+
<th style="text-align:center; width:20%;">문화재 지정번호</th>
 
<td style="text-align:center; width:40%;">{{{지정번호|}}}</td>
 
<td style="text-align:center; width:40%;">{{{지정번호|}}}</td>
 
</tr> }}
 
</tr> }}
 
{{#if:{{{지정일|}}} | <tr>
 
{{#if:{{{지정일|}}} | <tr>
<th style="text-align:center; width:20%;">지정일</th>
+
<th style="text-align:center; width:20%;">문화재 지정일</th>
 
<td style="text-align:center; width:40%;">{{{지정일|}}}</td>
 
<td style="text-align:center; width:40%;">{{{지정일|}}}</td>
 
</tr> }}
 
</tr> }}
{{#if:{{{주소|}}} | <tr>
+
{{#if:{{{분류|}}} | <tr>
<th style="text-align:center; width:20%;">주소</th>
+
<th style="text-align:center; width:20%;">분류</th>
<td style="text-align:center; width:40%;">{{{주소|}}}</td>
+
<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> }}
 
</tr> }}
{{#if:{{{위도|}}} | <tr>
+
{{#if:{{{제작시기|}}} | <tr>
<th style="text-align:center; width:20%;">위도</th>
+
<th style="text-align:center; width:20%;">제작시기</th>
<td style="text-align:center; width:40%;">{{{위도|}}}</td>
+
<td style="text-align:center; width:40%;">{{{제작시기|}}}</td>
 
</tr> }}
 
</tr> }}
{{#if:{{{경도|}}} | <tr>
+
{{#if:{{{수량/면적|}}} | <tr>
<th style="text-align:center; width:20%;">경도</th>
+
<th style="text-align:center; width:20%;">수량/면적</th>
<td style="text-align:center; width:40%;">{{{경도|}}}</td>
+
<td style="text-align:center; width:40%;">{{{수량/면적|}}}</td>
 
</tr> }}
 
</tr> }}
 
{{#if:{{{웹사이트|}}} | <tr>
 
{{#if:{{{웹사이트|}}} | <tr>
42번째 줄: 66번째 줄:
 
<td style="text-align:center; width:40%;">{{{웹사이트|}}}</td>
 
<td style="text-align:center; width:40%;">{{{웹사이트|}}}</td>
 
</tr> }}
 
</tr> }}
 +
{{#if:{{{위도|}}} | <tr>
 +
<td colspan="2" style="background:#4A7C99; color:#ffffff; text-align:center; font-size:120%;"></td>
 +
</tr>
 +
<tr>
 +
<td colspan="2">
 +
{{#tag:googlemap
 +
|{{{위도|}}}, {{{경도|}}}, '''{{{대표명칭|}}}'''<br/>위도: {{{위도|}}}, 경도: {{{경도|}}}
 +
|type=normal
 +
|zoom=8
 +
|width=100%
 +
|height=250
 +
|lat={{{위도|}}}
 +
|lon={{{경도|}}}
 +
}}
 +
</td> }}
 
</table>
 
</table>
 
</includeonly>
 
</includeonly>
 +
  
 
<noinclude>
 
<noinclude>
 
==사용법==
 
==사용법==
 
<pre>
 
<pre>
{{문화유산정보  
+
{{문화유산정보
|사진 =  
+
|사진=
|대표명칭 =  
+
|사진출처=
|한자 =  
+
|대표명칭=
|영문 =  
+
|영문명칭=
|이칭 =  
+
|한자=
|지정번호 =  
+
|주소=
|지정일 =  
+
|소장처=
|주소 =
+
|지정번호=
|위도 =  
+
|지정일=
|경도 =  
+
|분류=
|웹사이트 =  
+
|소유자=
|필드수 =
+
|관리자=
 +
|시대=
 +
|제작시기=
 +
|수량/면적=
 +
|웹사이트=
 +
|위도=
 +
|경도=
 
}}
 
}}
 
</pre>
 
</pre>
 +
  
 
==예시==
 
==예시==
 
{{문화유산정보
 
{{문화유산정보
|사진 = 수원화성.jpg
+
|사진=수원화성.jpg
|대표명칭 = 수원 화성
+
|사진출처=[http://www.cha.go.kr/korea/heritage/search/Culresult_Db_View.jsp?mc=NS_04_03_01&VdkVgwKey=13,00030000,31&flag=Y 수원 화성], 문화재검색, <html><online style="color:purple">『문화유산정보』<sup>online</sup></online></html>, 문화재청.
|한자 = 水原 華城
+
|대표명칭=수원 화성
|영문 = Hwaseong Fortress, Suwon
+
|영문명칭=Hwaseong Fortress, Suwon
|지정번호 = 사적 제3호
+
|한자=水原 華城
|지정일 = 1963.01.21  
+
|주소=경기 수원시 팔달구 장안동 1-2번지
|주소 = 경기 수원시 팔달구 장안동 1-2번지
+
|소장처=
|위도 = 37.2869619
+
|지정번호=사적 제3호
|경도 = 127.011801
+
|지정일=1963.01.21
|웹사이트 = [http://hsmuseum.suwon.go.kr 수원화성박물관]
+
|분류=유적건조물 / 정치국방/ 성/ 성곽
|필드수=10
+
|소유자=
 +
|관리자=수원시
 +
|시대=조선시대
 +
|제작시기=
 +
|수량/면적=384,666㎡
 +
|웹사이트=[http://hsmuseum.suwon.go.kr 수원화성박물관]
 +
|위도=37.2869619
 +
|경도=127.011801
 
}}
 
}}
 
</noinclude>
 
</noinclude>

2017년 5월 31일 (수) 11:34 판



사용법

{{문화유산정보
|사진=
|사진출처=
|대표명칭=
|영문명칭=
|한자=
|주소=
|소장처=
|지정번호=
|지정일=
|분류=
|소유자=
|관리자=
|시대=
|제작시기=
|수량/면적=
|웹사이트=
|위도=
|경도=
}}


예시

수원 화성
Hwaseong Fortress, Suwon
수원 화성, 문화재검색, 『문화유산정보』online, 문화재청.
대표명칭 수원 화성
영문명칭 Hwaseong Fortress, Suwon
한자 水原 華城
주소 경기 수원시 팔달구 장안동 1-2번지
지정번호 사적 제3호
지정일 1963.01.21
분류 유적건조물 / 정치국방/ 성/ 성곽
관리자 수원시
시대 조선시대
수량/면적 384,666㎡
웹사이트 수원화성박물관