Template:建筑照片:修订间差异

来自WCUU
跳转到导航 跳转到搜索
Zhang留言 | 贡献
第一次改版
Publisher1留言 | 贡献
第47行: 第47行:
</includeonly>
</includeonly>


<noinclude>
<noinclude>
<noinclude>
== 用法 ==
== 用法 ==
照片文件说明页中加入:
在文件说明页中加入:


<pre>
<pre>
{{建筑照片
{{建筑照片
  | building_name  = 老图书馆
  | building_name  = 钟楼
  | year            = 1937
  | year            = 1937
  | decade          = 1930年代
  | decade          = 1930年代
第62行: 第63行:
  | view_direction  = 北
  | view_direction  = 北
  | type            = 建筑照
  | type            = 建筑照
  | description    = 图中可见尚未修建××楼
  | description    = 这里写对照片的简短说明,例如:钟楼建成初期北面外观,可见尚未修建前平台。
  | tags            = 钟楼;毕业照;集体合影
  | tags            = 钟楼;华西坝;建筑
| is_historic    = yes
  | has_annotations = no         <!-- 暂时写 no,将来做像素级标注后再改为 yes -->
  | has_annotations = no
  | building_id    = b1926002   <!-- 仅管理员 / 系统对接使用 -->
  | building_id    = b1926002         <!-- 可选:仅管理员使用 -->
  | photo_key      =             <!-- 预留字段与三维系统或外部数据库-->
  | photo_key      =                 <!-- 可选:系统对接预留 -->
}}
}}
</pre>
</pre>


* **普通上传者建议填写:** building_name / year 或 decade / photographer / description。
* 普通上传者建议重点填写:''building_name / year 或 decade / photographer / description''
* **管理员可额外填写** building_id / photo_key。
* 管理员和系统对接时,建议补充''building_id / photo_key''
</noinclude>
</noinclude>
<includeonly>
<div class="mw-collapsible mw-collapsed" style="border:1px solid #ccc; padding:0.5em 1em; margin:0.5em 0; background:#f9f9f9;">
<div style="font-weight:bold; margin-bottom:0.3em;">建筑照片信息</div>
{| class="wikitable" style="width:100%; background:white;"
! style="width:10em;" | 项目
! 内容
|-
! 建筑名称
| {{{building_name|(未填写)}}}
|-
! 拍摄年份
| {{{year|(未知)}}}{{#if:{{{decade|}}}|({{{decade}}})}}
|-
! 拍摄时间说明
| {{{date_text|}}}
|-
! 摄影者
| {{{photographer|(未知)}}}
|-
! 来源
| {{{source|}}}
|-
! 拍摄地点
| {{{location_text|}}}
|-
! 拍摄方向
| {{{view_direction|}}}
|-
! 类型
| {{{type|建筑照}}}
|-
! 简要描述
| {{{description|(暂无描述)}}}
|-
! 关键词标签
| {{{tags|}}}
|}
<div style="font-size:85%; color:#777; margin-top:0.3em;">
内部信息:
<span>标注状态:{{{has_annotations|no}}}</span>
<span style="margin-left:1em;">building_id:{{{building_id|未设置}}}</span>
<span style="margin-left:1em;">photo_key:{{{photo_key|未设置}}}</span>
</div>
</div>
<!-- 自动分类:总类 + 按建筑名称生成子分类 -->
[[Category:建筑照片]]
[[Category:{{{building_name|未分类建筑}}} 照片]]
</includeonly>

2025年11月10日 (一) 14:22的版本




用法

在文件说明页中加入:

{{建筑照片
 | building_name   = 钟楼
 | year            = 1937
 | decade          = 1930年代
 | date_text       = 约1937年前后
 | photographer    = Henry B. Robins
 | source          = 华西协合大学档案馆 RG011-xxx
 | location_text   = 华西坝北区,老图书馆前广场
 | view_direction  = 北
 | type            = 建筑照
 | description     = 这里写对照片的简短说明,例如:钟楼建成初期北面外观,可见尚未修建前平台。
 | tags            = 钟楼;华西坝;建筑
 | has_annotations = no          <!-- 暂时写 no,将来做像素级标注后再改为 yes -->
 | building_id     = b1926002    <!-- 仅管理员 / 系统对接使用 -->
 | photo_key       =             <!-- 预留字段:与三维系统或外部数据库对应 -->
}}
  • 普通上传者建议重点填写:building_name / year 或 decade / photographer / description
  • 管理员和系统对接时,建议补充:building_id / photo_key