Modèle:Problèmes multiples/message/Documentation
Apparence
Modèle:Documentation modèle vue directement
Usage
This template is designed to be used in the {{problèmes multiples/message}} template.
To add a new issue use something like
{{Multiple issues/message | 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-dated = Articles lacking sources }}
to (tl) which will show as
Note: you will not currently need to use cat-undate, and may not need to use cat.
Additional date field
Because the "expert" parameter uses a subject name rather than a date, a date field has been introduced. This will be used, where supplied, if the name field isn't a valid date.
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/>}}