Difference between revisions of "Template:FromOtherWiki/doc"

From Moegirlpedia
Jump to: navigation, search
(copyright parameter)
(copyright parameter)
Line 30: Line 30:
 
#*Use this option if you have a license from the copyright owner or author for Moegirlpedia (ie, not a generic license like CC). Please still tag the source and author as usual, and use the <code>licenseURL</code> parameter to provide the license file itself, or the address of a web page that proves the license exists.
 
#*Use this option if you have a license from the copyright owner or author for Moegirlpedia (ie, not a generic license like CC). Please still tag the source and author as usual, and use the <code>licenseURL</code> parameter to provide the license file itself, or the address of a web page that proves the license exists.
 
#Custom authorization.
 
#Custom authorization.
The #*<code>copyright</code> parameter should be assigned the name of the authorization certificate you want to use (eg <code>copyright=Apache Certificate</code>; use <code>licenseURL</code> to connect to the original address of the certificate. Link to the original authors according to the requirements of the authorization certificate.
+
#*<code>The copyright</code> parameter should be assigned the name of the authorization certificate you want to use (eg <code>copyright=Apache Certificate</code>; use <code>licenseURL</code> to connect to the original address of the certificate. Link to the original authors according to the requirements of the authorization certificate.
  
 
=== Attribution ===
 
=== Attribution ===

Revision as of 21:10, 9 May 2022

This template is rewritten on the basis of {{FromOther}}, using interwiki links to simplify parameter filling.

Because this template does not have a built-in compatibility judgment syntax, it is recommended to use Template:FromOther/wiki.

Parameters

  • interwiki: required parameter, prefix for interwiki links, all available prefixes, see Special:interwiki. It also corresponds to the anonymous parameter 1.
    Currently, only common site names (zhwiki=Chinese Wikipedia, enwiki=English Wikipedia, jawiki=Japanese Wikipedia, metawikimedia=MetaWiki) and default protocols are written in the template, welcome to add them.
  • pagename: Required parameter, the name of the referenced page.
  • oldid: optional parameter, the version id referenced from, which can be seen in the browser address bar of the historical version.
  • sect: optional parameter, you can use |sect=sect to make the template mark only one paragraph (not the whole page).
  • sectlink: Optional parameter, pointing to the specific section name of the referenced page.

The following are things that are generally not used (

copyright parameter

The following is quoted from the template documentation of {{FromOther}}. The only difference from the FromOther template is that this template defines the default protocol of common sites.

The copyright parameter is the most complex parameter system in this template. Currently, it allows users to choose one of three authorization methods or to define a certificate themselves.

  1. CC protocol.
    • copyright=cc.
    • When the CC protocol is selected, a protocol subclass (such as "BY", "BY-NC-SA", etc.) must be provided with the lsubtype parameter, and the lver parameter must be used Provide a correct protocol version number.
    • The templates automatically generates protocol URLs. Do not use licenseURL.
    • The template has special support for CC0: the subclass of CC0 is zero, and the version number is 1.0.
  2. Public domain.
    • copyright=pd.
    • Although it is generally not necessary to attribute the content cited from the public domain, if you know the author's name and the source URL, please attach it.
  3. (Special) agreement or authorization.
    • copyright=agreement.
    • Use this option if you have a license from the copyright owner or author for Moegirlpedia (ie, not a generic license like CC). Please still tag the source and author as usual, and use the licenseURL parameter to provide the license file itself, or the address of a web page that proves the license exists.
  4. Custom authorization.
    • The copyright parameter should be assigned the name of the authorization certificate you want to use (eg copyright=Apache Certificate; use licenseURL to connect to the original address of the certificate. Link to the original authors according to the requirements of the authorization certificate.

Attribution

This template provides two methods of attribution: you can use contribURL to link to a page listing all contributors (for wiki projects, this is usually the page for viewing historical versions), or you can use contributors directly lists the names of all contributors or copyright holders. For co-authored sources such as quotes from Wiki projects and books compiled by a large number of editors, please use the former as much as possible (you can consider using Moegirl Library to include editor pages), because it is either impossible to list all contributors directly, or it will take up a lot of page space . Use the contributors parameter only with few contributors or copyright holders.

See also