"ढाँचा:Orphaned non-free revisions" का संशोधनहरू बिचको अन्तर

avoid needless duplication for bot
Merge category statements; Remove link to a specific bot
पङ्क्ति १:
{{{{{|safesubstSAFESUBST:}}}<noinclude />#invoke:Unsubst||date={{{{{|safesubstSAFESUBST:}}}<noinclude />REVISIONTIMESTAMP}}|$B={{imbox
| type = content
| image = [[ImageFile:Ambox warning orange.svg|45px]]
| text = <p>The '''previous version(s)''' of this file are non-free and are no longer being used in articles. Therefore, they fail the Wikipedia [[Wikipedia:Non-free content criteria|non-free content criteria]] and will be deleted on '''{{#time:F j, Y|{{{date|{{{1|{{REVISIONTIMESTAMP}}}}}}}} +7 days}}'''. The '''current version''' will not be deleted, only previous revision(s).</p><div class="sysop-show"><hr><p>'''Administrators:''' If there are no problems with the current version, and it meets the non-free content criteria, please delete the '''previous version(s)''' under [[WP:CSD#F5|F5]] on '''{{#time:F j, Y|{{{date|{{{1|{{REVISIONTIMESTAMP}}}}}}}} +7 days}}''' (seven days after {{#time:F j, Y|{{{date|{{{1|{{REVISIONTIMESTAMP}}}}}}}} }}, when this template was added). Otherwise, please revert the file back to the last acceptable version. Once you're done, remove this tag. '''Use "change visibility"''', checking only the "Delete file content" option, in order to preserve the upload history in the "File history" section.</p></div>{{#ififeq: {{{human|}}} | yes|<hr>[[User:RonBot|AnA adminbot]]bot has requested human admin review for this file. |}}
}}<includeonly>{{Category handler
| file= {{#switch:{{Age switch|d={{{date|{{{1|{{REVISIONTIMESTAMP}}}}}}}}}}
|1= {{#ifeq:{{{human}}}|yes||[[Category:Non-free files with orphaned versions more than 7 days old {{#ifeq:{{{human|}}}|yes|needing human review}}|{{PAGENAME}}]]}}
|-1= [[Category:Non-free files with orphaned versions with invalid timestamp|{{PAGENAME}}]]{{imbox|text=The template is currently used incorrectly (without a date). Please modify the page by adding the correct date to the template. If the template was added today, {{tls|orfurrev}} can be used}}
|0= [[Category:Non-free files with orphaned versions|{{PAGENAME}}]]}}
| nocat = {{{nocat|}}}
| category2 = {{{category|¬}}}
}}{{file other|{{#if:{{{1|{{{date|}}}}}}||[[Category:Non-free files with orphaned versions with invalid timestamp|{{PAGENAME}}]]{{imbox|text=The template is currently used incorrectly (without a date). Please modify the page by adding the correct date to the template. If the template was added today, {{tls|orfurrev}} can be used}}}}{{#if:{{{human|}}}|[[Category:Non-free files with orphaned versions more than 7 days old needing human review|{{PAGENAME}}]]|}}{{#switch:{{Age switch|age=0|d={{{date|{{{1|{{REVISIONTIMESTAMP}}}}}}}}}}|0=[[Category:Non-free files with orphaned versions with invalid timestamp|{{PAGENAME}}]]{{imbox|text=The template is currently used incorrectly (with a date in the future).}}}}|}}
</includeonly>}}<noinclude>
{{documentation}}