Difference between revisions of "Template:Deletable file"

From blackwiki
Jump to navigation Jump to search
imported>Train2104
(add rationale param for twinkle hidden text)
imported>Train2104
(fix)
Line 20: Line 20:
 
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}}}}}
 
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}}}}}
 
}}
 
}}
</small>{{#if:{{{csd|}}}|<includeonly><span id="delete-criterion" style="display:none">[[WP:CSD#{{{csd}}}|{{{csd}}}]]{{#if:{{{rationale|}}}|: {{{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 00:19, 11 August 2017