跳至內容

「模板:建築資訊框」:各本之異

語出天一維基大典
THDeb​(議|勛)
添加学校、人物、建筑信息框及本地化模板帮助
THDeb​(議|勛)
将可插入模板归入可视化编辑器默认浏览分类;分类仅在noinclude内,不传递给正文
 
(同一文士,間所易一筆,皆略之)
第一行: 第一行:
<includeonly><templatestyles src="Template:TYZX infobox/styles.css" />
<includeonly><templatestyles src="Template:TYZX infobox/styles.css" /><table class="tyzx-infobox"><tr><th colspan="2" class="tyzx-infobox-title">{{{name|{{PAGENAME}}}}}</th></tr>{{#if:{{{image|}}}|<tr><td colspan="2" class="tyzx-infobox-image">[[File:{{{image}}}|260px|alt={{{caption|}}}]]<br />{{{caption|}}}</td></tr>}}{{#if:{{{address|}}}|<tr><th>址</th><td>{{{address}}}</td></tr>}}{{#if:{{{completed|}}}|<tr><th>竣工之年</th><td>{{{completed}}}</td></tr>}}{{#if:{{{architect|}}}|<tr><th>建築師</th><td>{{{architect}}}</td></tr>}}{{#if:{{{use|}}}|<tr><th>用途</th><td>{{{use}}}</td></tr>}}{{#if:{{{floors|}}}|<tr><th>層數</th><td>{{{floors}}}</td></tr>}}{{#if:{{{height|}}}|<tr><th>高</th><td>{{{height}}}</td></tr>}}{{#if:{{{website|}}}|<tr><th>網站</th><td>{{{website}}}</td></tr>}}{{#if:{{{sources|}}}|<tr><th>據</th><td>{{{sources}}}</td></tr>}}</table></includeonly><noinclude>
{| class="tyzx-infobox"
|-
! colspan="2" class="tyzx-infobox-title" | {{{name|{{PAGENAME}}}}}{{#if:{{{image|}}}|
{{!}}-
{{!}} colspan="2" class="tyzx-infobox-image" {{!}} [[File:{{{image}}}|260px|alt={{{caption|}}}]]<br />{{{caption|}}}}}{{#if:{{{address|}}}|
{{!}}-
! 址
{{!}} {{{address}}}}}{{#if:{{{completed|}}}|
{{!}}-
! 竣工之年
{{!}} {{{completed}}}}}{{#if:{{{architect|}}}|
{{!}}-
! 建築師
{{!}} {{{architect}}}}}{{#if:{{{use|}}}|
{{!}}-
! 用途
{{!}} {{{use}}}}}{{#if:{{{floors|}}}|
{{!}}-
! 層數
{{!}} {{{floors}}}}}{{#if:{{{height|}}}|
{{!}}-
! 高
{{!}} {{{height}}}}}{{#if:{{{website|}}}|
{{!}}-
! 網站
{{!}} {{{website}}}}}{{#if:{{{sources|}}}|
{{!}}-
! 據
{{!}} {{{sources}}}}}
|}
</includeonly><noinclude>
[[Help:模板|模板之用]]
[[Help:模板|模板之用]]
<templatedata>
<templatedata>
第一二四行: 第九三行:
[[ja:Template:建築物情報ボックス]]
[[ja:Template:建築物情報ボックス]]
[[ko:Template:건축물 정보상자]]
[[ko:Template:건축물 정보상자]]
[[分類:模板]]
</noinclude>
</noinclude>

二〇二六年一一月一六日 (一) 〇九時一一分之今本

模板之用

建築資訊框

模板參數[編輯模板資料]

此模板以參數區塊格式為優先。

參數述類型狀
名name

無述

內容薦
圖image

無述

檔案薦
圖說caption

無述

內容選
址address

無述

內容薦
竣工之年completed

無述

內容薦
建築師architect

無述

內容選
用途use

無述

內容選
層數floors

無述

內容選
高height

無述

內容選
網站website

無述

URL選
據sources

無述

內容選