Difference between revisions of "Template:Historical image/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 | Although no pages on the wiki use this file, it is being kept for historical interest (such as mockups or screenshots of discussed features), and should not be deleted. No details have been supplied. {{#if:|This file is now on Wikimedia Commons. Please delete this file.}} |
| #default=
{{#switch:
| =
40x40px | Although no pages on the wiki use this file, it is being kept for historical interest (such as mockups or screenshots of discussed features), and should not be deleted. No details have been supplied. {{#if:|This file is now on Wikimedia Commons. Please delete this file.}} |
| #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:== Purpose == This template adds the above notice to the page, and places the file in {{#ifeq:Category:Required files with no apparent links|
|
|{{#if: | |{{ {{#if:|{{{template}}}|Translations:{{#if:Category|Category:}}Required files with no apparent links/Page_display_title}} }} }} |{{#if: |Required files with no apparent links |Category:Required files with no apparent links }}
}}}}{{#ifeq:Category:Required files with no apparent links|
|
}}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.
in order to stop it showing up inUsage
{{Historical image|REASON|NowCommons}}
- REASON will be displayed on the second line of the notice (in place of 'No details have been supplied.' text, above).
Examples
- {{#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}}:Historical image|Historical image]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} {{#switch:<translate></translate> | =
40x40px | <translate> Although no pages on the wiki use this file, it is being kept for historical interest (such as mockups or screenshots of discussed features), and should not be deleted.</translate> <translate> No details have been supplied.</translate> {{#if:|<translate> This file is now on Wikimedia Commons.</translate> <translate> Please delete this file.</translate>}} |
| #default=
{{#switch:
| =
40x40px | Although no pages on the wiki use this file, it is being kept for historical interest (such as mockups or screenshots of discussed features), and should not be deleted. No details have been supplied. {{#if:|This file is now on Wikimedia Commons. Please delete this file.}} |
| #default=
Lua error: expandTemplate: template loop detected.
}} }}
- {{#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}}:Historical image|Historical image]]{{#if:The reason is ...||The reason is ...}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} {{#switch:<translate></translate> | =
40x40px | <translate> Although no pages on the wiki use this file, it is being kept for historical interest (such as mockups or screenshots of discussed features), and should not be deleted.</translate> The reason is ... {{#if:|<translate> This file is now on Wikimedia Commons.</translate> <translate> Please delete this file.</translate>}} |
| #default=
{{#switch:
| =
40x40px | Although no pages on the wiki use this file, it is being kept for historical interest (such as mockups or screenshots of discussed features), and should not be deleted. The reason is ... {{#if:|This file is now on Wikimedia Commons. Please delete this file.}} |
| #default=
Lua error: expandTemplate: template loop detected.
}} }}
- {{#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}}:Historical image|Historical image]]{{#if:The reason is ...||The reason is ...}}{{#if:1||1}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} {{#switch:<translate></translate> | =
40x40px | <translate> Although no pages on the wiki use this file, it is being kept for historical interest (such as mockups or screenshots of discussed features), and should not be deleted.</translate> The reason is ... {{#if:1|<translate> This file is now on Wikimedia Commons.</translate> <translate> Please delete this file.</translate>}} |
| #default=
{{#switch:
| =
40x40px | Although no pages on the wiki use this file, it is being kept for historical interest (such as mockups or screenshots of discussed features), and should not be deleted. The reason is ... {{#if:1|This file is now on Wikimedia Commons. Please delete this file.}} |
| #default=
Lua error: expandTemplate: template loop detected.
}} }}
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: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: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|
|
}}
[[Category:Info templates{{#translation:}}|Historical image/en]] [[Category:File namespace templates{{#translation:}}|Historical image/en]]| [[Category:Template documentation pages{{#translation:}}]] }}