|
|
| (未显示同一用户的3个中间版本) |
| 第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>
| |
| == 用法 ==
| |
| 在照片文件说明页中加入:
| |
|
| |
|
| <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 = 钟楼;毕业照;集体合影
| |
| | is_historic = yes
| |
| | has_annotations = no
| |
| | building_id = b1926002 <!-- 可选:仅管理员使用 -->
| |
| | photo_key = <!-- 可选:系统对接预留 -->
| |
| }} | |
| </pre>
| |
|
| |
|
| * **普通上传者建议填写:** building_name / year 或 decade / photographer / description。 | | 说明: |
| * **管理员可额外填写:** building_id / photo_key。 | | * 拍摄年份、摄影者、授权等信息,请继续使用 {{Information}} 模板填写。 |
| | * 将来如果要在三维地图中标记“照片拍摄点位(photo_point)”,可以在本模板中再新增可选字段,不影响已有页面。 |
| </noinclude> | | </noinclude> |