Template:DatedAI
From Wikipedia, the free encyclopedia
[edit] Template documentation
Usage
This template is designed to be used from the {{Articleissues}} template.
To add a new issue use something like
{{DatedAI | name = {{{unreferenced|}}} | message = * It does not '''cite any [[Wikipedia:Citing sources|references or sources]]'''. Please help improve this article by citing [[Wikipedia:Verifiability|reliable sources]] | cat = All articles lacking sources | cat-date = Articles lacking sources from | cat-undate = Articles lacking sources }}
to {{Articleissues}} which will show as
- It does not cite any references or sources. Please help improve this article by citing reliable sources Tagged since June 2008.
Note: you will not currently need to use cat-undate, and may not need to use cat.
Code
The code unravelled looks something like this:
{{#if:{{{name|}}}|{{{message}}} {{#if:{{checkdate|{{{name}}}}} |<small> Tagged since {{checkdate|{{{name}}}}}.</small> {{#if:{{{cat-date|}}} |[[Category:{{{cat-date}}} {{checkdate|{{{name}}}}}]]}} |{{#if:{{{cat-undate|}}}|[[Category:{{{cat-undate}}}]]}} }} {{#if:{{{cat|}}}|[[Category:{{{cat}}]]}} <br/>}}