CAUTION: Terraria Wiki code is complex!!!
If you want to use this code on another wiki, wiki.gg staff are not able to assist you.
Please consider picking a different wiki to adapt code from, or making your own templates!
Remember that content on a wiki is more important than fancy formatting.
This template is used on file pages to denote the file's license. It categorizes the file in the respective license category.
Usage
Add a "Licensing" section on the file page and transclude the template:
== Licensing ==
{{License | <license type> }}
- First unnamed parameter
Type of the license; select one from the list below. Providing no value or an invalid one will result in nolicense.
Licenses
The following 15 licenses are available:
| Code |
Output
|
{{License|CC BY-SA 4.0}} | |
{{License|CC-BY}} | |
{{License|CC-BY-NC}} | |
{{License|CC-BY-NC-ND}} | |
{{License|CC-BY-NC-SA}} Alternatively:{{License|CC-BY-NC-SA 3.0}}
| |
{{License|CC-BY-ND}} | |
{{License|CC-BY-SA}} | |
{{License|CC-SRR}} | CC-Some Rights Reserved This file is under the Creative Commons Some Rights Reserved License. |
{{License|CC0}} | |
{{License|fairuse}} | In Copyright This file is copyrighted. The individual who uploaded this work and first used it in an article, and subsequent persons who place it into articles, assert that this qualifies as fair use of the material under United States copyright law. |
{{License|iDreamSky}} | In Copyright This file (or parts of it) comes from the LeDou (iDreamSky) version of Terraria. All trademarks and registered trademarks present in the file are proprietary to iDreamSky and Re-Logic. For more information, see the copyright notice. This file is used with permission. |
{{License|nolicense}} | Unknown Please select the proper license for this file by adding the proper parameter to {{License}}. Unlicensed images may be a copyright violation if they are not your works and will be deleted. |
{{License|PD}} Alternatively:{{License|CC-PD}}
| Public Domain This file has been released into the public domain by the copyright holder, its copyright has expired, or it is ineligible for copyright. This applies worldwide. |
{{License|Re-Logic}} | In Copyright This file (or parts of it) comes from Terraria and/or websites created and owned by Re-Logic, who hold the copyright of Terraria. All trademarks and registered trademarks present in the file are proprietary to Re-Logic. For more information, see the copyright notice. This file is used with permission. |
{{License|XD}} | In Copyright This file (or parts of it) comes from the XD (XinDong) version of Terraria. All trademarks and registered trademarks present in the file are proprietary to XD and Re-Logic. For more information, see the copyright notice. This file is used with permission. |
How to add a new license template
Create a new subtemplate of Template:License, e.g. Template:License/mynewlicense. Add a {{licensebox}} with the appropriate parameters as its content and below it the line <includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:File}}|[[Category:Files under <license type>]]}}</includeonly>. Also make sure to categorize the new subtemplate in Category:许可模板.
You can use the existing license subtemplates as guides for creating new ones.
es-formal:Plantilla:License