Template:Deletable file: Difference between revisions
Appearance
Content deleted Content added
allow "this image" parameter to contain nested italics without breaking the formatting. Example use at File:RumTumTugger.PNG |
m Localise imported template guidance and policy links; preserve index layout and licence information |
||
| Line 8: | Line 8: | ||
|''The '''previous version(s)''' of this image or media {{{previous version of this image}}}.'' |
|''The '''previous version(s)''' of this image or media {{{previous version of this image}}}.'' |
||
|<div style="font-style:italic; display:inline;">This file {{{this image}}}{{#ifeq:{{{period}}}|no||.}}</div> |
|<div style="font-style:italic; display:inline;">This file {{{this image}}}{{#ifeq:{{{period}}}|no||.}}</div> |
||
}} ''{{#ifeq:{{{breakbeforeunless}}}|yes|</ul><br />}}Unless {{{will be deleted unless}}}, the {{#ifeq: {{{previous version}}} |yes |previous version(s)|file}} will be {{#if:{{{csd|}}}|[[ |
}} ''{{#ifeq:{{{breakbeforeunless}}}|yes|</ul><br />}}Unless {{{will be deleted unless}}}, the {{#ifeq: {{{previous version}}} |yes |previous version(s)|file}} will be {{#if:{{{csd|}}}|[[Project:Candidates for speedy deletion|deleted]]|deleted}} {{#if:{{{or will be<includeonly>|</includeonly>}}}| or {{{or will be}}}}} {{#if:{{{date|}}}|after}} '''{{#if:{{{date|}}}|{{#time:l, j F Y|{{#iferror:{{#time:Y-m-d|{{{date|einval}}}}}|{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}}}+ {{#switch: {{{span|7}}} |1|one=1|2|two=2|3|three=3|4|four=4|5|five=5|6|six=6| #default=7}} days}}|{{{span|seven}}} days after {{{relative to|this template was added}}}}}.''' Please {{#ifeq: {{{do not remove}}} |template |do not remove this tag|remove this template {{#if:{{{remove template and<includeonly>|</includeonly>}}}|and {{{remove template and}}}}} if {{{remove this template if}}}}}.''{{#if:{{{note<includeonly>|</includeonly>}}}|<br /><div>''Note {{{note}}}''</div>}}{{#if:{{{for administrators<includeonly>|</includeonly>}}}| |
||
<small class="sysop-show"><br />''Administrators: {{{for administrators}}}''</small> |
<small class="sysop-show"><br />''Administrators: {{{for administrators}}}''</small> |
||
}} |
}} |
||
| Line 15: | Line 15: | ||
-->{{#ifeq:{{{no notify|}}}|yes||<br/>Notify the uploader with: {{tlsx| {{{template<noinclude>|di-foo</noinclude>}}}-notice |<nowiki>1=</nowiki>{{PAGENAME}}{{#if:{{{source|}}}|{{!}}source={{{source}}}}}}} <nowiki>~~~~</nowiki>}}<!-- |
-->{{#ifeq:{{{no notify|}}}|yes||<br/>Notify the uploader with: {{tlsx| {{{template<noinclude>|di-foo</noinclude>}}}-notice |<nowiki>1=</nowiki>{{PAGENAME}}{{#if:{{{source|}}}|{{!}}source={{{source}}}}}}} <nowiki>~~~~</nowiki>}}<!-- |
||
-->{{#ifeq:{{{no caption|}}}|yes||<br/>Add the following to the image captions: {{tlx|Deletable file-caption|{{#if:{{{date|}}}|{{#time:l, j F Y|{{#iferror:{{#time:Y-m-d|{{{date|einval}}}}}|{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}}}+ {{#switch: {{{span|7}}} |1|one=1|2|two=2|3|three=3|4|four=4|5|five=5|6|six=6| #default=7}} days}}|}}{{!}}{{{csd|CSD}}}}} |
-->{{#ifeq:{{{no caption|}}}|yes||<br/>Add the following to the image captions: {{tlx|Deletable file-caption|{{#if:{{{date|}}}|{{#time:l, j F Y|{{#iferror:{{#time:Y-m-d|{{{date|einval}}}}}|{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}}}+ {{#switch: {{{span|7}}} |1|one=1|2|two=2|3|three=3|4|four=4|5|five=5|6|six=6| #default=7}} days}}|}}{{!}}{{{csd|CSD}}}}} |
||
}}</small>{{#if:{{{csd|}}}|<includeonly><span id="delete-reason" style="display:none">{{urlencode:[[ |
}}</small>{{#if:{{{csd|}}}|<includeonly><span id="delete-reason" style="display:none">{{urlencode:[[Project:Candidates for speedy deletion|{{{csd}}}]]: {{{rationale|}}}}}</span></includeonly>|}}{{{extra|}}} |
||
}}}}<includeonly>{{NOINDEX}}</includeonly><noinclude> |
}}}}<includeonly>{{NOINDEX}}</includeonly><noinclude> |
||
{{Documentation}} |
{{Documentation}} |
||
Latest revision as of 10:17, 31 October 2026
This file {{{this image}}}.
Unless {{{will be deleted unless}}}, the file will be deleted or {{{or will be}}} seven days after this template was added. Please remove this template and {{{remove template and}}} if {{{remove this template if}}}.Note {{{note}}}
Administrators: {{{for administrators}}}
Usage:
{{di-foo|date=31 October 2026}}Notify the uploader with:
{{subst:di-foo-notice|1=Deletable file}} ~~~~Add the following to the image captions:
{{Deletable file-caption||CSD}}| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit "Template:Deletable file/doc" to edit its documentation if it is available. (How does this work?) |
Usage
This template (di = "deletable image") is intended for use as a meta-template for file criteria for speedy deletion that have a waiting period. Unlike {{db}}, this template is not designed to be used directly.