Template:Self/doc: Difference between revisions
Template page
More actions
No edit summary |
|||
| Line 116: | Line 116: | ||
|sl=Ta predloga podpira vključitev do šest licenc. | |sl=Ta predloga podpira vključitev do šest licenc. | ||
}} | }} | ||
|type= | |type= | ||
|example= | |example= | ||
|i18n-method=mediawiki-msg | |Revoke-i18n-method=mediawiki-msg | ||
|i18n-desc= | |Revoke-i18n-desc= | ||
|i18n-mediawiki-msg= | |Revoke-i18n-mediawiki-msg= | ||
|seealso= | |seealso= | ||
|setscats= | |setscats= | ||
* [[:Category: | * [[:Category:Host-published work]] | ||
* [[:Category:Files with invalid parameter in | * [[:Category:Files with invalid parameter in Host template]] if a invalid license like PD-old is specified for the first parameter. | ||
|lines=one | |lines=one | ||
|shorthand= | |shorthand= | ||
| Line 136: | Line 136: | ||
!bgcolor=#CCCCFF|Effect | !bgcolor=#CCCCFF|Effect | ||
|- | |- | ||
|<nowiki>{{ | |<nowiki>{{Host|cc-by-sa-4.0}}</nowiki> | ||
|{{ | |{{Host|cc-by-sa-4.0}} | ||
|- | |- | ||
|colspan= | |colspan=1| | ||
|- | |- | ||
!bgcolor=#CCCCFF|Code | !bgcolor=#CCCCFF|Code | ||
!bgcolor=#CCCCFF|Effect | !bgcolor=#CCCCFF|Effect | ||
|- | |- | ||
|<nowiki>{{ | |<nowiki>{{Host|GFDL|cc-by-sa-4.0,3.0,2.5,2.0,1.0}}</nowiki> | ||
|{{ | |{{Host|GFDL|cc-by-sa-4.0,3.0,2.5,2.0,1.0}} | ||
|- | |- | ||
|colspan= | |colspan=1| | ||
|- | |- | ||
|<nowiki>{{ | |<nowiki>{{Host|GFDL|cc-by-sa-4.0,3.0,2.5,2.0,1.0|author=}}</nowiki> | ||
|{{ | |{{Host|GFDL|cc-by-sa-4.0,3.0,2.5,2.0,1.0|author=Person}} | ||
|} | |} | ||
<includeonly> | <includeonly> | ||
[[Category: | [[Category:templates|Host]] | ||
[[Category:Autotranslated templates| | [[Category:Autotranslated templates|Host]] | ||
</includeonly> | </includeonly> | ||
Revision as of 02:19, 2 January 2025
Template used to surround one or several license tags
The template automatically sets the following categories:
- Category:Host-published work
- Category:Files with invalid parameter in Host template if a invalid license like PD-old is specified for the first parameter.
Usage
{{Self |1= |author= |attribution= }}
Deutsch: Diese Vorlage unterstützt das Einschließen von bis zu sechs Lizenzen.
English: This template supports the inclusion of up to 6 licenses.
Español: Esta plantilla soporta la inclusión de hasta 6 licencias.
Esperanto: Ĉi tiu ŝablono permesas maksimume ses permesilojn.
Français : Ce modèle autorise jusqu’à six licences.
Slovenščina: Ta predloga podpira vključitev do šest licenc.
Беларуская (тарашкевіца): Гэты шаблён падтрымлівае ўключэньне да 6 ліцэнзіяў.
Қазақша: Бұл үлгі 6 лицензия белгісін қабылдайды.
Македонски: Ова предлошка поддржува до 6 лиценци.
Русский: Этот шаблон поддерживает включение до 6 меток лицензий.
日本語: このテンプレートは、最大6ライセンスの参照読み込みに対応しています。
العربية : يدعم هذا القالب تضمين عدد من الرخص يصل حتى 6.
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | License tag | empty | required | |
2 | Other license tag. There is unlimited number of numbered inputs allowed for additional license tags. | empty | optional | |
author | The author of the work (do not use if the uploader is the author) | empty | optional | |
attribution | Attribution note, if different from “Author” | Author | optional | |
migration | Parameter used as part of the relicensing procedure. | empty | optional | |
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Placement: In the "Permission" parameter of the {{Information}} template (or the respective parameter of similar templates) or in the "Licensing" section
Example
| Code | Effect |
|---|---|
| {{Host|cc-by-sa-4.0}} | Template:Host |
| Code | Effect |
| {{Host|GFDL|cc-by-sa-4.0,3.0,2.5,2.0,1.0}} | Template:Host |
| {{Host|GFDL|cc-by-sa-4.0,3.0,2.5,2.0,1.0|author=}} | Template:Host |