Difference between revisions of "Template:License CC"

Jump to navigation Jump to search
Make category conditional on being included in the File namespace.
(Update to use rights/conditions parameters to build license name/URL.)
(Make category conditional on being included in the File namespace.)
Line 19: Line 19:
 
| width="64" valign="top" |
 
| width="64" valign="top" |
 
|-
 
|-
|}<includeonly>[[Category:Files with a Creative Commons license]]</includeonly><noinclude>
+
|}<includeonly>{{#ifeq: {{NAMESPACE}} | {{ns:File}} | [[Category:Files with a Creative Commons license]] }}</includeonly><noinclude>
 
{{ Documentation }}
 
{{ Documentation }}
 
[[Category:Licensing templates]]
 
[[Category:Licensing templates]]
 
</noinclude>
 
</noinclude>

Navigation menu