Difference between revisions of "Template:Free screenshot"
Licence>Tacsipacsi (Undo revision 4459345 by Shirayuki (talk): this destroys some parameters, in particular {{{templatename}}}, which cannot be changed to {{{template}}} in the main template part, as that’s overwritten by Module:Template translation; I introduced this complicated call on purpose in Special:Diff/3789292) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 16:09, 4 February 2022
<languages /> {{#switch:<translate></translate> |=
<translate> This screenshot is of a program that has been released under a free software license.</translate> <translate> As a derivative work of that program, this screenshot falls under the same license.</translate> <translate> Free software license: </translate> {{#if: | {{{license}}} | {{#if:|{{ {{{templatename}}}|migration= }}| {{#if: <translate> Needs a specified license, please read the [[<tvar|1>Special:MyLanguage/Template:Free screenshot</>|template documentation]].</translate>| }}}}}}{{#if: {{#if:<translate> If the screenshot shows any work that is not a direct result of the program code itself, such as a text or graphics that are not part of the program, the license for that work must be indicated separately.</translate>|<translate> If the screenshot shows any work that is not a direct result of the program code itself, such as a text or graphics that are not part of the program, the license for that work must be indicated separately.</translate>|{{#if:|demo|}} }} | <translate> If the screenshot shows any work that is not a direct result of the program code itself, such as a text or graphics that are not part of the program, the license for that work must be indicated separately.</translate>
| 18px <translate> Note:</translate> }} |
|#default=
[[{{#if:|{{{template}}}|Template:Free screenshot}}]]
}}
Lua error: Module:TNT:158: Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates.{{#if:<translate> Licensing guidelines for screenshots: [[<tvar|1>commons:Special:MyLanguage/Commons:Screenshots</>|commons:Commons:Screenshots]].
Examples
</translate>
{{Free screenshot|template=GPL}}
{{#switch:<translate></translate> |=
<translate> This screenshot is of a program that has been released under a free software license.</translate> <translate> As a derivative work of that program, this screenshot falls under the same license.</translate> <translate> Free software license: </translate> {{#if: | {{{license}}} | {{#if:|{{ {{{templatename}}}|migration= }}| {{#if: <translate> Needs a specified license, please read the [[<tvar|1>Special:MyLanguage/Template:Free screenshot</>|template documentation]].</translate>| }}}}}}{{#if: {{#if:<translate> If the screenshot shows any work that is not a direct result of the program code itself, such as a text or graphics that are not part of the program, the license for that work must be indicated separately.</translate>|<translate> If the screenshot shows any work that is not a direct result of the program code itself, such as a text or graphics that are not part of the program, the license for that work must be indicated separately.</translate>|{{#if:|demo|}} }} | <translate> If the screenshot shows any work that is not a direct result of the program code itself, such as a text or graphics that are not part of the program, the license for that work must be indicated separately.</translate>
| 18px <translate> Note:</translate> }} |
{{#ifeq:true|true||}}
|#default=
[[{{#if:|{{{template}}}|Template:Free screenshot}}]]
}}
{{Free screenshot|template=BSD}}
{{#switch:<translate></translate> |=
<translate> This screenshot is of a program that has been released under a free software license.</translate> <translate> As a derivative work of that program, this screenshot falls under the same license.</translate> <translate> Free software license: </translate> {{#if: | {{{license}}} | {{#if:|{{ {{{templatename}}}|migration= }}| {{#if: <translate> Needs a specified license, please read the [[<tvar|1>Special:MyLanguage/Template:Free screenshot</>|template documentation]].</translate>| }}}}}}{{#if: {{#if:<translate> If the screenshot shows any work that is not a direct result of the program code itself, such as a text or graphics that are not part of the program, the license for that work must be indicated separately.</translate>|<translate> If the screenshot shows any work that is not a direct result of the program code itself, such as a text or graphics that are not part of the program, the license for that work must be indicated separately.</translate>|{{#if:|demo|}} }} | <translate> If the screenshot shows any work that is not a direct result of the program code itself, such as a text or graphics that are not part of the program, the license for that work must be indicated separately.</translate>
| 18px <translate> Note:</translate> }} |
{{#ifeq:true|true||}}
|#default=
[[{{#if:|{{{template}}}|Template:Free screenshot}}]]
}}
{{Free screenshot|license= {{GPL}} {{BSD}} {{cc-by-3.0}} }}
{{#switch:<translate></translate> |=
<translate> This screenshot is of a program that has been released under a free software license.</translate> <translate> As a derivative work of that program, this screenshot falls under the same license.</translate> <translate> Free software license: </translate> {{#if:{{#switch:<translate></translate> | =
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }} | file | image = | other | #default = }} | #default= {{#switch: | =
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }} | file | image = | other | #default = }} | #default= Lua error: expandTemplate: template loop detected.
}} }}
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }} | file | image = | other | #default = }} {{#switch:<translate></translate> | =
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }} | file | image = | other | #default = }} | #default= {{#switch: | =
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }} | file | image = | other | #default = }} | #default= Lua error: expandTemplate: template loop detected.
}} }} | {{#switch:<translate></translate> | =
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }} | file | image = | other | #default = }} | #default= {{#switch: | =
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }} | file | image = | other | #default = }} | #default= Lua error: expandTemplate: template loop detected.
}} }}
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }} | file | image = | other | #default = }} {{#switch:<translate></translate> | =
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }} | file | image = | other | #default = }} | #default= {{#switch: | =
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }} | file | image = | other | #default = }} | #default= Lua error: expandTemplate: template loop detected.
}} }} | {{#if:|{{ {{{templatename}}}|migration= }}| {{#if: <translate> Needs a specified license, please read the [[<tvar|1>Special:MyLanguage/Template:Free screenshot</>|template documentation]].</translate>| }}}}}}{{#if: {{#if:<translate> If the screenshot shows any work that is not a direct result of the program code itself, such as a text or graphics that are not part of the program, the license for that work must be indicated separately.</translate>|<translate> If the screenshot shows any work that is not a direct result of the program code itself, such as a text or graphics that are not part of the program, the license for that work must be indicated separately.</translate>|{{#if:|demo|}} }} | <translate> If the screenshot shows any work that is not a direct result of the program code itself, such as a text or graphics that are not part of the program, the license for that work must be indicated separately.</translate>
| 18px <translate> Note:</translate> }} |
{{#ifeq:true|true||}}
|#default=
[[{{#if:|{{{template}}}|Template:Free screenshot}}]]
}}| [[Category:Template documentation pages{{#translation:}}]] }} [[Category:License templates{{#translation:}}]] [[Category:File namespace templates{{#translation:}}]]