模板:Citation/doc

語出Minecraft Wiki
跳至導覽 跳至搜尋
此乃案文,其應為置於模板:Citation,閱模板:Documentation以膺詳訊。
捷徑
cite
link

用于链接到参考中里的网站。类似于维基百科的Cite web模板。

参数[纂碼]

用于在引用中创建到网站的链接。

模板參數

此模板以參數行內格式為優先。

參數描述類型狀態
URLurl

页面的完整URL。

字串建議
页面标题title

页面的标题。

字串建議
段落section

指定要引用的页面中的特定段落。

字串非必填
是否为失效链接?dead-link

当页面不存在时设置。

布林值非必填
是否不列入分类?nocat

在主命名空间外使用,用于不把页面列入分类中。

布林值非必填
存档URLarchive-url

存档页的链接。

字串非必填
存档archive

生成一个自动存档页链接(链接到被存档的第一个版本),需要减少字节数时很有用。

布林值非必填
存档时间archive-time

指定自动生成的存档页链接的存档时间。默认为0(即被存档的第一个版本)。

字串非必填
作者author

页面的作者。

字串建議
网站website

页面所处网站的名字。

字串建議
日期date

页面创建的时间。

日期建議
引文quote

显示从文章中引用的一句话。

字串非必填

用法[纂碼]

短模板

{{citation|<url=>|<title=>}}

完整模板

{{citation|<url=>|<title=>|<section=>|<website=>|<author=>|<date=>|<quote=>|<archive-url=>|<dead-link=>}}

示例[纂碼]

简单[纂碼]

{{citation
|url=https://www.pcgamesn.com/minecraft/minecraft-to-the-last-tree-polish-primeval-forest
|title=How Minecraft helped save one of the world's biggest primeval forests
|website=PC Games N
}}

How Minecraft helped save one of the world's biggest primeval forests  — PC Games N

扩展[纂碼]

{{citation
|url=https://www.pcgamesn.com/minecraft/minecraft-to-the-last-tree-polish-primeval-forest
|title=How Minecraft helped save one of the world's biggest primeval forests
|website=PC Games N
|author=Kirk McKeand
|date=2018年1月26日
}}

How Minecraft helped save one of the world's biggest primeval forests ,自Kirk McKeand之手。 PC Games N,日期格式錯誤。

失效链接[纂碼]

{{citation
|url=https://www.pcgamesn.com/minecraft/minecraft-to-the-last-tree-polish-primeval-forest
|title=How Minecraft helped save one of the world's biggest primeval forests
|website=PC Games N
|dead-link=true
}}

How Minecraft helped save one of the world's biggest primeval forests敗鏈  — PC Games N

仅存档URL[纂碼]

{{citation
|url=http://web.archive.org/web/20180510040828/https://www.pcgamesn.com/minecraft/minecraft-to-the-last-tree-polish-primeval-forest
|title=How Minecraft helped save one of the world's biggest primeval forests
|website=PC Games N
}}

How Minecraft helped save one of the world's biggest primeval forests(留檔)  — PC Games N

有普通和存档URL[纂碼]

{{citation
|url=https://www.pcgamesn.com/minecraft/minecraft-to-the-last-tree-polish-primeval-forest
|title=How Minecraft helped save one of the world's biggest primeval forests
|website=PC Games N
|archive-url=http://web.archive.org/web/20180510040828/https://www.pcgamesn.com/minecraft/minecraft-to-the-last-tree-polish-primeval-forest
}}

How Minecraft helped save one of the world's biggest primeval forests (留檔) — PC Games N