此模板用於為合併引用 建立無專案符號列表 。它兼容簡短註腳 、完整引用模板和一般註釋。標準的無專案符號列表模板{{unbulleted list }}會破壞參考文獻內的換行格式,導致在第一個列表項前出現不必要的換行。比較範例如下:
使用{{ Multiref }} 的效果:[ 1]
^
For the sun's size, see Miller, Edward. The Sun. Academic Press. 2005: 1. For the moon's size, see Brown, Rebecca. Size of the Moon. Scientific American. 2007, 51 (78): 46. For the sun's heat, see Yamada, Hanako. Taiyō no netsu 太陽の熱 [The Sun's Heat]. Academic Press. 2005: 2.
對比使用{{ unbulleted list }} 的效果:[ 1]
^
For the sun's size, see Miller, Edward. The Sun. Academic Press. 2005: 1. For the moon's size, see Brown, Rebecca. Size of the Moon. Scientific American. 2007, 51 (78): 46. For the sun's heat, see Yamada, Hanako. Taiyō no netsu 太陽の熱 [The Sun's Heat]. Academic Press. 2005: 2.
基礎語法:
{{ Multiref
| 第一个引用内容
| 第二个引用内容
...
}}
如果任何匿名參數的內容中包含等號(=),必須將匿名參數寫出,即{{Multiref|1=}} 。例如:
{{ Multiref | [https://www.naxos.com/CatalogueDetail/?id = SWR19026CD "''Festliche Arien – Fritz Wunderlich'' "], [[ Naxos Records ]] SWR19026CD}} 將無輸出。但{{Multiref|1= [https://www.naxos.com/CatalogueDetail/?id=SWR19026CD "''Festliche Arien – Fritz Wunderlich''"], [[Naxos Records]] SWR19026CD}}能正常顯示:
「cite」系列模板 [ 編輯 ]
原始碼
效果
Body text.< ref > {{ Multiref | For the sun's size, see {{ cite book | last = Miller | first = Edward | title = The Sun | publisher = Academic Press | year = 2005 | page = 1 | ref = none}} | For the moon's size, see {{ cite journal | last = Brown | first = Rebecca | title = Size of the Moon | journal = Scientific American | volume = 51 | issue = 78 | year = 2007 | page = 46 | ref = none}} | For the sun's heat, see {{ cite book | last = Yamada | first = Hanako | script-title = ja:太陽の熱 | title = Taiyō no netsu | trans-title = The Sun's Heat | publisher = Academic Press | year = 2005 | page = 2 | ref = none}} }}</ ref > {{ reflist }}
Body text.[ 1]
^
For the sun's size, see Miller, Edward. The Sun. Academic Press. 2005: 1. For the moon's size, see Brown, Rebecca. Size of the Moon. Scientific American. 2007, 51 (78): 46. For the sun's heat, see Yamada, Hanako. Taiyō no netsu 太陽の熱 [The Sun's Heat]. Academic Press. 2005: 2.
簡短註腳 [ 編輯 ]
原始碼
效果
Text.< ref >{{ multiref | Smith, p. 2| Jones, p. 105| Singh, p. 93| Lee ''et al.'' , p. 22| Smith & Jones, p. 591}}</ ref >{{ reflist }}
Text.
[ 1]
^ Smith, p. 2 Jones, p. 105 Singh, p. 93 Lee et al. , p. 22 Smith & Jones, p. 591
或使用{{harvnb }}、{{harvtxt }}等模板:
原始碼
效果
Text.< ref > {{ Multiref | {{ harvnb | Yamada| 2005| p = 2}} | {{ harvnb | Brown| 2007| p = 105}} | {{ harvnb | Miller| 2005| p = 93}} }}</ ref >{{ reflist }}
上方的註腳連結至完整引用:
Yamada, Hanako. Taiyō no netsu 太陽の熱 [The Sun's Heat]. Academic Press. 2005.
Brown, Rebecca. Size of the Moon. Scientific American. 2007, 51 (78).
Miller, Edward. The Sun. Academic Press. 2005.
轉引來源 [ 編輯 ]
如果直接驗證條目內容的原始文獻無法獲取或未能查閱到,而是引用另一份包含該原始文獻引文的資料時。使用此模板可在參考文獻中將這兩項明確標示。
原始碼
效果
Text.< ref >{{ multiref | Smith, p. 2 citing| Jones, p. 105}}</ ref >{{ reflist }}
Text.
[ 1]
^ Smith, p. 2 citing Jones, p. 105
說明性註釋 [ 編輯 ]
原始碼
效果
There are many breeds of cat found in Venezuela,< ref >{{ multiref | For example,| Moggie, p. 2| Tom, p. 95}}</ ref > particular in the cities.< ref > Smith, p. 32</ ref >{{ reflist }}
There are many breeds of cat found in Venezuela,
[ 1] particular in the cities.
[ 2]
^ For example, Moggie, p. 2 Tom, p. 95
^ Smith, p. 32
原始碼
效果
There are many breeds of cat found in Venezuela,< ref >{{ multiref | One example,| Moggie, p. 2}}</ ref > particular in the cities.< ref > Smith, p. 32</ ref >{{ reflist }}
There are many breeds of cat found in Venezuela,
[ 1] particular in the cities.
[ 2]
已知問題 [ 編輯 ]
本模板通過抑制特定引用中的換行來實現部分功能。當頁面過短導致參考文獻與資訊框或圖片重疊時,此功能會失效。此時應改用{{clear }}等模板或{{multiref2 }}。
模板資料 [ 編輯 ]
<templatedata>
{
"description": "為合併引用建立無專案符號列表。",
"params": {
"1": {
"label": "專案1",
"type": "line",
"required": true
},
"2": {
"label": "專案2",
"type": "line",
"suggested": true
},
"3": {
"label": "專案3",
"type": "line"
},
"4": {
"label": "專案4",
"type": "line"
},
"5": {
"label": "專案5",
"type": "line"
},
"6": {
"label": "專案6",
"type": "line"
},
"7": {
"label": "專案7",
"type": "line"
},
"8": {
"label": "專案8",
"type": "line"
},
"9": {
"label": "專案9",
"type": "line"
},
"class": {
"description": "為包裹列表的
...
標籤添加自訂class",
"example": "plainlinks",
"type": "string"
},
"style": {
"description": "為包裹列表的
...
標籤添加自訂CSS樣式",
"example": "font-size: 90%;",
"type": "string",
"label": "樣式"
},
"list_style": {
"description": "為列表的
標籤添加自訂CSS樣式",
"label": "列表樣式",
"type": "string"
},
"item_style": {
"description": "為所有列表項(
... 標籤)添加統一CSS樣式",
"label": "專案樣式",
"type": "string"
},
"item1_style": {
"label": "專案1樣式",
"description": "為列表項1添加獨立CSS樣式",
"type": "string"
},
"item2_style": {
"label": "專案2樣式",
"description": "為列表項2添加獨立CSS樣式",
"type": "string"
},
"item3_style": {
"label": "專案3樣式",
"description": "為列表項3添加獨立CSS樣式",
"type": "string"
},
"item4_style": {
"label": "專案4樣式",
"description": "為列表項4添加獨立CSS樣式",
"type": "string"
},
"item5_style": {
"label": "專案5樣式",
"description": "為列表項5添加獨立CSS樣式",
"type": "string"
},
"item6_style": {
"label": "專案6樣式",
"description": "為列表項6添加獨立CSS樣式",
"type": "string"
},
"item7_style": {
"label": "專案7樣式",
"description": "為列表項7添加獨立CSS樣式",
"type": "string"
},
"item8_style": {
"label": "專案8樣式",
"description": "為列表項8添加獨立CSS樣式",
"type": "string"
},
"item9_style": {
"label": "專案9樣式",
"description": "為列表項9添加獨立CSS樣式",
"type": "string"
}
},
"paramOrder": [
"class",
"style",
"list_style",
"item_style",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"item1_style",
"item2_style",
"item3_style",
"item4_style",
"item5_style",
"item6_style",
"item7_style",
"item8_style",
"item9_style"
]
}
</templatedata>