模板:Infobox islands/sandbox
这是Template:Infobox islands(差异)的沙盒。 |
此模板为用于岛屿或群岛的信息框。对于存在争议的岛屿或群岛,请考虑使用{{Infobox disputed islands}}。
空白模板
{{{name}}} {{{native name}}} | |
---|---|
绰号:{{{sobriquet}}} | |
[[File:{{{image name}}}|{{{image size}}}|alt={{{image alt}}}|upright=1.16|{{{image alt}}}]] {{{image caption}}} | |
词源 | {{{etymology}}} |
地理 | |
位置 | {{{location}}} |
坐标 | 0°N 0°E / 0°N 0°E |
群岛 | {{{archipelago}}} |
邻近水域 | {{{waterbody}}} |
总岛屿 | {{{total islands}}} |
主要岛屿 | {{{major islands}}} |
面积 | {{{area km2}}} or {{{area sqmi}}} or {{{area m2}}} or {{{area sqft}}} or {{{area ha}}} or {{{area acre}}} |
面积排名 | {{{rank}}} |
长度 | {{{length km}}} or {{{length mi}}} or {{{length m}}} or {{{length ft}}} |
宽度 | {{{width km}}} or {{{width mi}}} or {{{width m}}} or {{{width ft}}} |
海岸线 | {{{coastline km}}} or {{{coastline mi}}} or {{{coastline m}}} or {{{coastline ft}}} |
最高海拔 | {{{elevation m}}} or {{{elevation ft}}} |
最高点 | {{{highest mount}}} |
管辖 | |
{{{country}}} | |
{{{country admin divisions title}}} | {{{country admin divisions}}} |
{{{country admin divisions title 1}}} | {{{country admin divisions 1}}} |
{{{country admin divisions title 2}}} | {{{country admin divisions 2}}} |
首府 | {{{country capital}}} |
最大聚居地 | {{{country largest city}}}(人口{{{country largest city population}}}) |
{{{country leader title}}} | {{{country leader name}}} |
覆盖面积 | {{{country area km2}}} or {{{country area sqmi}}} or {{{country area m2}}} or {{{country area sqft}}} or {{{country area ha}}} or {{{country area acre}}} |
{{{country 1}}} | |
{{{country 1 admin divisions title}}} | {{{country 1 admin divisions}}} |
{{{country 1 admin divisions title 1}}} | {{{country 1 admin divisions 1}}} |
首府 | {{{country 1 capital}}} |
最大聚居地 | {{{country 1 largest city}}}(人口{{{country 1 largest city population}}}) |
{{{country 1 leader title}}} | {{{country 1 leader name}}} |
覆盖面积 | {{{country 1 area km2}}} or {{{country 1 area sqmi}}} or {{{country 1 area m2}}} or {{{country 1 area sqft}}} or {{{country 1 area ha}}} or {{{country 1 area acre}}} |
{{{country 2}}} | |
{{{country 2 admin divisions title}}} | {{{country 2 admin divisions}}} |
{{{country 2 admin divisions title 1}}} | {{{country 2 admin divisions 1}}} |
首府城市 | {{{country 2 capital}}} |
最大聚居地 | {{{country 2 largest city}}}(人口{{{country 2 largest city population}}}) |
{{{country 2 leader title}}} | {{{country 2 leader name}}} |
覆盖面积 | {{{country 2 area km2}}} or {{{country 2 area sqmi}}} or {{{country 2 area m2}}} or {{{country 2 area sqft}}} or {{{country 2 area ha}}} or {{{country 2 area acre}}} |
人口统计 | |
人口 | {{{population}}}({{{population as of}}}) |
人口排名 | 第{{{population rank}}}∕{{{population rank max}}}名 |
密度排名 | {{{density rank}}} |
语言 | {{{languages}}} |
族群 | {{{ethnic groups}}} |
其他资料 | |
时区 |
|
• 夏时制 |
|
官方网站 | {{{website}}} |
{{{additional info}}} |
公制单位
{{Infobox islands | name = <!-- 必填 --> | native name = | native name lang = | nickname = | image name = | image size = | image caption = | image alt = | image map = | map alt = | map size = | map caption = | pushpin_map = | pushpin_label = | pushpin_label_position = | pushpin_map_alt = | pushpin_relief = | pushpin_map_caption = | coordinates = <!-- {{coord|LAT|N/S|LONG|E/W|region:XX_type:isle|display=it}} --> | etymology = | location = <!-- 必填 --> | GridReference = <!-- 仅英国 --> | island type = | archipelago = | waterbody = | total islands = | major islands = | area km2 = <!-- or |area m2= or |area ha= --> | area footnotes = | rank = | length km = <!-- or |length m= --> | length footnotes = | width km = <!-- or |width m= --> | width footnotes = | coastline km = <!-- or |coastline m= --> | coastline footnotes = | elevation m = | elevation footnotes = | highest mount = | country = <!-- 必填 --> | country admin divisions title = | country admin divisions = | country admin divisions title 1 = | country admin divisions 1 = | country admin divisions title 2 = | country admin divisions 2 = | country capital type = | country capital = | country largest city type = | country largest city = | country capital and largest city = | country largest city population = | country leader title = | country leader name = | country area km2 = <!-- or |country area m2= or |country area ha= --> | country 1 = | country 1 admin divisions title = | country 1 admin divisions = | country 1 admin divisions title 1 = | country 1 admin divisions 1 = | country 1 capital type = | country 1 capital = | country 1 largest city type = | country 1 largest city = | country 1 capital and largest city = | country 1 largest city population = | country 1 leader title = | country 1 leader name = | country 1 area km2 = <!-- or |country 1 area m2= or |country 1 area ha= --> | population = | population as of = | population footnotes = | population rank = | population rank max = | density km2 = auto | density rank = | density footnotes = | languages = | ethnic groups = | timezone1 = | utc_offset1 = | timezone1_DST = | utc_offset1_DST = | website = | additional info = }}
非公制单位
{{Infobox islands | name = <!-- 必填 --> | native name = <!-- or |local name= --> | native name link = | native_name_lang = | sobriquet = <!-- or |nickname= --> | image name = | image size = | image caption = | image alt = | map = | map_alt = | map_width = | map_caption = | map_relief = | label = | label_position = | coordinates = <!-- {{coord|LATITUDE|N/S|LONGITUDE|E/W|display=it}} --> | etymology = | location = <!-- 必填, body of water where located --> | GridReference = <!-- UK only --> | archipelago = | waterbody = | total islands = | major islands = | area sqmi = <!-- or |area sqft= or |area acre= --> | area footnotes = | rank = | length mi = <!-- or |length ft= --> | length footnotes = | width mi = <!-- or |width ft= --> | width footnotes = | coastline mi = <!-- or |coastline ft= --> | coastline footnotes = | elevation ft = | elevation footnotes = | highest mount = | country = <!-- 必填 --> | country admin divisions title = | country admin divisions = | country admin divisions title 1 = | country admin divisions 1 = | country admin divisions title 2 = | country admin divisions 2 = | country capital type = | country capital = | country largest city type = | country largest city = | country capital and largest city = | country largest city population = | country leader title = | country leader name = | country area sqmi = <!-- or |country area sqft= or |country area acre= --> | country 1 = | country 1 admin divisions title = | country 1 admin divisions = | country 1 admin divisions title 1 = | country 1 admin divisions 1 = | country 1 capital type = | country 1 capital = | country 1 largest city type = | country 1 largest city = | country 1 capital and largest city = | country 1 largest city population = | country 1 leader title = | country 1 leader name = | country 1 area sqmi = <!-- or |country 1 area sqft= or |country 1 area acre= --> | demonym = | population = | population as of = | population footnotes = | population rank = | population rank max = | density sqmi = | density rank = | density footnotes = | ethnic groups = | timezone1 = | utc_offset1 = | timezone1_DST = | utc_offset1_DST = | website = | additional info = }}
参数
必填参数
- name = 官方名称
- location = 所在的海域
- country = 所属国家。
选填参数
- native name = 当地语言名称(如果与name所用语言不同时,可加上)
- native name link = 有关该当地语言的维基百科条目。如,印度尼西亚岛屿则链接到“印尼语”。不要将国名加上维基链接,如“[[印尼语]]”。
- sobriquet(或nickname) = 该岛常见的绰号
- image name = 位置、卫星或其他地图(不用加前缀“File:”)
- image caption = 图片说明
- image size = 图片大小,以像素计(如:“100px”)
- image alt = 读者无法看到图片时的替代文字,详见Wikipedia:图像的替代文字
- locator map = 表示岛屿位置的地图,在其与“image name”参数中的图片不同时可填写。可插入图片(不用加前缀“File:”),亦可使用{{location map}}等模板。
- locator map size = 地图大小,以像素计(如:“300px”)
- map caption = 地图说明
- map = Location map的名称
- map_relief = 如使用已存在的地形图,请填yes
- map_width = 地图宽度(数字后面不需加px)
- label = 地图上的标示文字,留空则使用页面名称
- label_position = 标示文字的位置,可填top/bottom/left/right
- map_caption = 地图说明
- map_alt
- map_mark
- map_mark_width
- latd、latm、lats、latNS = 如"coordinates"参数非留空,latd和longd等参数将被忽略。
- longd、longm、longs、longEW
- coordinates = 地理坐标:在{{coord}}中指定“display=inline,title”
- archipelago = 群岛
- total islands = 总岛屿数目(仅针对群岛)
- major islands = 主要岛屿的名称(仅针对群岛)
- area = 岛屿的总面积(可以使用{{convert}}模板)
- rank = 该岛面积在世界的排名(第一名即为最大的岛屿),参考岛屿面积列表条目。
- length = 岛屿的长度(可使用{{convert}}模板)
- width = 岛屿的宽度(可使用{{convert}}模板)
- width_km或width_mi = 择一填写,以千米或英里为单位填入该岛的宽度。勿使用{{convert}}模板,单位的换算将自动完成。
- coastline = 岛屿的海岸线总长度(可使用{{convert}}模板)
- coastline_km或coastline_mi = 择一填写,以千米或英里为单位填入该岛的海岸线长度。勿使用{{convert}}模板,单位的换算将自动完成。
- highest mount = 岛上最高点的名称,如有
- elevation = 最高点的高度(可使用{{convert}}模板)
- country admin divisions title = 行政区划的名称
- country admin divisions = 该岛隶属的行政区划
- country admin divisions title 1 = (country admin divisions title 1)
- country admin divisions 1 = (country admin divisions 1)
- country admin divisions title 2 = (country admin divisions title 2)
- country admin divisions 2 = (country admin divisions 2)
- country capital
- country largest city = 该岛的最大城市
- country largest city population
- country leader title
- country leader name
- country 1 = (见country)
- country 1 admin divisions title = (country admin divisions title)
- country 1 admin divisions = (country admin divisions)
- country 1 capital city = (country capital city)
- country 1 largest city = (country largest city)
- country 1 largest city population = (country largest city population)
- country 1 leader title
- country 1 leader name
- country 2 = (见country)
- country 2 admin divisions title = (country admin divisions title)
- country 2 admin divisions = (country admin divisions)
- country 2 capital city = (country capital city)
- country 2 largest city = (country largest city)
- country 2 largest city population = (country largest city population)
- country 2 leader title
- country 2 leader name
- ...
- country 8 = (见country)
- country 8 admin divisions title = (country admin divisions title)
- country 8 admin divisions = (country admin divisions)
- country 8 capital city = (country capital city)
- country 8 largest city = (country largest city)
- country 8 largest city population = (country largest city population)
- country 8 leader title
- country 8 leader name
- demonym = 当地人对自己的称呼
- population = 该岛人口数量
- population as of = 人口普查年份
- density或density_km2 = 该岛的人口密度,单位为人/平方千米。此处填入的数字会通过{{convert|{{{density_km2|{{{density}}}}}}|PD/km2|PD/sqmi|abbr=on}}}}交由Template:Convert处理。例如,输入数字85,则将输出“85 /km² (220 /sq mi)”,若要自动生成人口密度数字,请复制代码:
{{subst:#expr:{{subst:formatnum:人口|R}}/{{subst:formatnum:面积|R}} round 2}}
- ethnic groups = 岛上人口的主要族群
- timezone1 =
- utc_offset1 =
- timezone1_DST =
- utc_offset1_DST =
- timezone2 =
- utc_offset2 =
- timezone2_DST =
- utc_offset2_DST =
- website =
- additional info = 其它资料
示例
苏门答腊 Pulau Sumatra | |
---|---|
苏门答腊地形图 | |
地理 | |
位置 | 东南亚 |
坐标 | 0°N 102°E / 0°N 102°E |
群岛 | 大巽他群岛 |
面积 | 470,000平方千米(180,000平方英里) |
管辖 | |
印尼 | |
省份 | 亚齐特区、北苏门答腊省、西苏门答腊省、明古鲁省、占碑省、南苏门答腊省、廖内省、楠榜省 |
人口统计 | |
人口 | 超过4,000万 |
人口密度 | 85人/平方公里(220人/平方英里) |
族群 | 亚齐人、巴塔克人、米南加保人、马来人 |
{{Infobox islands | name = 苏门答腊 | native name = Pulau Sumatra | native name link = 印尼语 | image name = Sumatra Volcanoes.png | image caption = 苏门答腊地形图 | image alt = 苏门答腊岛,呈西北东南走向,於西南岸分布有一排火山,西南海域的苏门答腊海沟以每年5.5厘米的速度逼近苏门答腊岛。 | area km2 = 470000 | location = [[東南亞]] | coordinates = {{coord|0|N|102|E|region:ID|display=inline}} | map = Indonesia | map_caption = 僅供示例,蘇門答臘的範圍遠大於紅點 | label_position = bottom | archipelago = [[大巽他群岛]] | country = 印尼 | country admin divisions title = 省份 | country admin divisions = [[亞齊特區]]、[[北苏门答腊省]]、[[西苏门答腊省]]、[[明古魯省]]、[[占碑省]]、[[南苏门答腊省]]、[[廖內省]]、[[楠榜省]] | largest city = [[棉兰]] | demonym = Sumatran | population = 超过4000万 | density km2 = 85 | ethnic groups = [[亚齐人]]、[[巴塔克人]]、[[米南加保人]]、[[马来人]] }}
重定向
- {{Infobox island}}
- {{Infobox 岛}}
- {{Infobox peninsulas}}
微格式
本模板产生的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更名或删除。
当指定经纬度数值时,请避免太过详细。
上述文档嵌入自Template:Infobox islands/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (编辑 | 差异)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |