今天是2024年6月29日 第26周 星期六

代人,时大变了。

我们生活在大地上,但我们的梦想超越天空。

模板:FromOther

出自Akarin
跳至導覽 跳至搜尋
50px 模板文件[檢視] [編輯] [歷史] [清除快取]

This is a page-top or section-top template used to mark pages originally from different wiki projects.

Syntax

You may simply use {{FromOther}}, but this is not recommended. Instead, you are encouraged to give credit whenever you can.

Common usage

In most cases, you can use:

{{FromOther|site=|originURL=|origin=|copyright=cc|lsubtype=by-sa|lver=4.0|contribURL=}}

You will provide the site name, a link to original page, the name of the page, and a link to a list of contributors. This particular template declares that the original page is shared under CC BY-SA 4.0. Make sure to check if the license is correct.

For works that have few contributors or no website detailing the contributors, you may use contributors instead of contribURL.

For example: If you are to reference "Earth" from English wikipedia, use

{{FromOther|site=English Wikipedia|originURL=https://en.wikipedia.org/wiki/Earth|origin=Earth|copyright=cc|lsubtype=by-sa|lver=3.0|contribURL=https://en.wikipedia.org/w/index.php?title=Earth&action=history}}

which yields

The sect parameter

You can use |sect=sectto mark a section instead of the entire page.

{{FromOther|sect=sect|site=Chinese Moegirlpedia|originURL=https://zh.moegirl.org/博丽灵梦#基本资料|origin=博麗靈夢#基本資料|copyright=cc|lsubtype=by-nc-sa|lver=3.0|contribURL=https://zh.moegirl.org/index.php?title=博丽灵梦&action=history}}

yields

The copyright parameter

Currently, the copyright parameter allows one to choose between three types of predefined license or define their own license.

  1. Creative Commons.
    • copyright=cc.
    • You will also need to provide the license subtype (e.g. "BY", "BY-NC-SA", etc.) via the lsubtype parameter and the license version via the lver parameter.
    • The template will automatically generate link to the respective CC licenses with the above provided information; do not use licenseURL.
    • Special support is made for CC0 1.0. The license subtype is zero.
    • Barebone: {{FromOther|copyright=cc|lsubtype=|lver=|contribURL=}}
  2. Public Domain.
    • copyright=pd.
    • Although it is not necessary to credit public domain material, it is a good gesture to do so.
    • Barebone: {{FromOther|copyright=pd}}
  3. Agreement.
    • copyright=agreement.
    • This applies when a copyright holder(s) agree to release their copyrighted material for use by Moegirlpedia. Credit as usual, but use licenseURL to provide a link to the text of the agreement or proof of its existence if possible.
    • Barebone: {{FromOther|copyright=agreement|licenseURL=|contribURL=}}
  4. Other licenses.
    • Let copyright be the name of the license (e.g. copyright=the Apache License), and use licenseURL to provide a link to the text of the license. Credit the contributors as required by the license.
    • Barebone: {{FromOther|copyright=|licenseURL=|contribURL=}}

Template data

用來標記原先來自其他地方的頁面或內容的頁頂(或段頂)模板。

模板參數

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

參數描述類型狀態
網站1site

來源網站的名字。

預設
另一個維基計劃
範例
中文維基百科
字串建議
段落sect

為本參數賦值「sect」來讓本模板僅標識一個段落而非整個頁面。其他輸入會被忽略。

範例
sect
自動值
sect
字串選填
來源origin

提供來源頁面的名稱。

範例
Are You OK
字串建議
來源 URLoriginURL

提供來源頁面的 URL。

範例
https://zh.moegirl.org/Are_You_OK
自動值
URL選填
版權授權copyright

提供版權或授權類型。要使用創意共享,請賦值"cc";要使用公共領域,請賦值"pd";要使用作者授權,請賦值"agreement";要使用任何其他授權證書,直接填寫證書名字。

範例
cc;pd;Apache證書
自動值
cc
字串建議
證書子類型lsubtype

目前僅在證書為CC時可用。提供正確的CC證書子類型(如「BY-NC-SA」)。

範例
BY-NC-SA;BY;zero
自動值
BY-SA
字串建議
證書版本號lver

目前僅在證書為CC時可用。提供正確的CC證書版本號。

範例
3.0;4.0
自動值
4.0
字串建議
證書 URLlicenseURL

到證書或授權的鏈接。如果證書類型是CC則不必填寫本項;模板會自動生成鏈接。

自動值
URL選填
貢獻者contributors

列出所有貢獻者。僅在貢獻者數量很少或可以省略時使用。

範例
John Doe;王小剛和Anna Ivanova;維基用戶 et al.
字串選填
貢獻者 URLcontribURL

到所有貢獻者列表的鏈接。對於維基計劃而言,這通常是查看歷史版本的頁面。

範例
https://zh.moegirl.org/index.php?title=Are_You_OK&actgion=history;
URL建議
頁面2page

來源頁面的名字。如果想要使用鏈接,請寫完整外鏈。

範例
[https://zh.moegirl.org/Are_you_OK Are you OK]
字串不建議使用