Template:Other license: Difference between revisions

turn ifeq stack into switch, add "none" license option
({{license link}})
(turn ifeq stack into switch, add "none" license option)
 
Line 2:
|border=#ac6600
|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}}}}}. {{#ifeqswitch:{{{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 {{license link|{{{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>
<templatedata>
Line 9 ⟶ 13:
"1": {
"label": "License",
"description": "Link to the license, using wikitext syntax: [https://example.com/ link text]. Special values: \"none\", \"only wiki\", \"informal\", \"ask\" (the author).",
"type": "string",
"suggestedvalues": [
"none",
"only wiki",
"informal",