Template:Required image/en: Difference between revisions
en>FuzzyBot (Updating to match new version of source page) |
RaenAndaleio (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 00:53, 23 April 2023
<languages/> Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }}
| file | image = {{#if:||}}
| other | #default = }} Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted{{#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: | |{{ Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted | nsp = 0 }} }} |{{ Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted }} }} |{{#if: |{{#if:Linked image |Linked image |Template: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: | |{{ Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted | nsp = 0 }} }} |{{ Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted }} }} |{{#if: |{{#if:UnusedImage |UnusedImage |Template:UnusedImage }} |Template:UnusedImage }}
}}}}{{#ifeq:Template:UnusedImage|
|
}}
- {{#ifeq:Template:Historical image|
|
|{{#if: |{{#if: | |{{ Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted | nsp = 0 }} }} |{{ Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted }} }} |{{#if: |{{#if:Historical image |Historical image |Template:Historical image }} |Template:Historical image }}
}}}}{{#ifeq:Template:Historical image|
|
}}
[[Category:Header templates{{#translation:}}|Required image/en]] [[Category:File namespace templates{{#translation:}}|Required image/en]]| [[Category:Template documentation pages{{#translation:}}]] }}