Difference between revisions of "Template:Deletable file"

From blackwiki
Jump to navigation Jump to search
imported>Train2104
(add help param)
imported>Train2104
(move the delete link outside of the help=off)
Line 9: Line 9:
 
|''This file {{{this image}}}{{#ifeq:{{{period}}}|no||.}}
 
|''This file {{{this image}}}{{#ifeq:{{{period}}}|no||.}}
 
}} {{#ifeq:{{{breakbeforeunless}}}|yes|</ul><br />}}Unless {{{will be deleted unless}}}, the {{#ifeq: {{{previous version}}} |yes |previous version(s)|file}} will be {{#if:{{{csd|}}}|[[Wikipedia:Criteria for speedy deletion#{{{csd}}}|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}}}}}.''
 
}} {{#ifeq:{{{breakbeforeunless}}}|yes|</ul><br />}}Unless {{{will be deleted unless}}}, the {{#ifeq: {{{previous version}}} |yes |previous version(s)|file}} will be {{#if:{{{csd|}}}|[[Wikipedia:Criteria for speedy deletion#{{{csd}}}|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>}}}|<div>''Note {{{note}}}''</div>}}
+
{{#if:{{{note<includeonly>|</includeonly>}}}|<div>''Note {{{note}}}''</div>}}{{#if:{{{for administrators<includeonly>|</includeonly>}}}|
 +
<small class="sysop-show">''Administrators: {{{for administrators}}}''<br /></small>
 +
}}
 
{{#ifeq:{{{help}}}|off||----
 
{{#ifeq:{{{help}}}|off||----
<small>{{#if:{{{for administrators<includeonly>|</includeonly>}}}|
+
<small>Usage: {{tlx|{{{template<noinclude>|di-foo</noinclude>}}}|{{#if:{{{source|}}}|source&#61;{{{source}}}}} |date&#61;{{#time:j F Y|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}} }}{{#if:{{{params|}}}|{{!}}{{{params}}}}}}}{{#if:{{{optional|}}}|<br/>
<span class="sysop-show">''Administrators: {{{for administrators}}}''<br /></span>
 
}}
 
Usage: {{tlx|{{{template<noinclude>|di-foo</noinclude>}}}|{{#if:{{{source|}}}|source&#61;{{{source}}}}} |date&#61;{{#time:j F Y|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}} }}{{#if:{{{params|}}}|{{!}}{{{params}}}}}}}{{#if:{{{optional|}}}|<br/>
 
 
{{#ifeq: {{{optional}}} |yes| Optional usage|{{{optional}}}}}: {{tlx|{{{template<noinclude>|di-foo</noinclude>}}}|{{#if:{{{source|}}}|source&#61;{{{source}}}{{!}}}}date&#61;{{#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&#61;{{{source}}}{{!}}}}date&#61;{{#iferror:{{#time:j F Y|{{{date|}}}}}|{{#time:j F Y|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}} }}}} }}}}<!--
 
-->{{#ifeq:{{{no notify|}}}|yes||<br/>
 
-->{{#ifeq:{{{no notify|}}}|yes||<br/>

Revision as of 17:51, 5 June 2017