模板:Reflist/doc
Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted
Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted[[Category:模板:SUBJECTSPACE ZH说明文件]]
Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted
Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted
使用本模板可在條目中顯示註腳(<ref>...</ref>)列表。其涵盖了<references />的所有功能。
参数解说
-{}-{{Reflist|欄位數/欄位寬度|group=组别|refs=列表內容|liststyle=|list=}}
本模板所有参数均为可选
- 无名参数1
- 按列数分欄(填入自然数):如
-{}-{{Reflist|2}}將會創造出一個兩欄式的的注釋列表,而-{}-{{Reflist|3}}會產生一個三欄式的列表。視窗大小可变,请慎重定义列数。 - 按固定寬度分欄(填入em等排印单位):如
-{}-{{Reflist|25em}},瀏覽器會依照這個數值和當前的視窗大小,自動調整欄位數目。 - 不填任何内容默认为1。
group- 参见分组注释
refs- 将脚注内容集中到一起存放,参见#统一存放参考信息集
liststylelist- 手工列出一般参考资料,使用此参数时,模板原本列出
<references />的功能会无效化。可用{{ReflistH}}/{{ReflistF}}模板替代。
过时参数
colwidth- 已合并到无名参数1
用法
| -{zh-cn:代码; zh-tw:原始碼;}- | 效果 |
|---|---|
一條青龍一氣通<ref>參考1</ref>,二盤連莊二本場<ref>參考2</ref>。
==參考資料==
{{Reflist}}
|
|
| -{zh-cn:代码; zh-tw:原始碼;}- | 效果 |
|---|---|
一條青龍一氣通,二盤連莊二本場。
==參考資料==
{{Reflist|list=
* 书目a
* 书目b
}}
|
一條青龍一氣通,二盤連莊二本場。 參考資料
|
| -{zh-cn:代码; zh-tw:原始碼;}- | 效果 |
|---|---|
一條青龍一氣通<ref>參考1</ref>,二盤連莊二本場<ref>參考2</ref>。
==參考資料==
{{Reflist}}
{{Reflist|list=
* 书目a
* 书目b
}}
|
|
分栏
Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted
複數欄位是使用 CSS3 作為基礎,目前使用Gecko(如Mozilla Firefox等)与Kestrel(Opera9.5及以上版本)作排版引擎的瀏覽器會得到較佳的效果[參 1],但由於 CSS 是網頁上的標準之一,因此日後將能適用在更多的瀏覽器[參 2]。
| -{zh-cn:代码; zh-tw:原始碼;}- | 效果 |
|---|---|
一條青龍一氣通<ref>參考1</ref>,二盤連莊二本場<ref>參考2</ref>。
==參考資料==
{{Reflist|2}}
|
|
| -{zh-cn:代码; zh-tw:原始碼;}- | 效果 |
|---|---|
一條青龍一氣通<ref>參考1</ref>,二盤連莊二本場<ref>參考2</ref>。
==參考資料==
{{Reflist|30em}}
|
|
分組註釋
於2008年6月開始,腳註系統支援了把註釋分成不同組合。這允許組合註釋、參考以及其他。請參閱 <span style="font-family: sans-serif; cursor: default; color:#54595d; font-size: 0.8em; bottom: 0.1em; font-weight: bold;" title="Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted到英語Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted">(英文)Wikipedia:Footnotes#Separating reference lists and explanatory notes。
標籤的原始碼为<ref group="groupname">,对应註腳列表的原始碼,{{-{}-Reflist|group="groupname"}}。而其中的「groupname」是組合的名稱,如「注」、「参」或「标签」。注意groupname对简繁体敏感。
部分分组会显示特殊效果,如<ref group="upper-alpha">...</ref>的生成的脚注为[A],<ref group="lower-alpha">...</ref>生成的为[a]。
| -{zh-cn:代码; zh-tw:原始碼;}- | 效果 |
|---|---|
三元兼四喜,滿貫<ref group="注释">注释1</ref>遇全么<ref group="参考">参考1</ref>。
花<ref group="注释">注释2</ref>自槓頭髮,月從海底撈<ref group="参考">参考2</ref>。
==注释和参考资料==
===注释===
{{Reflist|group=注释}}
===参考===
{{Reflist|group=参考}}
|
|
统一存放参考信息集
从2014年2月开始,该模板可以通过|refs=统一存放注脚信息来方便管理。此次更新的相關引用错误问题的提示文件見en:Help:Cite errors。
| -{zh-cn:代码; zh-tw:原始碼;}- | 效果 |
|---|---|
这是参考A<ref name="refname1" />。
这是参考B<ref name="refname2" />。
==参考资料==
{{Reflist|refs=
<ref name="refname1">内容1</ref>
<ref name="refname2">内容2</ref>
}}
|
|
模板數據
Reflist-{zh-cn:模板数据;zh-tw:模板資料}-
<templatedata> {
"description": "在條目中加入一個使用較小字級顯示的註腳列表。",
"params": {
"colwidth": {
"label": "欄位的寬度",
"description": "瀏覽器會依照這個數值和當前的視窗大小自動調整欄位數目,請依照該頁面中注釋的平均寬度來填寫欄位的寬度數值。填入後參數「1」將被忽略。",
"type": "string/line",
"required": false
},
"1": {
"label": "欄位的數目",
"description": "欄位的數目,填入2將創造一個兩欄式的的注釋列表,如此類推。",
"type": "number",
"default": "1",
"required": false
},
"list": {
"label": "自定義註釋內容",
"description": "自定義註釋內容。",
"default": "",
"type": "string",
"required": false
},
"refs": {
"type": "string",
"required": false
},
"group": {
"label": "註腳組別名稱",
"description": "註腳組別的名稱,即在插入參考文獻時「使用此組」輸入的名稱。",
"type": "string/line",
"required": false
}
}
} </templatedata>
参考文献
參見
{{-{}-ReferencesWithExtra}}{{-{}-Notelist}}{{-{}-TRefList}}- 在討論頁顯示參考文獻請用
{{-{}-Reflist-talk}} - Wikipedia:腳注
- Wikipedia:列明來源