User:Davidwr/RefImprove template

This is in response to Aervanath's Analysis and Proposal in TfD 4/5/08 Citations missing.


Proposed template


Existing templates

{{Citations missing}}

<includeonly>{{#if:{{{date|}}}|{{{category|[[Category:Articles with unsourced statements since {{{date}}}]]}}}|{{{category|[[Category:Articles with unsourced statements]]}}}}}{{{category|[[Category:All articles with unsourced statements]]}}}</includeonly>


{{Unreferenced}}

{{#switch:{{NAMESPACE}}||Talk={{{category|[[Category:Articles lacking sources {{#if:{{{date|}}}|from {{{date}}}|}}]]}}}{{{category|[[Category:All articles lacking sources]]}}}{{#if:{{{date|}}}|{{#ifexist:Category:Articles lacking sources from {{{date}}}||{{{category|[[Category:Articles with invalid date parameter in template]]}}}}}|}}|}}

{{unreferencedsection}}

<includeonly>{{#if:{{{date|}}}|{{{category|[[Category:Articles needing additional references from {{{date}}}]]}}}|{{{category|[[Category:Articles needing additional references]]}}}}}{{#if:{{NAMESPACE}}||{{#if:{{{date|}}}|{{#ifexist:Category:Articles lacking sources from {{{date}}}||[[Category:Articles with invalid date parameter in template]]}}|}}}}<!--{{{category|[[Category:Articles lacking reliable references]]}}}--></includeonly>


{{onesource}}

<includeonly>{{{category|{{#if:{{{date|}}}|[[Category:Articles lacking reliable references from {{{date}}}]]|[[Category:Articles lacking reliable references]]}}}}}</includeonly>


{{Refimprove}}

<includeonly>{{#if:{{{date|}}}|{{{category|[[Category:Articles needing additional references from {{{date|}}}]]}}}|{{{category|[[Category:Articles needing additional references]]}}}}}{{#if:{{NAMESPACE}}||{{#if:{{{date|}}}|{{#ifexist:Category:Articles needing additional references from {{{date}}}||[[Category:Articles with invalid date parameter in template]]}}|}}}}</includeonly>


{{nofootnotes}}

<includeonly>{{{category|[[Category:Articles lacking in-text citations|{{PAGENAME}}]]}}}</includeonly>

{{morefootnotes}}

<includeonly>{{{category|[[Category:Articles lacking in-text citations|{{PAGENAME}}]]}}}</includeonly>