|
|
| (未显示2个用户的4个中间版本) |
| 第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 字段 -->
| | 当前阶段仅保留 4 个字段: |
| {{#ifexpr: {{#if:{{{is_historic|}}}|1|0}} = 1 | [[Category:历史建筑照片]] | }}
| |
|
| |
|
| <!-- 如果以后有像素级标注 -->
| | * building_id —— 三维系统中的建筑编号(例如 b1917001) |
| {{#if:{{{has_annotations|}}}|[[Category:已标注建筑照片]]|}}
| | * building_name —— 建筑名称(例如 事务所(怀德堂)) |
| | * source —— 照片来源 |
| | * photo_desc —— 照片描述 |
|
| |
|
| </includeonly>
| | 用法示例: |
| | |
| <noinclude>
| |
| == 用法 ==
| |
| 在建筑相关照片的文件说明页中加入本模板,例如:
| |
|
| |
|
| <pre>
| | {{建筑照片 |
| {{建筑照片 | | | building_id = b1917001 |
| | building_name = 老图书馆
| | | building_name = 事务所(怀德堂) |
| | building_page = 建筑:老图书馆 <!-- 可选,不填时默认链接到“建筑:老图书馆” -->
| | | source = William P. Fenn 家族 |
| | building_id = b1926002 <!-- 可选,只给系统用,普通用户可以不填 -->
| | | photo_desc = 华西协合大学事务所怀德堂东向全景,1930年代拍摄。 |
| | year = 1937
| | }} |
| | decade = 1930年代
| |
| | photographer = Henry B. Robins
| |
| | source = 华西协合大学档案馆 RG011-xxx
| |
| | view_direction = 北
| |
| | description = 背景可见尚未修建××楼
| |
| | is_historic = yes <!-- 历史照片填 yes,现代照片可留空 -->
| |
| | has_annotations = <!-- 将来有像素标注时再用 -->
| |
| }} | |
| </pre>
| |
|
| |
|
| * 对普通上传者来说,建议必填字段:building_name / year 或 decade / photographer(如知道) / description(如能写)。 | | 说明: |
| * building_id 是内部编号,仅管理员/维护者需要填写。 | | * 拍摄年份、摄影者、授权等信息,请继续使用 {{Information}} 模板填写。 |
| | * 将来如果要在三维地图中标记“照片拍摄点位(photo_point)”,可以在本模板中再新增可选字段,不影响已有页面。 |
| </noinclude> | | </noinclude> |