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