Difference between revisions of "Template:CC"
From Project: Gorgon Wiki
(Initial setup. Copy-over from http://templates.wikia.com/wiki/Template:CC) |
m (Made namespace aware) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="boilerplate" id="c-cc-by" style="width:90%; margin:0 auto; padding:10px; border:2px solid #88A; background:#ffffcc; color:#000; text-align: center;" | {| class="boilerplate" id="c-cc-by" style="width:90%; margin:0 auto; padding:10px; border:2px solid #88A; background:#ffffcc; color:#000; text-align: center;" | ||
− | | align="center" | {{#ifexist:File:CC some rights reserved. | + | | align="center" | {{#ifexist:File:CC some rights reserved.png|[[File:CC some rights reserved.png|90px|Creative Commons|alt=CC]]}}<br />{{#ifexist:File:Cc-by new.png|[[File:Cc-by new.png|30px|Attribution|alt=BY]]}}{{#switch:{{lc:{{{mod|}}}}} |
− | |sa={{#ifexist:File:Cc-sa. | + | |sa={{#ifexist:File:Cc-sa.png|[[File:Cc-sa.png|30px|ShareAlike|alt=SA]]}} |
− | |nd={{#ifexist:File:Cc-nd. | + | |nd={{#ifexist:File:Cc-nd.png|[[File:Cc-nd.png|30px|NoDerivatives|alt=ND]]}} |
− | |nc={{#ifexist:File:Cc-nc. | + | |nc={{#ifexist:File:Cc-nc.png|[[File:Cc-nc.png|30px|NonCommercial|alt=NC]]}} |
− | |nc-sa={{#ifexist:File:Cc-nc. | + | |nc-sa={{#ifexist:File:Cc-nc.png|[[File:Cc-nc.png|30px|NonCommercial|alt=NC]]}}{{#ifexist:File:Cc-sa.png|[[File:Cc-sa.png|30px|ShareAlike|alt=SA]]}} |
− | |nc-nd={{#ifexist:File:Cc-nc. | + | |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.)