行 40: |
行 40: |
| #*<code>copyright=agreement</code>. | | #*<code>copyright=agreement</code>. |
| #*This applies when a copyright holder(s) agree to release their copyrighted material for use by Moegirlpedia. Credit as usual, but use <code>licenseURL</code> to provide a link to the text of the agreement or proof of its existence if possible. | | #*This applies when a copyright holder(s) agree to release their copyrighted material for use by Moegirlpedia. Credit as usual, but use <code>licenseURL</code> to provide a link to the text of the agreement or proof of its existence if possible. |
− | #*Barebone: <code><nowiki>{{FromOther|copyright=agreement|contribURL=}}</nowiki></code> | + | #*Barebone: <code><nowiki>{{FromOther|copyright=agreement|licenseURL=|contribURL=}}</nowiki></code> |
| #Other licenses. | | #Other licenses. |
| #*Let <code>copyright</code> be the name of the license (e.g. <code>copyright=the Apache License</code>), and use <code>licenseURL</code> to provide a link to the text of the license. Credit the contributors as required by the license. | | #*Let <code>copyright</code> be the name of the license (e.g. <code>copyright=the Apache License</code>), and use <code>licenseURL</code> to provide a link to the text of the license. Credit the contributors as required by the license. |
− | #*Barebone: <code><nowiki>{{FromOther|copyright=|contribURL=}}</nowiki></code> | + | #*Barebone: <code><nowiki>{{FromOther|copyright=|licenseURL=|contribURL=}}</nowiki></code> |
| ==Template data== | | ==Template data== |
| <templatedata> | | <templatedata> |
行 49: |
行 49: |
| "params": { | | "params": { |
| "1": { | | "1": { |
− | "label": "site", | + | "label": " 网站", |
− | "description": "The name of the original site.", | + | "description": " 来源网站的名字。", |
− | "example": "Chinese Moegirlpedia", | + | "example": " 中文维基百科", |
| "type": "string", | | "type": "string", |
| "suggested": true, | | "suggested": true, |
− | "default": "another wiki project", | + | "default": " 另一个维基计划", |
| "aliases": [ | | "aliases": [ |
| "site" | | "site" |
行 60: |
行 60: |
| }, | | }, |
| "2": { | | "2": { |
− | "label": "page", | + | "label": " 页面", |
− | "description": "The page of the origin. Links should be provided.", | + | "description": " 来源页面的名字。如果想要使用链接,请写完整外链。", |
| "example": "[https://zh.moegirl.org/Are_you_OK Are you OK]", | | "example": "[https://zh.moegirl.org/Are_you_OK Are you OK]", |
| "type": "string", | | "type": "string", |
− | "suggested": true,
| |
| "aliases": [ | | "aliases": [ |
| "page" | | "page" |
− | ] | + | ], |
| + | "deprecated": "用“origin”和“originURL”代替。" |
| }, | | }, |
| "sect": { | | "sect": { |
− | "label": "is section", | + | "label": " 段落", |
− | "description": "Use \"sect\" verbatim to mark a section as from another wiki project, instead of the entire page. All other inputs are ignored.", | + | "description": " 为本参数赋值“sect”来让本模板仅标识一个段落而非整个页面。其他输入会被忽略。", |
| "example": "sect", | | "example": "sect", |
| "type": "string", | | "type": "string", |
行 77: |
行 77: |
| }, | | }, |
| "originURL": { | | "originURL": { |
− | "description": "Alternate to \"page\". Provide the link to the origin page.", | + | "description": " 提供来源页面的 URL。", |
| "example": "https://zh.moegirl.org/Are_You_OK", | | "example": "https://zh.moegirl.org/Are_You_OK", |
| "type": "url", | | "type": "url", |
− | "autovalue": "" | + | "autovalue": "", |
| + | "label": "来源 URL" |
| }, | | }, |
| "origin": { | | "origin": { |
− | "description": "Alternate to \"page\". Provide the name of the origin page; requires \"originURL\".", | + | "description": " 提供来源页面的名称。", |
| "example": "Are You OK", | | "example": "Are You OK", |
− | "type": "string" | + | "type": "string", |
| + | "label": "来源", |
| + | "suggested": true |
| }, | | }, |
| "copyright": { | | "copyright": { |
− | "description": "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.", | + | "description": " 提供版权或授权类型。要使用创意共享,请赋值\"cc\" ;要使用公共领域,请赋值\"pd\" ;要使用\b作者授权,请赋值\"agreement\" ;要使用任何其他授权证书,直接填写证书名字。", |
− | "example": "cc; pd; the Apache license;", | + | "example": "cc ;pd;Apache证书", |
| "type": "string", | | "type": "string", |
| "autovalue": "cc", | | "autovalue": "cc", |
− | "suggested": true | + | "suggested": true, |
| + | "label": "版权授权" |
| }, | | }, |
| "lsubtype": { | | "lsubtype": { |
− | "label": "license subtype", | + | "label": " 证书子类型", |
− | "description": "Used presently with \"copyright=cc\" only. Provide the correct CC license subtype (e.g. \"BY-NC-SA\").", | + | "description": " 目前仅在证书为CC时可用。提供正确的CC证书子类型(如“BY-NC-SA ”)。", |
− | "example": "BY-NC-SA; BY; zero; ", | + | "example": "BY-NC-SA ;BY;zero", |
| "type": "string", | | "type": "string", |
− | "autovalue": "BY-NC-SA", | + | "autovalue": "BY-SA", |
| "suggested": true | | "suggested": true |
| }, | | }, |
| "lver": { | | "lver": { |
− | "label": "license version", | + | "label": " 证书版本号", |
− | "description": "Used presently with \"copyright=cc\" only. Provide the correct license version.", | + | "description": " 目前仅在证书为CC时可用。提供正确的CC证书版本号。", |
− | "example": "3.0; 4.0;", | + | "example": "3.0 ;4.0", |
| "type": "string", | | "type": "string", |
| "autovalue": "4.0", | | "autovalue": "4.0", |
行 111: |
行 115: |
| }, | | }, |
| "licenseURL": { | | "licenseURL": { |
− | "description": "An URL to the license or agreement. Do not use if the license type is CC; template will handle linking.", | + | "description": " 到证书或授权的链接。如果证书类型是CC则不必填写本项;模板会自动生成链接。", |
| "type": "url", | | "type": "url", |
| "autovalue": "", | | "autovalue": "", |
− | "label": "license URL" | + | "label": " 证书 URL" |
| }, | | }, |
| "contributors": { | | "contributors": { |
− | "description": "A list of contributors. Use only when the contributors are few.", | + | "description": " 列出所有贡献者。仅在贡献者数量很少或可以省略时使用。", |
− | "example": "John Doe; Anna Ivanova and Xiaogang Wang; AWikiUser et al.;", | + | "example": "John Doe ;王小刚和Anna Ivanova ;维基用户 et al.", |
− | "type": "string" | + | "type": "string", |
| + | "label": "贡献者" |
| }, | | }, |
| "contribURL": { | | "contribURL": { |
− | "label": "contributor URL", | + | "label": " 贡献者 URL", |
− | "description": "A link to the list of contributors. For wiki projects, this is usually the history page.", | + | "description": " 到所有贡献者列表的链接。对于维基计划而言,这通常是查看历史版本的页面。", |
| "example": "https://zh.moegirl.org/index.php?title=Are_You_OK&actgion=history;", | | "example": "https://zh.moegirl.org/index.php?title=Are_You_OK&actgion=history;", |
| "type": "url", | | "type": "url", |
行 129: |
行 134: |
| } | | } |
| }, | | }, |
− | "description": "Page-top (or section-top) notice for pages and materials originally from different contributors.", | + | "description": " 用来标记原先来自其他地方的页面或内容的页顶(或段顶)模板。", |
| "paramOrder": [ | | "paramOrder": [ |
| "1", | | "1", |
− | "2",
| |
| "sect", | | "sect", |
| + | "origin", |
| "originURL", | | "originURL", |
− | "origin",
| |
| "copyright", | | "copyright", |
| "lsubtype", | | "lsubtype", |
行 141: |
行 145: |
| "licenseURL", | | "licenseURL", |
| "contributors", | | "contributors", |
− | "contribURL" | + | "contribURL", |
| + | "2" |
| ], | | ], |
| "format": "inline" | | "format": "inline" |
| } | | } |
| </templatedata> | | </templatedata> |