Difference between revisions of "Template:Cc-by-4.0"

From FEX-Emu Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
<languages/>
+
This doesn't work yet.
</noinclude>{{#switch:
+
Trying to get it to work from: https://www.mediawiki.org/w/index.php?title=Template:Cc-by-4.0
| =
+
</noinclude>
<!-- Creative Commons License -->{{mbox
+
<noinclude>{{documentation|content=
| type  = notice
+
==Usage==
| image = [[Image:CC_some_rights_reserved.svg|90px]] <br /> [[Image:Cc-by new white.svg|24px]]
+
To provide attribution use '''{{<b>{{BASEPAGENAME}}</b>|Attribution details}}'''.
| imagewidth = 90px
+
Those who reproduce the work must attribute it in the manner specified by the author or licensor (as the parameter "Attribution details").
| text  = ''{{int:wm-license-cc-by-4.0-text}}'' {{#if:{{{1|}}}| <br /> {{int:wm-license-cc-attribution|}}: {{{1|}}} }}<span style="display:none;"><span class="licensetpl_short">CC-BY-4.0</span><span class="licensetpl_long">Creative Commons Attribution 4.0</span><span class="licensetpl_link"><nowiki>http</nowiki>://creativecommons.org/licenses/by/4.0/{{cclang}}</span></span>
 
}}{{image other
 
| [[Category:CC images|{{PAGENAME}}]]
 
}}
 
| #default=
 
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Cc-by-4.0|noshift=1|uselang={{int:lang}}}}
 
}}<noinclude>
 
{{-}}{{documentation|content=
 
==Usage== <!--T:2-->
 
<!--T:3--> To provide attribution use '''{{<tvar|1>tlx|{{BASEPAGENAME}}</>|Attribution details}}'''.
 
<!--T:4--> Those who reproduce the work must attribute it in the manner specified by the author or licensor (as the parameter "Attribution details").
 
  
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:License templates{{#translation:}}|{{PAGENAME}}]]
+
[[Category:License templates|{{PAGENAME}}]]
[[Category:File namespace templates{{#translation:}}|{{PAGENAME}}]]
+
[[Category:File namespace templates|{{PAGENAME}}]]
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 12:12, 24 January 2021

This doesn't work yet. Trying to get it to work from: https://www.mediawiki.org/w/index.php?title=Template:Cc-by-4.0

Template documentation

Usage

To provide attribution use {{Cc-by-4.0|Attribution details}}. Those who reproduce the work must attribute it in the manner specified by the author or licensor (as the parameter "Attribution details").