Template:Required image/en
<languages/>
{{#if:| [[Image:{{{image}}}|40px|Notice]] }} | {{#if:
| {{{header}}}
}}Although it appears that no pages link to this file, it is in fact used on the wiki, and should not be deleted, unless the file has been exported to Commons. No details have been supplied. |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }}
| file | image = {{#if:||}}
| other | #default = }} 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:== Purpose == This template adds the above notice to the page, and places the image in Category:Required files with no apparent links in order to stop it showing up in the list of unused files. Text passed as the first parameter is displayed as the reason why the image is required, and should include links where appropriate.
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}}:Required image|Required image]]{{#if:REASON||REASON}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}
- REASON will be displayed on the second line of the notice (in place of 'No details have been supplied.' text, above).
See also
- {{#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|
|
}}
- {{#ifeq:Template:UnusedImage|
|
}}{{#if:|{{{2}}}|{{#ifexist:Translations:{{#if:Template|Template:}}UnusedImage/Page display title/en
|{{#if: | |{{ {{#if:|{{{template}}}|Translations:{{#if:Template|Template:}}UnusedImage/Page_display_title}} }} }} |{{#if: |UnusedImage |Template:UnusedImage }}
}}}}{{#ifeq:Template:UnusedImage|
|
}}
- {{#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|
|
}}
[[Category:Info templates{{#translation:}}|Required image/en]] [[Category:File namespace templates{{#translation:}}|Required image/en]]| [[Category:Template documentation pages{{#translation:}}]] }}