Template:Self/doc: Difference between revisions

From FamilySearch Wiki
(WhatsHisName)
(new doc)
Line 1: Line 1:
{{TemplateBox
{{Documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> This template accepts up to 6 licenses (the first 6 unnamed parameters, which should be the names of image license templates), and displays them as options to choose between in a multi-license. If the image was not uploaded by its author, you can change "I" at the start of the template to another name by setting the ''author='' parameter.  
|1=1
|1d={{Multilingual description
  |en=License tag
  |bar=D´ Lizenzbeschraibung
  |de=Lizenzbezeichung
  |fr=Bandeau de licence
  |mk=Ознака за лиценца
}}
|1def=
|1stat=required
|2=2
|2d={{Multilingual description
  |en=Other license tag
  |bar=waitre Lizenzbeschraibunga
  |de=weitere Lizenzbezeichung
  |fr=Autre bandeau de licence
  |mk=Друга ознака за лиценца
}}
|2def=
|2stat=optional-
|3=author
|3d={{Multilingual description
  |en=The author of the work (do not use if the uploader is the author)
  |bar=Autor vo dem Weak (wad ned heagnomma, wenn da Uploader å da Autor is)
  |de=Autor des Werkes (nicht verwenden, wenn der Uploader der Autor ist)
  |fr=L’auteur de l’œuvre (ne pas utiliser si le verseur est l’auteur)
  |mk=Авторот на делото (не користете го ова ако подигачот е автор)
}}
|3def=
|3stat=optional
|4=attribution
|4d={{Multilingual description
  |en=Attribution note, if different from “Author”
  |bar=Namnsnennung (wenns ned de glaiche wia im Foid „Autor“ is)
  |de=Namensnennung (wenn sie von der Eingabe im Feld „Autor“ abweicht)
  |fr=Le texte d'attribution, si différent « Auteur »
  |mk=Текст на наводот, ако е различен од „Автор“
}}
|4def=<tt>Author</tt>
|4stat=optional
|5=migration
|5d={{Multilingual description
  |en=Parameter used as part of the [[Commons:GFDL 1.3 relicensing criteria|relicensing procedure]].
  |bar=Dea Parametar wead fyr de [[Commons:GFDL 1.3 Kriterien zur Neulizenzierung|Neulizensiirungsprozeduar]] heagnomma.
  |de=Dieser Parameter wird für die [[Commons:GFDL 1.3 Kriterien zur Neulizenzierung|Neulizensierungsprozedur]] verwendet.
  |fr=Paramètre utilisé dans le cadre du [[Commons:Critères pour accorder une double licence GFDL et CC-BY-SA|passage en double licence]].
  |mk=Параметар кој се користи како дел од  [[Commons:GFDL 1.3 relicensing criteria|постапката за прелиценцирање]].
}}
|5def=
|5stat=optional-
|name=Self
|desc={{Multilingual description
  |en=Template used to surround one or several license tags
  |bar=De Vurlog wead heagnomma, um oa oda mearare Lizenzbezaichnunga zsammazumzufassn
  |de=Diese Vorlage wird verwandt, um eine oder mehrere Lizenzbezeichnungen zusammenzufassen
  |fr=Modèle utilisé pour encadrer un ou plusieurs bandeaux de licence
  |mk=Шаблон кој обиколува една или повеќе ознаки за лиценци
}}
|namespace=File
|usergroup=all
|placement=licence
|usage-notes={{Multilingual description
  |en=This template supports the inclusion of up to 6 licenses.
  |bar=In dera Vurlog kenna bis zu sechs Lizenzen ozoag werdn.
  |de=Diese Vorlage unterstützt das Einschließen von bis zu sechs Lizenzen.
  |fr=Ce modèle autorise jusqu’à six licences.
  |mk=Овој шаблон поддржува до 6 лиценци.
}}
|type=license
|example=
|i18n-method=mediawiki-msg
|i18n-desc=
|i18n-mediawiki-msg=
|seealso=
|setscats=
* [[:Category:Self-published work]]
|lines=one
|shorthand=
|relieson=
}}


== Example  ==
The optional ''migration='' parameter corresponds to keywords in the {{Tl|License migration}} template series and is used to track the [[M:license update|license update]] process for GFDL images.


{| cellpadding="10" cellspacing="2" style="border:1px solid black; background-color:#e6e9ff;" align="left"
Here are 4 examples of multi-license templates along with links to their component parts:  
|-
! bgcolor="#CCCCFF" | Code
! bgcolor="#CCCCFF" | Effect
|-
| <nowiki>{{Self|cc-by-sa-3.0}}</nowiki>
| {{Self|cc-by-sa-3.0}}
|-
| colspan="2" |
----


{| class="wikitable"
|-
|-
! bgcolor="#CCCCFF" | Code
| <nowiki>{{</nowiki>[[Template:Self|Self]] <nowiki>|</nowiki>[[Template:Cc-by-sa-3.0|cc-by-sa-3.0]]<nowiki>|</nowiki> [[Template:GFDL|GFDL]]<nowiki>}}</nowiki>
! bgcolor="#CCCCFF" | Effect
|-
|-
| <nowiki>{{Self|GFDL|cc-by-sa-2.0}}</nowiki>
| <nowiki>{{</nowiki>[[Template:Self|Self]] <nowiki>|</nowiki>[[Template:Cc-by-sa-3.0,2.5,2.0,1.0|cc-by-sa-3.0,2.5,2.0,1.0]] <nowiki>|</nowiki>[[Template:GFDL|GFDL]]<nowiki>}}</nowiki>
| {{Self|GFDL|cc-by-sa-2.0}}
|-
|-
| colspan="2" |  
| <nowiki>{{</nowiki>[[Template:Self|Self]] <nowiki>|</nowiki>[[Template:Cc-by-sa-3.0|cc-by-sa-3.0]]<nowiki>}}</nowiki>
----
 
|-
|-
| <nowiki>{{Self|GFDL|cc-by-sa-2.5|author=WhatsHisName}}</nowiki>
| <nowiki>{{</nowiki>[[Template:Self|Self]] <nowiki>|</nowiki>[[Template:Cc-by-3.0|cc-by-3.0]]<nowiki>}}</nowiki>
| {{Self|GFDL|cc-by-sa-2.5|author=WhatsHisName}}
|}
|}
Here below is what the first example template produces when saved in an image page.
:<nowiki>{{Self |cc-by-sa-3.0| GFDL}}</nowiki>
produces
{{Self |cc-by-sa-3.0| GFDL}}
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Wikipedia image copyright templates|Self]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
[[cy:Nodyn:Self]]
[[eo:Template:Self]]
[[it:Template:Self]]
[[ja:Template:Self]]
[[mk:Шаблон:Себе]]
[[ka:თარგი:Self]]
[[vi:Tiêu bản:Self]]
[[zh:Template:Self]]
</includeonly>

Revision as of 13:14, 25 February 2012

This template accepts up to 6 licenses (the first 6 unnamed parameters, which should be the names of image license templates), and displays them as options to choose between in a multi-license. If the image was not uploaded by its author, you can change "I" at the start of the template to another name by setting the author= parameter.

The optional migration= parameter corresponds to keywords in the {{License migration}} template series and is used to track the license update process for GFDL images.

Here are 4 examples of multi-license templates along with links to their component parts:

{{Self |cc-by-sa-3.0| GFDL}}
{{Self |cc-by-sa-3.0,2.5,2.0,1.0 |GFDL}}
{{Self |cc-by-sa-3.0}}
{{Self |cc-by-3.0}}

Here below is what the first example template produces when saved in an image page.

{{Self |cc-by-sa-3.0| GFDL}}

produces

I, the copyright holder of this work, hereby publish it under the following licenses:


⧼wm-license-cc-wiki-link⧽
attribution share alike
This file is licensed under the Creative CommonsAttribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
  • share alike – If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License"
You may select the license of your choice.