Difference between revisions of "Template:Unused file"

From Anarchaserver
Licence>Shirayuki
m (fix nocat)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 17:16, 4 February 2022

<languages /> {{#switch:<translate></translate> | =

| #default=

 {{#switch:

| =

{{#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> |=

{{#if:{{safesubst:#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:||<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:

|=

{{#if:{{safesubst:#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:|{{{2}}}|{{#ifexist:Translations:{{#if:Template|Template:}}Historical image/Page display title/en

 |{{#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:|{{{2}}}|{{#ifexist:Translations:{{#if:Template|Template:}}Required image/Page display title/en

 |{{#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:}}]] }}