Template:MW-screenshot
<languages/> {{#switch:<translate></translate> | =
<translate> The MediaWiki Logo</translate> {{#ifeq: trivial| trivial |<translate> No copyright</translate>|<translate> GNU license</translate>}} | <translate> This is a screenshot of the MediaWiki software.</translate> <translate> MediaWiki as a whole is licensed under the GNU General Public License version 2 or higher (<tvar |
| #default=
{{#switch:
| =
The MediaWiki Logo {{#ifeq: | trivial |No copyright|GNU license}} | This is a screenshot of the MediaWiki software. MediaWiki as a whole is licensed under the GNU General Public License version 2 or higher (GPLv2+). View the text of the GNU General Public License version 2 at https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Official logos of the Wikimedia Foundation, if contained in this screenshot are copyrighted and licensed under the CC BY-SA 3.0 license.
{{#switch:
|trivial=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.
{{#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.
}} }} | pd={{#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.
}} }} | gfdl=
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }} | file | image = | other
| #default =
}}
| free={{#if: |{{{{{free}}}}}|Content is under a free license - please specify a license using the |
{{#ifeq:|true||
{{#switch: | trivial | none= | wikipedia= | gfdl= | pd | free= | unfree= | #default= }} {{#switch: |= | none= | monobook= | #default=[[Category:{{{skin}}} skin screenshots]] }}
}}
| #default=
Lua error: expandTemplate: template loop detected.
}} }} 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>
Usage
</translate> {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:MW-screenshot|MW-screenshot]]{{#if:content=|skin=|free=||content=|skin=|free=}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}
- CONTENT is used to specify what other content is visible in the screenshot, and should be replaced with one of the following values:
- {{#ifeq:Category:MW screenshots with no other content|
|
}}{{#if:none|none|none}}{{#ifeq:Category:MW screenshots with no other content|
|
}}
- there is no content, or all content is part of the MediaWiki user-interface.- {{#ifeq:Category:MW screenshots with Wikipedia content|
|
}}{{#if:wikipedia|wikipedia|wikipedia}}{{#ifeq:Category:MW screenshots with Wikipedia content|
|
}}
- The screenshot is of a Wikipedia page.- {{#ifeq:Category:MW screenshots with GFDL content|
|
}}{{#if:gfdl|gfdl|gfdl}}{{#ifeq:Category:MW screenshots with GFDL content|
|
}}
- The content is released under the GFDL license (but is not Wikipedia content).- {{#ifeq:Category:MW screenshots with free content|
|
}}{{#if:free|free|free}}{{#ifeq:Category:MW screenshots with free content|
|
}}
- 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).- {{#ifeq:Category:MW screenshots with non-free content|
|
}}{{#if:unfree|unfree|unfree}}{{#ifeq:Category:MW screenshots with non-free content|
|
}}
- 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 {{#ifeq:Category:MW screenshots with unspecified content|
|
|{{#if: | |{{ {{#if:|{{{template}}}|Translations:{{#if:Category|Category:}}MW screenshots with unspecified content/Page_display_title}} }} }} |{{#if: |MW screenshots with unspecified content |Category:MW screenshots with unspecified content }}
}}}}{{#ifeq:Category:MW screenshots with unspecified content|
|
}}
and will need fixing.- SKIN is used to specify which skin is being used in the screenshot:
- none - No skin-specific content is visible (which is unlikely...)
- One of the following built-in skins: {{#ifeq:Category:Vector skin screenshots|
|
}}{{#if:vector|vector|vector}}{{#ifeq:Category:Vector skin screenshots|
|
}}
(the default skin), otherwise {{#ifeq:Category:Chick skin screenshots||
}}{{#if:chick|chick|chick}}{{#ifeq:Category:Chick skin screenshots|
|
}}
, {{#ifeq:Category:Classic skin screenshots||
}}{{#if:classic|classic|classic}}{{#ifeq:Category:Classic skin screenshots|
|
}}
, {{#ifeq:Category:Cologne Blue skin screenshots||
}}{{#if:cologneblue|cologneblue|cologneblue}}{{#ifeq:Category:Cologne Blue skin screenshots|
|
}}
, {{#ifeq:Category:Modern skin screenshots||
}}{{#if:modern|modern|modern}}{{#ifeq:Category:Modern skin screenshots|
|
}}
, {{#ifeq:Category:MonoBook skin screenshots||
}}{{#if:monobook|monobook|monobook}}{{#ifeq:Category:MonoBook skin screenshots|
|
}}
, {{#ifeq:Category:MySkin skin screenshots||
}}{{#if:myskin|myskin|myskin}}{{#ifeq:Category:MySkin skin screenshots|
|
}}
, {{#ifeq:Category:Nostalgia skin screenshots||
}}{{#if:nostalgia|nostalgia|nostalgia}}{{#ifeq:Category:Nostalgia skin screenshots|
|
}}
, {{#ifeq:Category:Simple skin screenshots||
}}{{#if:simple|simple|simple}}{{#ifeq:Category:Simple skin screenshots|
|
}}
. (note standard also exists as an alias for classic)- Any other value will cause the image to be placed in {{#ifeq:Category:MW screenshots with no skin specified|
|
|{{#if: | |{{ {{#if:|{{{template}}}|Translations:{{#if:Category|Category:}}MW screenshots with no skin specified/Page_display_title}} }} }} |{{#if: |MW screenshots with no skin specified |Category:MW screenshots with no skin specified }}
}}}}{{#ifeq:Category:MW screenshots with no skin specified|
|
}}
and will need fixing.- 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.|
[[Category:Template documentation pages{{#translation:}}]] }}
[[Category:License templates{{#translation:}}]] [[Category:File namespace templates{{#translation:}}|MW-screenshot]]