ទំព័រគំរូ:Multiple issues/message

ដោយវិគីភីឌា
Jump to navigation Jump to search


Documentation icon ឯកសារកម្មទំព័រគំរូ[បង្ហាញ] [កែប្រែ] [ប្រវត្តិ] [បន្សុទ្ធ]

Usage[កែប្រែ]

This template is designed to be used in the {{Multiple issues}} 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 {{Multiple issues}} 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/>}}