Difference between revisions of "Template:Attribution"

From blackwiki
Jump to navigation Jump to search
imported>JJMC89
(Add metadata per request by RP88)
imported>RP88
(better support for no attribution specified case)
Line 1: Line 1:
{{imbox
+
{{ imbox
 
| type  = license
 
| type  = license
 
| image = [[file:Commons-emblem-copyright.svg|40px|alt=|link=]]
 
| image = [[file:Commons-emblem-copyright.svg|40px|alt=|link=]]
 
| text  = ''The [[Wikipedia:Copyrights|copyright]] holder of this file{{#if:{{{1|}}}|, [[:{{{1}}}|{{{2|{{{1}}}}}}]],|{{#if:{{{2|}}}|, '''{{{2}}}''',}}}} allows anyone to use it '''for any purpose, provided that''' the copyright holder is properly attributed. Redistribution, derivative work, commercial use, and all other uses are permitted. {{{text|}}}''<div style="display:none;">
 
| text  = ''The [[Wikipedia:Copyrights|copyright]] holder of this file{{#if:{{{1|}}}|, [[:{{{1}}}|{{{2|{{{1}}}}}}]],|{{#if:{{{2|}}}|, '''{{{2}}}''',}}}} allows anyone to use it '''for any purpose, provided that''' the copyright holder is properly attributed. Redistribution, derivative work, commercial use, and all other uses are permitted. {{{text|}}}''<div style="display:none;">
 
<span class="licensetpl_short">Attribution</span>
 
<span class="licensetpl_short">Attribution</span>
<span class="licensetpl_attr">{{{text|{{{2|{{{1}}}}}}}}}</span>
+
{{#if:{{{1|}}}{{{2|}}}{{{text|}}}|<span class="licensetpl_attr”>{{{text|{{{2|{{{1}}}}}}}}}</span>}}<span class="licensetpl_attr_req">true</span>
<span class="licensetpl_attr_req">true</span>
 
 
</div>
 
</div>
 
}}{{image other|[[Category:Files requiring attribution|{{PAGENAME}}]]}}{{free media}}<noinclude>{{documentation}}<!--PLEASE ADD DOCUMENTATION/CATEGORIES/INTERWIKIS TO THE /doc SUBPAGE-->
 
}}{{image other|[[Category:Files requiring attribution|{{PAGENAME}}]]}}{{free media}}<noinclude>{{documentation}}<!--PLEASE ADD DOCUMENTATION/CATEGORIES/INTERWIKIS TO THE /doc SUBPAGE-->
 
</noinclude>
 
</noinclude>

Revision as of 11:01, 14 October 2017

Template documentation[view] [edit] [history] [purge]

This template can be used in four ways:

  • with no copyright holder specified (as seen above): {{attribution}}
  • with a copyright holder specified who has a page on Wikipedia: {{attribution|User:Someuser}} or {{attribution|Home Corporation}}
  • or the same as previous but with specified link text: {{attribution|User:Someuser|My full name}}
  • with a copyright holder specified who does not have a page on Wikipedia: {{attribution||Name of copyright holder}} (note the double pipe)

In addition, if a specific manner of attribution is required, or other qualification on use (must not limit to educational or non-profit, or prevent derivatives) you may specify this: {{attribution|User:Someuser|text=Required attribution text: by Someuser, available from (link).}}

bg:Шаблон:Attribution fr:Modèle:Attribution tr:Şablon:Attribution