|
|
| (未显示同一用户的2个中间版本) |
| 第1行: |
第1行: |
| <includeonly> | | <includeonly> |
| <div class="photo-info-box" style="border:1px solid #ccc; background:#f9f9f9; padding:10px; border-radius:8px; font-size:90%; margin:10px 0;"> | | <div class="building-photo-meta" style="border:1px solid #ccc;padding:8px;margin:8px 0;background:#fafafa;"> |
| '''建筑名称:''' [[{{{building_page|建筑:{{{building_name|未指定建筑}}}}}|{{{building_name|未指定建筑}}}]]
| | <b>建筑编号:</b> {{{building_id|}}}<br/> |
| <br/>'''拍摄年份:''' {{{year|未知}}} | | <b>建筑名称:</b> {{{building_name|}}}<br/> |
| <br/>'''年代:''' {{{decade|}}} | | <b>来源:</b> {{{source|}}}<br/> |
| <br/>'''摄影者/提供者:''' {{{photographer|未知}}} | | <b>描述:</b> {{{photo_desc|}}} |
| <br/>'''来源:''' {{{source|}}} | |
| <br/>'''拍摄方向:''' {{{view_direction|}}} | |
| <br/>'''描述:''' {{{description|(暂无描述)}}} | |
| </div> | | </div> |
|
| |
|
| <!-- 分类:按建筑 + 按年代 + 按类型 --> | | <noinclude> |
| [[Category:建筑-{{{building_name|未指定建筑}}}-照片]]
| | 本模板用于“华西三维地图系统”与 WCUU WIKI 建筑照片的结构化对接。 |
| [[Category:建筑照片]]
| |
| {{#if:{{{decade|}}}|[[Category:{{{decade}}}建筑照片]]|}}
| |
| | |
| <!-- 如果以后要区分历史/现代,可以用 is_historic 字段 -->
| |
| {{#ifexpr: {{#if:{{{is_historic|}}}|1|0}} = 1 | [[Category:历史建筑照片]] | }}
| |
|
| |
|
| <!-- 如果以后有像素级标注 -->
| | 当前阶段仅保留 4 个字段: |
| {{#if:{{{has_annotations|}}}|[[Category:已标注建筑照片]]|}}
| |
|
| |
|
| </includeonly>
| | * building_id —— 三维系统中的建筑编号(例如 b1917001) |
| | * building_name —— 建筑名称(例如 事务所(怀德堂)) |
| | * source —— 照片来源 |
| | * photo_desc —— 照片描述 |
|
| |
|
| <noinclude>
| | 用法示例: |
| <includeonly>
| |
| <div class="photo-info-box" style="border:1px solid #ccc; background:#f9f9f9; padding:10px; border-radius:8px; font-size:90%; margin:10px 0;">
| |
| '''建筑名称:''' [[{{{building_page|建筑:{{{building_name|未指定建筑}}}}}|{{{building_name|未指定建筑}}}]]
| |
| <br/>'''拍摄年份:''' {{{year|未知}}}
| |
| {{#if:{{{decade|}}}|<br/>'''年代:''' {{{decade}}}|}}
| |
| {{#if:{{{date_text|}}}|<br/>'''时间说明:''' {{{date_text}}}|}}
| |
| {{#if:{{{photographer|}}}|<br/>'''摄影者/提供者:''' {{{photographer}}}|}}
| |
| {{#if:{{{source|}}}|<br/>'''来源:''' {{{source}}}|}}
| |
| {{#if:{{{location_text|}}}|<br/>'''拍摄地点:''' {{{location_text}}}|}}
| |
| {{#if:{{{view_direction|}}}|<br/>'''拍摄方向:''' {{{view_direction}}}|}}
| |
| {{#if:{{{type|}}}|<br/>'''类型:''' {{{type}}}|}}
| |
| {{#if:{{{description|}}}|<br/>'''描述:''' {{{description}}}|}}
| |
| {{#if:{{{tags|}}}|<br/>'''标签:''' {{{tags}}}|}}
| |
| </div>
| |
| | |
| <!-- 分类:按建筑、年代、类型 -->
| |
| [[Category:建筑-{{{building_name|未指定建筑}}}-照片]]
| |
| [[Category:建筑照片]]
| |
| {{#if:{{{decade|}}}|[[Category:{{{decade}}}建筑照片]]|}}
| |
| {{#ifexpr: {{#if:{{{is_historic|}}}|1|0}} = 1 | [[Category:历史建筑照片]] | }}
| |
| {{#if:{{{has_annotations|}}}|[[Category:已标注建筑照片]]|}}
| |
| </includeonly>
| |
| | |
| <noinclude>
| |
| <noinclude>
| |
| == 用法 ==
| |
| 在文件说明页中加入:
| |
|
| |
|
| <pre>
| | {{建筑照片 |
| {{建筑照片 | | | building_id = b1917001 |
| | building_name = 钟楼
| | | building_name = 事务所(怀德堂) |
| | year = 1937
| | | source = William P. Fenn 家族 |
| | decade = 1930年代
| | | photo_desc = 华西协合大学事务所怀德堂东向全景,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 = <!-- 预留字段:与三维系统或外部数据库对应 -->
| |
| }} | |
| </pre>
| |
|
| |
|
| * 普通上传者建议重点填写:''building_name / year 或 decade / photographer / description''。 | | 说明: |
| * 管理员和系统对接时,建议补充:''building_id / photo_key''。 | | * 拍摄年份、摄影者、授权等信息,请继续使用 {{Information}} 模板填写。 |
| | * 将来如果要在三维地图中标记“照片拍摄点位(photo_point)”,可以在本模板中再新增可选字段,不影响已有页面。 |
| </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>
| |