模板:Pp-template{{#if:

|{{#if:
 |[[Category:{{{cat}}} from {{{date}}}]]{{#ifexist:Category:{{{cat}}} from {{{date}}}|
  |
 }}
 |[[Category:{{{cat}}}]]
}}

}}{{#if:

|[[Category:{{{all}}}]]

}}