Template:Historical image/en

From Anarchaserver
< Template:Historical image
Revision as of 17:16, 4 February 2022 by B01 (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<languages/> {{#switch: | =

| #default=

 {{#switch:

| =

| #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:|{{{2}}}|{{#ifexist:Translations:{{#if:Category|Category:}}Required files with no apparent links/Page display title/en

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

 |

}} 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

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

| #default=

 {{#switch:

| =

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

| #default=

 {{#switch:

| =

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

| #default=

 {{#switch:

| =

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