Difference between revisions of "Template:Ambox/category/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>MSGJ
(just use cat and all, can be called multiple times)
blackwiki>Redrose64
(sortkey)
Line 1: Line 1:
 
{{#if:{{{cat|}}}
 
{{#if:{{{cat|}}}
 
  |{{#if:{{{date|}}}
 
  |{{#if:{{{date|}}}
   |[[Category:{{{cat}}} {{{preposition|from}}} {{{date}}}]]{{#ifexist:Category:{{{cat}}} {{{preposition|from}}} {{{date}}}|
+
   |[[Category:{{{cat}}} {{{preposition|from}}} {{{date}}}|{{#time:Y-m|{{{date}}}}}]]{{#ifexist:Category:{{{cat}}} {{{preposition|from}}} {{{date}}}|
 
   |[[Category:Articles with invalid date parameter in template]]
 
   |[[Category:Articles with invalid date parameter in template]]
 
   }}
 
   }}

Revision as of 13:08, 2 September 2013