Difference between revisions of "Template:CC"
From Project: Gorgon Wiki
m (SVG can't be used on this wiki) |
m (Made namespace aware) |
||
Line 7: | Line 7: | ||
|nc-nd={{#ifexist:File:Cc-nc.png|[[File:Cc-nc.png|30px|NonCommercial|alt=NC]]}}{{#ifexist:File:Cc-nd.png|[[File:Cc-nd.png|30px|NoDerivatives|alt=ND]]}} | |nc-nd={{#ifexist:File:Cc-nc.png|[[File:Cc-nc.png|30px|NonCommercial|alt=NC]]}}{{#ifexist:File:Cc-nd.png|[[File:Cc-nd.png|30px|NoDerivatives|alt=ND]]}} | ||
|#default=}} | |#default=}} | ||
− | | align="center" | '''''This file is licensed under the <span class="plainlinks">[http://creativecommons.org/licenses/by{{#if:{{{mod|}}}|-}}{{{mod|}}}/{{{ver|4.0}}}/ Creative Commons {{#switch:{{lc:{{{mod|}}}}} | + | | align="center" | '''''This {{#switch: {{NAMESPACE}} |
+ | | {{ns:Template}} = template and it's documentation are | ||
+ | | {{ns:File}} = file is | ||
+ | | #default = article | ||
+ | }} licensed under the <span class="plainlinks">[http://creativecommons.org/licenses/by{{#if:{{{mod|}}}|-}}{{{mod|}}}/{{{ver|4.0}}}/ Creative Commons {{#switch:{{lc:{{{mod|}}}}} | ||
|sa=Attribution-ShareAlike | |sa=Attribution-ShareAlike | ||
|nd=Attribution-NoDerivatives | |nd=Attribution-NoDerivatives | ||
Line 21: | Line 25: | ||
|nc-sa=-NC-SA- | |nc-sa=-NC-SA- | ||
|nc-nd=-NC-ND- | |nc-nd=-NC-ND- | ||
− | |#default=}}{{{ver|4.0}}} images]]}}}</includeonly><noinclude>{{Documentation}}</noinclude> | + | |#default=}}{{{ver|4.0}}} {{#switch: {{NAMESPACE}} |
+ | | {{ns:Template}} = templates | ||
+ | | {{ns:File}} = images | ||
+ | | #default = articles | ||
+ | }}]]}}}</includeonly><noinclude> | ||
+ | {{Documentation}}</noinclude> |
Latest revision as of 04:23, 11 May 2016
|
This template and it's documentation are licensed under the Creative Commons Attribution 4.0 license. |
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
This template was copied from Template:CC on Wikia Templates. That wiki should periodically be checked for a new version of this template. |
- Description
- Makes a license link to the Creative Commons website. Image description pages with this template will be added to various categories depending on the values passed to the parameters.
- Dependencies
- Uses the following files:
- Syntax
{{CC|mod=|ver=|details=}}
- Parameters
- mod= (default gives "Attribution")
- sa = Attribution-ShareAlike
- nd = Attribution-NoDerivatives
- nc = Attribution-NonCommercial
- nc-sa = Attribution-NonCommercial-ShareAlike
- nc-nd = Attribution-NonCommercial-NoDerivatives
- ver= (default: 4.0) check link if you use a non-default version #
- Some valid options: 1.0, 2.0, 2.5, 3.0
- details= Optional attribution details
- Sample output
{{CC}}
- gives...
|
This template and it's documentation are licensed under the Creative Commons Attribution 4.0 license. |
{{CC|details=By Gargomel Rassnfrassn on 29 Feb 2012.}}
- gives...
|
This template and it's documentation are licensed under the Creative Commons Attribution 4.0 license.
|
{{CC|mod=|ver=2.0}}
- gives...
|
This template and it's documentation are licensed under the Creative Commons Attribution 2.0 license. |
{{CC|mod=sa}}
- gives...
|
This template and it's documentation are licensed under the Creative Commons Attribution-ShareAlike 4.0 license. |
{{CC|mod=nd}}
- gives...
|
This template and it's documentation are licensed under the Creative Commons Attribution-NoDerivatives 4.0 license. |
{{CC|mod=nc}}
- gives...
|
This template and it's documentation are licensed under the Creative Commons Attribution-NonCommercial 4.0 license. |
{{CC|mod=nc-sa}}
- gives...
|
This template and it's documentation are licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 license. |
{{CC|mod=nc-nd}}
- gives...
|
This template and it's documentation are licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 license. |
The above text is transcluded from Template:CC/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:CC/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:CC/doc. (View all subpages of this page.)