Template:Infobox military conflict
脚本错误:没有“High-use”这个模块。
| 本模板使用 Lua 语言: |
| 巴巴羅薩作戰 | |||||||
|---|---|---|---|---|---|---|---|
| 第二次世界大戰東方戰線的一部分 | |||||||
德軍進攻示意圖 | |||||||
| |||||||
| 参战方 | |||||||
| 軸心國 | 苏联 | ||||||
| 指挥官与领导者 | |||||||
|
战略:阿道夫·希特勒 前线:张三 |
战略:斯大林 前线:李四 | ||||||
| 兵力 | |||||||
| 約320萬 | 約490萬 | ||||||
| 伤亡与损失 | |||||||
|
830,903 (陣亡174,000、失蹤36,000、受傷604,000) | 陣亡、被俘、或失蹤305萬 | ||||||
{{Infobox military conflict}}为軍事衝突模板(有的時候又被叫做Warbox),可以在整理一個軍事衝突的時候使用(戰爭、戰役、一連串相關的戰爭)。本模板針對軍事衝突而設計,因此請勿使用於非軍事衝突(如警民衝突)的條目上。
用法
{{Infobox military conflict
|width=
|conflict=
|partof=
|image=
|image-hans=
|image-hant=
|image_size=
|caption=
|date=
|place=
|territory=
|result=
|combatant1=
|combatant2=
|combatant3=
|commander1=
|commander2=
|commander3=
|strength1=
|strength2=
|strength3=
|polstrength1=
|polstrength2=
|polstrength3=
|milstrength1=
|milstrength2=
|milstrength3=
|casualties1=
|casualties2=
|casualties3=
|notes=
}}
|
信息框宽度 军事冲突名称 所属战役 插图 插图尺寸 图注 日期 地点 领土变更 结果 参战方1 参战方2 参战方3 指挥官1 指挥官2 指挥官3 兵力1 兵力2 兵力3 政治支持1 政治支持2 政治支持3 军事支援1 军事支援2 军事支援3 伤亡1 伤亡2 伤亡3 备注 |
有許多的參數在使用時可以被省略,但conflict、date、place、result是必需的参数,也可以依照各衝突的不同性質而選用參數,三方交战可使用此模板。上述参数中,commander处的指挥官战死使用{{KIA}},投降使用{{POW}}。
模板参数
<templatedata> {
"description": "用于戰爭、戰役等军事冲突类条目的信息框模板",
"params": {
"campaignbox": {
"label": "系列军事冲突导航模板",
"description": "用于填写
| ||
"type": "string",
"required": false
},
"combatant3": {
"label": "参战方3",
"description": "参与该场军事冲突的第三方阵营",
"type": "string/wiki-page-name",
"required": false
},
"conflict": {
"label": "军事冲突名称",
"description": "该场军事冲突的名称,默认是条目名称",
"type": "string",
"required": false,
"default": "Infobox military conflict"
},
"partof": {
"label": "所属战役",
"description": "该军事冲突所属的更大规模的战争/战役",
"type": "string/wiki-page-name",
"required": false
},
"image": {
"label": "插图",
"description": "能够表现该场军事冲突的图片",
"type": "string",
"required": false
},
"image-hans": {
"label": "简体中文插图",
"description": "繁简图片转换时使用",
"type": "string",
"required": false
},
"image-hant": {
"label": "繁体中文插图",
"description": "繁简图片转换时使用",
"type": "string",
"required": false
},
"caption": {
"label": "插图说明",
"description": "插图的说明文字",
"type": "string",
"required": false
},
"date": {
"label": "日期",
"description": "军事冲突发生的起讫时间,用-来表示",
"type": "string",
"required": true
},
"place": {
"label": "地点",
"description": "军事冲突发生的地点",
"type": "string",
"required": true
},
"coordinates": {
"label": "坐标",
"description": "军事冲突发生地点的地理坐标,使用Lua错误 在Module:Coordinates的第615行:attempt to index field 'wikibase' (a nil value)模板",
"type": "string",
"required": false
},
"status": {
"label": "当前状态",
"description": "仍在继续中的军事冲突目前所处的状态",
"type": "string",
"required": false
},
"result": {
"label": "结果",
"description": "已经结束的军事冲突所造成的结果",
"type": "string",
"required": false
},
"territory": {
"label": "领土变更",
"description": "该场军事冲突所造成的领土的改变情况",
"type": "string",
"required": false
},
"combatant1": {
"label": "参战方1",
"description": "参与该场军事冲突的第一方阵营",
"type": "string/wiki-page-name",
"required": false
},
"combatant2": {
"label": "参战方2",
"description": "参与该场军事冲突的第二方阵营",
"type": "string/wiki-page-name",
"required": false
},
"commander1": {
"label": "指挥官1",
"description": "参与该场军事冲突的第一方阵营的军事指挥官",
"type": "string",
"required": false
},
"commander2": {
"label": "指挥官2",
"description": "参与该场军事冲突的第二方阵营的军事指挥官",
"type": "string",
"required": false
},
"commander3": {
"label": "指挥官3",
"description": "参与该场军事冲突的第三方阵营的军事指挥官",
"type": "string",
"required": false
},
"units1": {
"label": "參戰單位1",
"description": "参与该场军事冲突的第一方阵营的战斗单位",
"type": "string",
"required": false
},
"units2": {
"label": "參戰單位2",
"description": "参与该场军事冲突的第二方阵营的战斗单位",
"type": "string",
"required": false
},
"units3": {
"label": "參戰單位3",
"description": "参与该场军事冲突的第三方阵营的战斗单位",
"type": "string",
"required": false
},
"strength1": {
"label": "兵力1",
"description": "参与该场军事冲突的第一方阵营所投入的兵力",
"type": "string",
"required": false
},
"strength2": {
"label": "兵力2",
"description": "参与该场军事冲突的第二方阵营所投入的兵力",
"type": "string",
"required": false
},
"strength3": {
"label": "兵力3",
"description": "参与该场军事冲突的第三方阵营所投入的兵力",
"type": "string",
"required": false
},
"casualties1": {
"label": "伤亡1",
"description": "参与该场军事冲突的第一方阵营的伤亡与损失情况",
"type": "string",
"required": false
},
"casualties2": {
"label": "伤亡2",
"description": "参与该场军事冲突的第二方阵营的伤亡与损失情况",
"type": "string",
"required": false
},
"casualties3": {
"label": "伤亡3",
"description": "参与该场军事冲突的第三方阵营的伤亡与损失情况",
"type": "string",
"required": false
},
"notes": {
"label": "备注",
"description": "与信息框内容相关的注释说明",
"type": "string",
"required": false
}
},
"sets": [
{
"label": "图片",
"params": ["image", "caption"]
},
{
"label": "参战的第一阵营",
"params": ["combatant1", "commander1", "units1", "strength1", "casualties1"]
},
{
"label": "参战的第二阵营",
"params": ["combatant2", "commander2", "units2", "strength2", "casualties2"]
},
{
"label": "参战的第三阵营",
"params": ["combatant3", "commander3", "units3", "strength3", "casualties3"]
}
]
} </templatedata>
此模板產生的HTML标记包含了hCalendar微格式,能夠讓電腦解析事件的详情,便于维基百科将该条目归类,或让用户通过浏览器将该事件添加进日历或日记应用程序中。關於微格式的更多使用資訊,請參閱維基百科的微格式專題。
日期只会在使用了{{Start date}}或{{End date}}的情况下显示,URL只会在使用了{{Url}}的情况下被包含。
hCalendar使用的HTML class包括:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
請勿移除或修改這些class,也請勿更改或移除有相關設定之模板及設定。
參見
- {{Campaign}}:集合多場戰役、戰爭的模板。
- {{Infobox military attack}}:单方军事行动。
- {{Infobox Civil Conflict}}:群眾的警民衝突、社會運動、抗議、示威、遊行、暴動條目。
- {{Infobox civilian attack}}:警民衝突、恐怖活動、犯罪、命案條目。
- {{Infobox event}}:事故(海難、踩踏事故)、事件條目。
- {{Infobox rail accident}}:鐵路事故。
- {{Infobox aircraft occurrence}}:航空事故。
| 上述文档嵌入自Template:Infobox military conflict/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |