Difference between revisions of "Template:Unused file/en"
Licence>FuzzyBot (Updating to match new version of source page) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 17:16, 4 February 2022
<languages /> {{#switch: | =
40x40px | This file is currently not used anywhere on MediaWiki.org and may become a candidate for deletion or may be exported to Wikimedia Commons. Before deleting, make sure it isn't used elsewhere on the wiki, linked to from elsewhere on the web, or being kept for historical interest (by consulting the original uploader if necessary). {{#if: |Tag added: {{{date}}}|No date supplied - please see {{#ifeq:Template:Unused file| | }}{{#if:|{{{2}}}|{{#ifexist:Translations:{{#if:Template|Template:}}Unused file/Page display title/en |{{#if: | |{{ {{#if:|{{{template}}}|Translations:{{#if:Template|Template:}}Unused file/Page_display_title}} }} }} |{{#if: |Unused file |Template:Unused file }} }}}}{{#ifeq:Template:Unused file| |}} for help.}} |
| #default=
{{#switch:
| =
40x40px | This file is currently not used anywhere on MediaWiki.org and may become a candidate for deletion or may be exported to Wikimedia Commons. Before deleting, make sure it isn't used elsewhere on the wiki, linked to from elsewhere on the web, or being kept for historical interest (by consulting the original uploader if necessary). {{#if: |Tag added: {{{date}}}|No date supplied - please see {{#ifeq:Template:Unused file| | }}{{#if:|{{{2}}}|{{#ifexist:Translations:{{#if:Template|Template:}}Unused file/Page display title/en |{{#if: | |{{ {{#if:|{{{template}}}|Translations:{{#if:Template|Template:}}Unused file/Page_display_title}} }} }} |{{#if: |Unused file |Template:Unused file }} }}}}{{#ifeq:Template:Unused file| |}} for help.}} |
{{#if:||}}
| #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:== Usage ==
{{#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}}:Unused file|Unused file]]{{#if:~~~~~||~~~~~}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}
This should be added to any image that is not currently used on MediaWiki.org, but which is not otherwise a candidate for deletion. The five tildes in the example above will be replaced by the current date when the page is saved.
No decision has been made about what to do with these images beyond simply tagging them and awaiting some kind of future decision.
TemplateData
{{#switch:<translate></translate> |=
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|{{#ifexpr:{{#if:|{{#ifeq:Template:Unused file/en|Template:Transclude|0|1}}|not{{#ifexpr: ( {{#ifeq:en|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:unused file/en|-1|-2}}|doc|1|0}} and {{#if:en|1|0}} ) )|1|0}}}}|Template:Navbar}}}} {{#if:||<translate> This is the [[<tvar name=1>Special:MyLanguage/Help:TemplateData</tvar>|TemplateData]] documentation for this template used by [[<tvar name=2>Special:MyLanguage/VisualEditor</tvar>|VisualEditor]] and other tools.</translate>}}
Unused file
{{#ifeq:en|sandbox||{{#if:{{#ifexpr: (
{{#ifeq:en|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:unused file/en|-1|-2}}|doc|1|0}} and {{#if:en|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default=
{{#switch:
|=
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|{{#ifexpr:{{#if:|{{#ifeq:Template:Unused file/en|Template:Transclude|0|1}}|not{{#ifexpr: ( {{#ifeq:en|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:unused file/en|-1|-2}}|doc|1|0}} and {{#if:en|1|0}} ) )|1|0}}}}|Template:Navbar}}}} {{#if:||This is the TemplateData documentation for this template used by VisualEditor and other tools.}}
Unused file
{{#ifeq:en|sandbox||{{#if:{{#ifexpr: (
{{#ifeq:en|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:unused file/en|-1|-2}}|doc|1|0}} and {{#if:en|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default=
Lua error: expandTemplate: template loop detected.
}} }} Template:Unused file/doc
See also
- {{#ifeq:Template:Historical image|
|
|{{#if: | |{{ {{#if:|{{{template}}}|Translations:{{#if:Template|Template:}}Historical image/Page_display_title}} }} }} |{{#if: |Historical image |Template:Historical image }}
}}}}{{#ifeq:Template:Historical image|
|
}}
- {{#ifeq:Template:Required image|
|
|{{#if: | |{{ {{#if:|{{{template}}}|Translations:{{#if:Template|Template:}}Required image/Page_display_title}} }} }} |{{#if: |Required image |Template:Required image }}
}}}}{{#ifeq:Template:Required image|
|
}}
- {{#ifeq:Template:Linked image|
|
}}{{#if:|{{{2}}}|{{#ifexist:Translations:{{#if:Template|Template:}}Linked image/Page display title/en
|{{#if: | |{{ {{#if:|{{{template}}}|Translations:{{#if:Template|Template:}}Linked image/Page_display_title}} }} }} |{{#if: |Linked image |Template:Linked image }}
}}}}{{#ifeq:Template:Linked image|
|
}}
[[Category:Admin templates{{#translation:}}|Unused file/en]] [[Category:File namespace templates{{#translation:}}|Unused file/en]]| [[Category:Template documentation pages{{#translation:}}]] }}