Difference between revisions of "Template:MW-screenshot"

From RobotX
Jump to navigation Jump to search
m (Text replacement - "</translate>" to "")
m (Text replacement - "<translate>" to "")
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
<languages/>
 
<languages/>
</noinclude>{{#switch:<translate>
+
</noinclude>{{#switch:
 
| =
 
| =
 
{{mbox
 
{{mbox
 
| type  = content
 
| type  = content
| image = [[Image:Wiki.png|52px|<translate><!--T:1--> The MediaWiki Logo]]<br />{{#ifeq: {{{content|<noinclude>trivial</noinclude>}}}| trivial |[[File:PD-icon.svg|52px|<translate><!--T:2--> No copyright]]|[[Image:Heckert GNU white.svg|52px|<translate><!--T:3--> GNU license]]}}
+
| image = [[Image:Wiki.png|52px|<!--T:1--> The MediaWiki Logo]]<br />{{#ifeq: {{{content|<noinclude>trivial</noinclude>}}}| trivial |[[File:PD-icon.svg|52px|<!--T:2--> No copyright]]|[[Image:Heckert GNU white.svg|52px|<!--T:3--> GNU license]]}}
| text = '''<translate><!--T:4--> This is a screenshot of the MediaWiki software.''' <translate><!--T:11--> MediaWiki as a whole is licenced under the [[w:GNU General Public License|GNU General Public License]] version 2 or higher (<tvar|1><span class="licensetpl_short">GPLv2+</span></>). <translate><!--T:12--> View the text of the <span class="licensetpl_long">GNU General Public License</span> version 2 at <tvar|gnu>[https://www.gnu.org/licenses/old-licenses/gpl-2.0.html https://www.gnu.org/licenses/old-licenses/gpl-2.0.html]</>.<span style="display:none;" class="licensetpl_link"><nowiki>https</nowiki>://www.gnu.org/licenses/old-licenses/gpl-2.0.html</span>
+
| text = '''<!--T:4--> This is a screenshot of the MediaWiki software.''' <!--T:11--> MediaWiki as a whole is licenced under the [[w:GNU General Public License|GNU General Public License]] version 2 or higher (<tvar|1><span class="licensetpl_short">GPLv2+</span></>). <!--T:12--> View the text of the <span class="licensetpl_long">GNU General Public License</span> version 2 at <tvar|gnu>[https://www.gnu.org/licenses/old-licenses/gpl-2.0.html https://www.gnu.org/licenses/old-licenses/gpl-2.0.html]</>.<span style="display:none;" class="licensetpl_link"><nowiki>https</nowiki>://www.gnu.org/licenses/old-licenses/gpl-2.0.html</span>
<translate><!--T:5--> Official logos of the Wikimedia Foundation, if contained in this screenshot are '''copyrighted and not licensed under a free license.'''
+
<!--T:5--> Official logos of the Wikimedia Foundation, if contained in this screenshot are '''copyrighted and not licensed under a free license.'''
{{#ifeq: {{{content|<noinclude>trivial</noinclude>}}} | trivial | <translate><!--T:6--> That said, however, this image is so simple, that it is probably '''not subject to copyright at all''', and thus can be freely used for '''any purpose'''.<br/>
+
{{#ifeq: {{{content|<noinclude>trivial</noinclude>}}} | trivial | <!--T:6--> That said, however, this image is so simple, that it is probably '''not subject to copyright at all''', and thus can be freely used for '''any purpose'''.<br/>
 
{{#ifeq: {{{content|<noinclude>none</noinclude>}}} | none |  
 
{{#ifeq: {{{content|<noinclude>none</noinclude>}}} | none |  
|<br /><translate><!--T:7--> This screenshot also contains additional content that is not part of the MediaWiki interface as described above. This is covered by the following license:
+
|<br /><!--T:7--> This screenshot also contains additional content that is not part of the MediaWiki interface as described above. This is covered by the following license:
  
{{#switch: {{{content|}}} | wikipedia={{Wikipedia-screenshot}} | pd={{PD}} | gfdl={{GFDL}} | free={{#if: {{{free|}}}|{{{{{free}}}}}|<translate><!--T:8--> Content is under a free license - please specify a license using the 'free' parameter (see {{tl|MW-screenshot}} for info).}} | unfree=<translate><!--T:9--> Content is under a '''non-free''' license!  Please use the appropriate license tag in addition to this template. Screenshots containing non-free content may be deleted if appropriate permission has not been granted on this page. | <translate><!--T:10--> No license specified!  Please check the details and correct them.}}}}}}
+
{{#switch: {{{content|}}} | wikipedia={{Wikipedia-screenshot}} | pd={{PD}} | gfdl={{GFDL}} | free={{#if: {{{free|}}}|{{{{{free}}}}}|<!--T:8--> Content is under a free license - please specify a license using the 'free' parameter (see {{tl|MW-screenshot}} for info).}} | unfree=<!--T:9--> Content is under a '''non-free''' license!  Please use the appropriate license tag in addition to this template. Screenshots containing non-free content may be deleted if appropriate permission has not been granted on this page. | <!--T:10--> No license specified!  Please check the details and correct them.}}}}}}
 
}} {{DEFAULTSORT:{{PAGENAME}}}}
 
}} {{DEFAULTSORT:{{PAGENAME}}}}
 
<includeonly>{{#ifeq:{{{nocat|}}}|true||
 
<includeonly>{{#ifeq:{{{nocat|}}}|true||
Line 37: Line 37:
 
{{Documentation|content=
 
{{Documentation|content=
  
<translate>
+
 
 
== Usage == <!--T:13-->
 
== Usage == <!--T:13-->
  

Revision as of 04:03, 21 December 2019


Template documentation

Usage

{{MW-screenshot|content=|skin=|free=}}

  • CONTENT is used to specify what other content is visible in the screenshot, and should be replaced with one of the following values:
    • none - there is no content, or all content is part of the MediaWiki user-interface.
    • wikipedia - The screenshot is of a Wikipedia page.
    • gfdl - The content is released under the GFDL license (but is not Wikipedia content).
    • free - The content is released under any other 'free or open source' license (not GFDL). In this case you can use the 'free' parameter to indicate a template to be used (see below).
    • unfree - The content is proprietary and is not distributed under any 'free or open source' license.
    • Any other value will cause the image to be placed in Category:MW screenshots with unspecified content and will need fixing.
  • SKIN is used to specify which skin is being used in the screenshot:
  • FREE is an optional parameter, only used if content=free. In this case, the parameter names a template to be used to specify the license (don't include the curly brackets). For example: free=PD.