Difference between revisions of "Template:Deletable file"

From blackwiki
Jump to navigation Jump to search
imported>Graham87
m (grammar)
imported>WOSlinker
(remove linefeed after br tag)
Line 12: Line 12:
 
}}
 
}}
 
{{#ifeq:{{{help}}}|off||----
 
{{#ifeq:{{{help}}}|off||----
<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/>
+
<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/>{{#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/>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 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}}}}}

Revision as of 23:11, 31 May 2018