今天是2024年11月25日 第48周 星期一

代人,时大变了。

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

模板:FromOther/doc

出自Akarin
< Template:FromOther
於 2020年6月1日 (一) 08:39 由 One-Six對話 | 貢獻 所做的修訂 (导入6个版本:测试导入导出;来源为EnMGP)
跳至導覽 跳至搜尋

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|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=|contribURL=}}

Template data

Page-top (or section-top) notice for pages and materials originally from different contributors.

模板參數

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

參數描述類型狀態
site1site

The name of the original site.

預設
another wiki project
範例
Chinese Moegirlpedia
字串建議
page2page

The page of the origin. Links should be provided.

範例
[https://zh.moegirl.org/Are_you_OK Are you OK]
字串建議
is sectionsect

Use "sect" verbatim to mark a section as from another wiki project, instead of the entire page. All other inputs are ignored.

範例
sect
自動值
sect
字串選填
OriginURLoriginURL

Alternate to "page". Provide the link to the origin page.

範例
https://zh.moegirl.org/Are_You_OK
自動值
URL選填
Originorigin

Alternate to "page". Provide the name of the origin page; requires "originURL".

範例
Are You OK
字串選填
Copyrightcopyright

Provide the copyright type. Use "cc" of Creative Commons, "pd" for public domain, "agreement" or agreements with the copyright holder, or license name for anything else.

範例
cc; pd; the Apache license;
自動值
cc
字串建議
license subtypelsubtype

Used presently with "copyright=cc" only. Provide the correct CC license subtype (e.g. "BY-NC-SA").

範例
BY-NC-SA; BY; zero;
自動值
BY-NC-SA
字串建議
license versionlver

Used presently with "copyright=cc" only. Provide the correct license version.

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

An URL to the license or agreement. Do not use if the license type is CC; template will handle linking.

自動值
URL選填
Contributorscontributors

A list of contributors. Use only when the contributors are few.

範例
John Doe; Anna Ivanova and Xiaogang Wang; AWikiUser et al.;
字串選填
contributor URLcontribURL

A link to the list of contributors. For wiki projects, this is usually the history page.

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