Difference between revisions of "Template:Deletable file"
Jump to navigation
Jump to search
imported>WOSlinker (line spacing) |
imported>Graham87 m (grammar) |
||
| Line 15: | Line 15: | ||
{{#ifeq: {{{optional}}} |yes| Optional usage|{{{optional}}}}}: {{tlx|{{{template<noinclude>|di-foo</noinclude>}}}|{{#if:{{{source|}}}|source={{{source}}}{{!}}}}date={{#iferror:{{#time:j F Y|{{{date|}}}}}|{{#time:j F Y|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}} }}}} }}}}<!-- | {{#ifeq: {{{optional}}} |yes| Optional usage|{{{optional}}}}}: {{tlx|{{{template<noinclude>|di-foo</noinclude>}}}|{{#if:{{{source|}}}|source={{{source}}}{{!}}}}date={{#iferror:{{#time:j F Y|{{{date|}}}}}|{{#time:j F Y|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}} }}}} }}}}<!-- | ||
-->{{#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 following to the image captions: {{tlx|deletable image-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 image-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:[[WP:CSD#{{{csd}}}|{{{csd}}}]]: {{{rationale|}}}}}</span></includeonly>|}}{{{extra|}}} | }}</small>{{#if:{{{csd|}}}|<includeonly><span id="delete-reason" style="display:none">{{urlencode:[[WP:CSD#{{{csd}}}|{{{csd}}}]]: {{{rationale|}}}}}</span></includeonly>|}}{{{extra|}}} | ||
}}}}<includeonly>{{NOINDEX}}</includeonly><noinclude> | }}}}<includeonly>{{NOINDEX}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 09:49, 13 February 2018
| 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=14 January 2026}}Notify the uploader with: Template:Tlsx ~~~~ Add the following to the image captions: {{deletable image-caption||CSD}} |
Usage
See also
{{di-no source}}{{di-no license}}{{di-no fair use rationale}}{{di-disputed fair use rationale}}{{di-orphaned fair use}}{{di-replaceable fair use}}
| The above documentation is transcluded from Template:Deletable file/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |