Template:Other license: Difference between revisions
Content added Content deleted
No edit summary |
(turn ifeq stack into switch, add "none" license option) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{License info |
|||
<div style="width: 100%; clear: both; margin: 0.5em auto; border: 2px solid #ac6600; background-color: #f6efe5; padding: 0.2em 0.5em; box-sizing: border-box;">This 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}}}}}.}}}}</div> |
|||
|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}}}}}. {{#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> |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"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", |
|||
"ask" |
|||
], |
|||
"required": true |
|||
}, |
|||
"2": { |
|||
"label": "Reason", |
|||
"suggested": true, |
|||
"description": "Explain why it's not covered under the default license.", |
|||
"example": "it was inherited from an anonymous document", |
|||
"type": "string" |
|||
}, |
|||
"3": { |
|||
"label": "Scope", |
|||
"description": "Use if marking only part of the page.", |
|||
"type": "string", |
|||
"suggestedvalues": [ |
|||
"section" |
|||
], |
|||
"default": "page" |
|||
} |
|||
}, |
|||
"paramOrder": [ |
|||
"1", |
|||
"2", |
|||
"3" |
|||
], |
|||
"description": "Marks content that isn't available under the default license.", |
|||
"format": "inline" |
|||
} |
|||
</templatedata> |
|||
</noinclude> |
Latest revision as of 20:16, 7 February 2024
Marks content that isn't available under the default license.
Parameter | Description | Type | Status | |
---|---|---|---|---|
License | 1 | Link to the license, using wikitext syntax: [https://example.com/ link text]. Special values: "none", "only wiki", "informal", "ask" (the author).
| String | required |
Reason | 2 | Explain why it's not covered under the default license.
| String | suggested |
Scope | 3 | Use if marking only part of the page.
| String | optional |