模板:Infobox Egyptian tomb/doc
外观
![]() | 此页面是Template:Infobox Egyptian tomb的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
![]() | 此模板使用Lua语言: |
![]() | 本模板含有复杂而精密的扩展语法。 编辑本模板前,建议您先熟悉解析器函数与本模板的设计思路、运作原理等。若您的编辑引发了意外的问题,请尽快撤销编辑,因为本模板可能被大量页面使用。 您所作的编辑可先在模板沙盒或您的个人页面中进行测试。 |
用法
[编辑]{{Infobox Egyptian tomb}}是适用于古埃及陵墓条目的资讯框。
如何使用
[编辑]- 将下方的空白范本复制到条目开头,记得将程式码置于条目的最顶部,并将导言的第一个文字置于下一行。
- 依照“参数”所列的参数输入对应的值,留空参数将自动隐藏。
- 预览编辑。
- 填写适当的编辑摘要储存条目。
空白范本
[编辑]{{Infobox Egyptian tomb
| theban =
| name =
| owner =
| image =
| image_upright =
| image_size =
| image_alt =
| caption =
| alternative_location_map =
| coordinates = <!-- {{Coord}} -->
| relief =
| pushpin_map_caption =
| pushpin_label_position =
| map_alt =
| location =
| date =
| excavated =
| decoration =
| layout =
| prev =
| next =
}}
参数
[编辑]All fields used by this template are optional. Some fields require other fields to be completed in order to display data correctly. The following fields are available:
Parameter | Description | Source/notes | Values |
---|---|---|---|
theban | type selection | For tombs located in the Theban Necropolis, this parameter should be set to "yes". For all other tombs, this parameter should be left empty, and may be deleted from the article. | "yes" or empty |
name | name | Name of the tomb | plain text |
owner | tomb owner | This should normally be the name of the person for whom the tomb was built. In cases where the name of the owner is unknown, or the tomb is used by more than one owner, or for another purpose, a brief descriptor should be used. e.g. "royal cache". | wikitext (can contain links) |
image | generic image of the tomb | filename without "file". e.g. example.jpg | |
image_upright | width of image | This is an optional field. If not specified, the image width will default to |upright=1.13 , which is approximately 250px if the default thumbnail size has not been changed at Special:Preferences) The size should not be set to a value that would result in an image width greater than 300px.
|
number |
image_alt | alt text | Alt text for the image | wikitext (can contain links) |
caption | image caption | a caption for the image | |
alternative_location_map | forces locator map | Forces the locator map to use an alternative, rather than the Egypt map. | Name of the alternative map |
coordinates | Geographic coordinates | Latitude and longitude of the tomb. | Use {{Coord}}. See the Coord template's documentation for details. |
relief | forces relief map | "yes" or leave blank, plain text, do not link | |
pushpin_map_caption | caption | plain text or linked | |
pushpin_label_position | label position | left, right, top, bottom default: right | |
map_alt | alt text | Alt text for the location map | wikitext (can contain links) |
location | tomb location | Brief description of the location of the tomb | |
date | date of discovery | Date the tomb was discovered. Should be as specific as possible. | |
excavated | excavated by | Name of person or people who excavated the tomb. For multiple entries, use {{plainlist}}. | |
decoration | tomb decoration | For multiple entries, use {{plainlist}}. | |
layout | tomb layout | Brief description of the layout of the tomb | |
prev | previous tomb | Name of the previous tomb. In most cases it will not be necessary to wikilink the name as the infobox automatically links valid names. | plain text |
next | next tomb | Name of the next tomb. In most cases it will not be necessary to wikilink the name as the infobox automatically links valid names. |
范例
[编辑]KV1 | |
---|---|
Ramesses VII之墓 | |
![]() Entrance to KV1 | |
坐标 | 25°44′32.4″N 32°36′06.7″E / 25.742333°N 32.601861°E |
位置 | East Valley of the Kings |
发现日期 | Open in antiquity |
挖掘人 | Edwin Brock |
装饰 | |
布局 | Straight |
后一陵墓 → KV2 |
{{Infobox Egyptian tomb
| name = KV1
| owner = [[拉美西斯七世|Ramesses VII]]
| image = Ramses VII Entrance.jpg
| image_alt =
| caption = Entrance to KV1
| coordinates= {{coord|25|44|32.4|N|32|36|06.7|E|display=inline}}
| map_alt =
| location = {{tsl|en|List of burials in the Valley of the Kings||East Valley of the Kings}}
| date = Open in antiquity
| excavated = {{tsl|en|Edwin Brock, Egyptologist||Edwin Brock}}
| decoration = {{Plainlist|
* [[地狱之书|Book of Gates]]
* {{tsl|en|Book of Caverns||Book of Caverns}}
* {{tsl|en|Book of the Earth||Book of the Earth}}
}}
| layout = Straight
| next = KV2
}}
KV6 | |
---|---|
Ramesses IX之墓 | |
![]() Far wall of the burial chamber | |
坐标 | 25°44′25.6″N 32°36′06.7″E / 25.740444°N 32.601861°E |
位置 | East Valley of the Kings |
发现日期 | Open in antiquity |
挖掘人 | |
← 前一陵墓 KV5 后一陵墓 → KV7 |
{{Infobox Egyptian tomb
| name = KV6
| owner = [[拉美西斯九世|Ramesses IX]]
| image = Egypt.KV6.01.jpg
| image_alt =
| caption = Far wall of the burial chamber
| coordinates= {{coord|25|44|25.6|N|32|36|06.7|E|display=inline}}
| map_alt =
| location = {{tsl|en|List of burials in the Valley of the Kings||East Valley of the Kings}}
| date = Open in antiquity
| excavated = {{Plainlist|
* [[亨利·索尔特|Henry Salt]]
* [[乔治·达雷西|Georges Daressy]]
}}
| decoration =
| layout =
| prev = KV5
| next = KV7
}}
Theban tomb TT100 | |
---|---|
Rekhmire之墓 | |
![]() | |
位置 | Sheikh Abd el-Qurna,底比斯墓地群 |
发现日期 | Open in antiquity |
布局 | T-shaped |
← 前一陵墓 TT99 后一陵墓 → TT101 |
{{Infobox Egyptian tomb
| theban = yes
| name = TT100
| owner = {{tsl|en|Rekhmire||Rekhmire}}
| image = Maler der Grabkammer des Rechmirê 001.jpg
| image_upright = 1
| image_alt =
| caption =
| coordinates =
| map_alt =
| location = {{tsl|en|Sheikh Abd el-Qurna||Sheikh Abd el-Qurna}}
| date = Open in antiquity
| excavated =
| decoration =
| layout = T-shaped
| prev = TT99
| next = TT101
}}
Tracking category
[编辑]Microformat
[编辑]本模板产生的HTML记号包含了HCard 微格式,能够让电脑解析地点名称和位置,具有可自动将文章分类至适当类别的功能。在HCard中有Geo微格式,能让电脑分析经纬度资料,因此可在地图上查询,或下载至全球定位系统(GPS)装置。关于微格式的更多使用资讯,请参阅维基百科的微格式专题。
hCard 使用以下的 HTML class:
adr
county-name
fn
label
locality
nickname
note
org
vcard
Geo由{{coord}}产生,并使用以下的HTML class:
geo
latitude
longtitude
请勿将这些class更名或删除。
当指定经纬度数值时,请避免太过详细。