Template:CC BY-SA 4.0: Difference between revisions

m fix
shrink to reduce dependencies
 
Line 1: Line 1:
<!-- Creative Commons License -->{{imbox
<!-- Creative Commons License -->{{imbox
| type  = license
| type  = license
| class = licensetpl
| image = [[File:CC_some_rights_reserved.svg|90px]] <br /> [[File:Cc-by new white.svg|24px]][[File:Cc-sa white.svg|24px]]
| image = [[File:CC_some_rights_reserved.svg|90px]] <br /> [[File:Cc-by new white.svg|24px]][[Image:Cc-sa white.svg|24px]]
| text  = ''This work is licensed under the [[wikipedia:Creative Commons|Creative Commons]] [https://creativecommons.org/licenses/by-sa/4.0/ Attribution-ShareAlike 4.0] License.{{#if:{{{1|}}}| <br /> Attribution: {{{1}}}}}''{{#ifeq:{{NAMESPACE}}|{{ns:6}}
| text  = ''This work is licensed under the [[wikipedia:Creative Commons|Creative Commons]] [https://creativecommons.org/licenses/by-sa/4.0/ Attribution-ShareAlike 4.0] License. {{#if:{{{1|}}}| <br /> Attribution: {{{1|}}} }}''<span class="licensetpl_link" style="display:none;"><nowiki>https://</nowiki>creativecommons.org/licenses/by-sa/4.0/</span><span class="licensetpl_short" style="display:none;">CC-BY-SA-4.0</span><span class="licensetpl_long" style="display:none;">Creative Commons Attribution-ShareAlike 4.0</span><span class="licensetpl_link_req" style="display:none;">true</span><span class="licensetpl_attr_req" style="display:none;">true</span>
  | [[Category:Creative Commons Attribution-ShareAlike 4.0 files|{{PAGENAME}}]]
{{image other
  | <br /><div style="text-align: center; font-size: 85%;"><span class="error">This template should only be used on file pages.</span></div>
| [[Category:Creative Commons Attribution-ShareAlike 4.0 files|{{PAGENAME}}]]
}}
| <br/>{{center|{{error-small|This template should only be used on file pages.}}}}
}}<noinclude>
}}}}{{#if:{{yesno|{{{dw|}}}|yes=|no=yes}}|{{free media}}}}<noinclude>
 
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>