Template:Other license: Difference between revisions

From sona pona, the Toki Pona wiki
Content added Content deleted
(oops trailing newline moment, also removing explicit mention of by-sa just in case idk)
(turn ifeq stack into switch, add "none" license option)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
|border=#ac6600
|border=#ac6600
|bg=#f6efe5
|bg=#f6efe5
|This {{{3|{{#ifeq:{{NAMESPACE}}|File|file|page}}}}} is '''not''' available under [[sona pona:Copyrights|the usual license]]{{#if:{{{2|}}}|<nowiki> </nowiki>because {{{2}}}}}. {{#ifeq:{{{1}}}|only wiki|You may not reuse it without explicit permission.|{{#ifeq:{{{1}}}|informal|Reuse is still allowed, just informally.|If you want to reuse content from it, {{#ifeq:{{{1}}}|ask|ask the relevant author(s) for permission first|follow the terms of {{{1}}}}}.}}}}
|This {{{3|{{#ifeq:{{NAMESPACE}}|File|file|page}}}}} is '''not''' available under [[sona pona:Copyrights|the usual license]]{{#if:{{{2|}}}|<nowiki> </nowiki>because {{{2}}}}}. {{#switch:{{{1}}}
|none=The editor who added it believes that including it on the wiki is acceptable regardless, but your scenario may differ.
|only wiki=You may not reuse it without explicit permission.
|informal=Reuse is still allowed, just informally.
|If you want to reuse content from it, {{#ifeq:{{{1}}}|ask|ask the relevant author(s) for permission first|follow the terms of {{license link|{{{1}}}}}}}.}}
}}<noinclude>
}}<noinclude>
<templatedata>
<templatedata>
Line 9: Line 13:
"1": {
"1": {
"label": "License",
"label": "License",
"description": "Link to the license, using wikitext syntax: [https://example.com/ link text]. Special values: \"only wiki\", \"informal\", \"ask\" (the author).",
"description": "Link to the license, using wikitext syntax: [https://example.com/ link text]. Special values: \"none\", \"only wiki\", \"informal\", \"ask\" (the author).",
"type": "string",
"type": "string",
"suggestedvalues": [
"suggestedvalues": [
"none",
"only wiki",
"only wiki",
"informal",
"informal",

Latest revision as of 20:16, 7 February 2024

Marks content that isn't available under the default license.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
License1

Link to the license, using wikitext syntax: [https://example.com/ link text]. Special values: "none", "only wiki", "informal", "ask" (the author).

Suggested values
none only wiki informal ask
Stringrequired
Reason2

Explain why it's not covered under the default license.

Example
it was inherited from an anonymous document
Stringsuggested
Scope3

Use if marking only part of the page.

Suggested values
section
Default
page
Stringoptional