Template:License: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 14: Line 14:
| BYNCSA
| BYNCSA
| ccbyncsa
| ccbyncsa
| CCBYNCSA = licensed under [https://creativecommons.org/licenses/by-nc-sa/4.0/ CC BY-NC-SA 4.0].}} {{#if: {{{2|}}} | See [{{{2|}}} {{{3|}}}] for the original.}}}}</td></tr></table></div></includeonly><noinclude>Adds a simple copyright notice.
| CCBYNCSA = licensed under [https://creativecommons.org/licenses/by-nc-sa/4.0/ CC BY-NC-SA 4.0].}} {{#if: {{{2|}}} | See [{{{2|}}} {{{3|}}}] for the original.}}}}</td></tr></table></includeonly><noinclude>{{Documentation|content=
Adds a simple copyright notice.


First parameter specifies the license. Valid values include pd (public domain), ccbysa (CC BY-SA 4.0) and nc (CC BY-NC-SA 4.0).  
First parameter specifies the license. Valid values include pd (public domain), ccbysa (CC BY-SA 4.0) and nc (CC BY-NC-SA 4.0).  
Line 21: Line 22:


== Examples ==
== Examples ==
<pre>{{license|nc|https://bg3.wiki/|BG3Wiki}}</pre>
{{Template demo
| style = list
| <nowiki>{{license|nc|https://bg3.wiki/|BG3Wiki}}</nowiki>
}}


{{license|nc|https://bg3.wiki/|BG3Wiki}}
[[Category:License templates]]
== Template data==  
== Template data==  
<noinclude>
<templatedata>
<templatedata>
{
{
Line 54: Line 54:
}
}
</templatedata>
</templatedata>
}}
[[Category:Templates]]
[[Category:License templates]]
</noinclude>
</noinclude>

Latest revision as of 19:53, 19 January 2025

Template documentation

Adds a simple copyright notice.

First parameter specifies the license. Valid values include pd (public domain), ccbysa (CC BY-SA 4.0) and nc (CC BY-NC-SA 4.0).

Second parameter should be a link to the original, if any, and the third parameter a name to display in place of the link.

Examples

Markup
{{license|nc|https://bg3.wiki/|BG3Wiki}}
Renders as
This Template page is licensed under CC BY-NC-SA 4.0. See BG3Wiki for the original.

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
License1

The license used.

Suggested values
pd ccbysa nc
Unknownrequired
url2

A link to the source or original version.

Unknownsuggested
Url text3

The text that will be displayed in place of the url. Usually the name of the source's webpage.

Unknownsuggested