|
|
| 第1行: |
第1行: |
| <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|未知}}}
| |
| <br/>'''年代:''' {{{decade|}}}
| |
| <br/>'''摄影者/提供者:''' {{{photographer|未知}}}
| |
| <br/>'''来源:''' {{{source|}}}
| |
| <br/>'''拍摄方向:''' {{{view_direction|}}}
| |
| <br/>'''描述:''' {{{description|(暂无描述)}}}
| |
| </div>
| |
|
| |
| <!-- 分类:按建筑 + 按年代 + 按类型 -->
| |
| [[Category:建筑-{{{building_name|未指定建筑}}}-照片]]
| |
| [[Category:建筑照片]]
| |
| {{#if:{{{decade|}}}|[[Category:{{{decade}}}建筑照片]]|}}
| |
|
| |
| <!-- 如果以后要区分历史/现代,可以用 is_historic 字段 -->
| |
| {{#ifexpr: {{#if:{{{is_historic|}}}|1|0}} = 1 | [[Category:历史建筑照片]] | }}
| |
|
| |
| <!-- 如果以后有像素级标注 -->
| |
| {{#if:{{{has_annotations|}}}|[[Category:已标注建筑照片]]|}}
| |
|
| |
| </includeonly>
| |
|
| |
| <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>
| |
| <includeonly> | | <includeonly> |
| <div class="building-photo-meta" style="border:1px solid #ccc;padding:8px;margin:8px 0;background:#fafafa;"> | | <div class="building-photo-meta" style="border:1px solid #ccc;padding:8px;margin:8px 0;background:#fafafa;"> |
本模板用于“华西三维地图系统”与 WCUU WIKI 建筑照片的结构化对接。
当前阶段仅保留 4 个字段:
- building_id —— 三维系统中的建筑编号(例如 b1917001)
- building_name —— 建筑名称(例如 事务所(怀德堂))
- source —— 照片来源
- photo_desc —— 照片描述
用法示例:
说明:
- 拍摄年份、摄影者、授权等信息,请继续使用 Template:Information 模板填写。
- 将来如果要在三维地图中标记“照片拍摄点位(photo_point)”,可以在本模板中再新增可选字段,不影响已有页面。