Template:CC-BY-SA/doc

From DnD with Extra Tongues
Revision as of 00:28, 21 October 2018 by dnd5efandom>Foxwells
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Description
This template is used to mark images with the Creative Commons Attribution-ShareAlike license.
Syntax
Type {{ #if: | }}{{{{ #if: | {{{prefix}}}: }}[[{{ #ifeq: {{ #sub: CC-BY-SA | 0 | 1 }} | : || {{ #if: || Template }} }}:CC-BY-SA|{{ #ifeq: {{ #sub: CC-BY-SA | 0 | 1 }} | : | : }}{{ #ifeq: | Template | CC-BY-SA | CC-BY-SA }}]]{{ #if: specific_attribution
 | |specific_attribution }}{{ #if: port=license port
 | |port=license port }}{{ #if: version=license version
 | |version=license version }}{{ #if: 
 | |{{{5}}} }}{{ #if: 
 | |{{{6}}} }}{{ #if: 
 | |{{{7}}} }}{{ #if: 
 | |{{{8}}} }}{{ #if: 
 | |{{{9}}} }}{{ #if: 
 | |{{{10}}} }}{{ #if: 
 | |{{{11}}} }}{{ #if: 
 | |{{{12}}} }}{{ #if: 
 | |{{{13}}} }}{{ #if: 
 | |{{{14}}} }}{{ #if: 
 | |{{{15}}} }}{{ #if: 
 | |{{{16}}} }}{{ #if: 
 | |{{{17}}} }}{{ #if: 
 | |{{{18}}} }}{{ #if: 
 | |{{{19}}} }}{{ #if: 
 | |{{{20}}} }}{{ #if: 
 | |{{{21}}} }}}}{{ #if:  |  }} on the image information page.
Sample output
{{CC-BY-SA|version=3.0|port=Unported}}
gives...

This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported license. {{ #if: |
Attribution: {{{1}}}}}

{{CC-BY-SA|Kirkburn|version=3.0|port=Unported}}
gives...

This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported license. {{ #if: Kirkburn |
Attribution: Kirkburn}}

Uses
File:CC some rights reserved.svg, File:Cc-by new.svg, and File:Cc-sa.svg