mNo edit summary |
m +.cn Tag: Automation tool |
||
Line 20: | Line 20: | ||
===The <code>sect</code> parameter=== | ===The <code>sect</code> parameter=== | ||
You can use <code>|sect=sect</code>to mark a section instead of the entire page. | You can use <code>|sect=sect</code>to mark a section instead of the entire page. | ||
<nowiki>{{FromOther|</nowiki>'''sect=sect'''|site='''Chinese Moegirlpedia'''|originURL='''https://zh.moegirl.org/博丽灵梦#基本资料'''|origin='''博丽灵梦#基本资料'''|copyright=cc|lsubtype=<span style="font-weight:bold;color:#F00;">by-nc-sa</span>|lver=3.0|contribURL='''https://zh.moegirl.org/index.php?title=博丽灵梦&action=history'''}} | <nowiki>{{FromOther|</nowiki>'''sect=sect'''|site='''Chinese Moegirlpedia'''|originURL='''https://zh.moegirl.org.cn/博丽灵梦#基本资料'''|origin='''博丽灵梦#基本资料'''|copyright=cc|lsubtype=<span style="font-weight:bold;color:#F00;">by-nc-sa</span>|lver=3.0|contribURL='''https://zh.moegirl.org.cn/index.php?title=博丽灵梦&action=history'''}} | ||
yields | yields | ||
{{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}} | {{FromOther|sect=sect|site=Chinese Moegirlpedia|originURL=https://zh.moegirl.org.cn/博丽灵梦#基本资料|origin=博丽灵梦#基本资料|copyright=cc|lsubtype=by-nc-sa|lver=3.0|contribURL=https://zh.moegirl.org.cn/index.php?title=博丽灵梦&action=history}} | ||
===The <code>copyright</code> parameter=== | ===The <code>copyright</code> parameter=== | ||
Line 62: | Line 62: | ||
"label": "page", | "label": "page", | ||
"description": "The page of the origin. Links should be provided.", | "description": "The page of the origin. Links should be provided.", | ||
"example": "[https://zh.moegirl.org/Are_you_OK Are you OK]", | "example": "[https://zh.moegirl.org.cn/Are_you_OK Are you OK]", | ||
"type": "string", | "type": "string", | ||
"suggested": true, | "suggested": true, | ||
Line 78: | Line 78: | ||
"originURL": { | "originURL": { | ||
"description": "Alternate to \"page\". Provide the link to the origin page.", | "description": "Alternate to \"page\". Provide the link to the origin page.", | ||
"example": "https://zh.moegirl.org/Are_You_OK", | "example": "https://zh.moegirl.org.cn/Are_You_OK", | ||
"type": "url", | "type": "url", | ||
"autovalue": "" | "autovalue": "" | ||
Line 124: | Line 124: | ||
"label": "contributor URL", | "label": "contributor URL", | ||
"description": "A link to the list of contributors. For wiki projects, this is usually the history page.", | "description": "A link to the list of contributors. For wiki projects, this is usually the history page.", | ||
"example": "https://zh.moegirl.org/index.php?title=Are_You_OK&actgion=history;", | "example": "https://zh.moegirl.org.cn/index.php?title=Are_You_OK&actgion=history;", | ||
"type": "url", | "type": "url", | ||
"suggested": true | "suggested": true |
This is a page-top or section-top template used to mark pages originally from different wiki projects.
You may simply use {{FromOther}}
, but this is not recommended. Instead, you are encouraged to give credit whenever you can.
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
sect
parameterYou can use |sect=sect
to mark a section instead of the entire page.
{{FromOther|sect=sect|site=Chinese Moegirlpedia|originURL=https://zh.moegirl.org.cn/博丽灵梦#基本资料|origin=博丽灵梦#基本资料|copyright=cc|lsubtype=by-nc-sa|lver=3.0|contribURL=https://zh.moegirl.org.cn/index.php?title=博丽灵梦&action=history}}
yields
copyright
parameterCurrently, the copyright
parameter allows one to choose between three types of predefined license or define their own license.
copyright=cc
.lsubtype
parameter and the license version via the lver
parameter.licenseURL
.zero
.{{FromOther|copyright=cc|lsubtype=|lver=|contribURL=}}
copyright=pd
.{{FromOther|copyright=pd}}
copyright=agreement
.licenseURL
to provide a link to the text of the agreement or proof of its existence if possible.{{FromOther|copyright=agreement|contribURL=}}
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.{{FromOther|copyright=|contribURL=}}
Page-top (or section-top) notice for pages and materials originally from different contributors.
Parameter | Description | Type | Status | |
---|---|---|---|---|
site | 1 site | The name of the original site.
| String | suggested |
page | 2 page | The page of the origin. Links should be provided.
| String | suggested |
is section | sect | Use "sect" verbatim to mark a section as from another wiki project, instead of the entire page. All other inputs are ignored.
| String | optional |
originURL | originURL | Alternate to "page". Provide the link to the origin page.
| URL | optional |
origin | origin | Alternate to "page". Provide the name of the origin page; requires "originURL".
| String | optional |
copyright | copyright | 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.
| String | suggested |
license subtype | lsubtype | Used presently with "copyright=cc" only. Provide the correct CC license subtype (e.g. "BY-NC-SA").
| String | suggested |
license version | lver | Used presently with "copyright=cc" only. Provide the correct license version.
| String | suggested |
license URL | licenseURL | An URL to the license or agreement. Do not use if the license type is CC; template will handle linking.
| URL | optional |
contributors | contributors | A list of contributors. Use only when the contributors are few.
| String | optional |
contributor URL | contribURL | A link to the list of contributors. For wiki projects, this is usually the history page.
| URL | suggested |