跳至內容

模板:Cite FTP/doc

本頁使用了標題或全文手工轉換
維基百科,自由的百科全書

Cite FTP is for citing FTP links such as ftp://

FTP has been largely deprecated since 2021. FTP is no longer natively supported by most modern web browsers due to security, and other complications with protocol variations. Some FTP links can be converted to HTTPS links simply by changing ftp:// --> https:// .. please do this where possible, then use {{cite web}} or a similar template.

Some FTP links are only available as ftp:// and that is what this template is for.

If there is also a copy of the ftp:// link on the Wayback Machine, use that in {{cite web}} with |archive-url= and |url-status=dead. This way it will be readable on the web for the broadest number of users, without needing an FTP client. For this reason, this template does not support |archive-url= .. if an archive URL exists, use {{cite web}} or other CS1|2 templates.

For further information see Help:FTP.

用法

[編輯]

Use the same as {{Cite web}} except replace |work= (or |website=) with |server=

Example:

  • {{cite FTP |last1=Standish |first1=Myles |date=October 31, 1997 |title=CDroms |server=Jet Propulsion Laboratory |url=ftp://ssd.jpl.nasa.gov/pub/eph/planets/CDROM.notes}}
    Output: Standish, Myles. CDroms. Jet Propulsion Laboratory (FTP). October 31, 1997.  無效|mode=Module:Citation_mode第14行Lua錯誤:attempt to index field 'global_cs1_config_t' (a nil value) (幫助) 要檢視檔案,請參閱說明:檔案傳輸協議(FTP)英語Help:FTP

|url= is required and must have a value that uses the ftp:// scheme. When the value assigned to |url= does not have an ftp:// scheme, this template emits an error message:

{{Cite FTP}} must use ftp:// scheme

These errors are categorized in Category:使用不正確URL引用FTP的條目.

{{cite FTP}} accepts most of the parameters that {{cite web}} will accept. The template ignores: |archive-url=, |archive-date=, and their unhyphenated aliases. |publisher=, |website=, and |work= are also ignored; replace these with |server=.

Unlike {{cite web}} (which this template wraps), |url-status= is supported without |archive-url=. |url-status= accepts a single value: dead; any other value is ignored. When |url-status=dead, the template renders a [dead ftp link] annotation and categorizes the article in Category:包含失效FTP連結的條目.