Template:Infobox Egyptian tomb/doc
外观
![]() | 此頁面是Template:Infobox Egyptian tomb的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
![]() | 此模板使用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更名或删除。
當指定經緯度數值時,請避免太過詳細。