Template:Required image/en

From Anarchaserver
< Template:Required 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:

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

 |

}}

[[Category:Info templates{{#translation:}}|Required image/en]] [[Category:File namespace templates{{#translation:}}|Required image/en]]| [[Category:Template documentation pages{{#translation:}}]] }}