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

From blackwiki
Jump to navigation Jump to search
blackwiki>Debresser
(Add extra categories.)
blackwiki>MSGJ
(just use cat and all, can be called multiple times)
Line 8: Line 8:
 
}}{{#if:{{{all|}}}
 
}}{{#if:{{{all|}}}
 
  |[[Category:{{{all}}}]]
 
  |[[Category:{{{all}}}]]
}}{{#if:{{{cat2|}}}
 
|{{#if:{{{date|}}}
 
  |[[Category:{{{cat2}}} {{{preposition|from}}} {{{date}}}]]{{#ifexist:Category:{{{cat2}}} {{{preposition|from}}} {{{date}}}|
 
  |[[Category:Articles with invalid date parameter in template]]
 
  }}
 
  |[[Category:{{{cat2}}}]]
 
}}
 
}}{{#if:{{{all2|}}}
 
|[[Category:{{{all2}}}]]
 
}}{{#if:{{{cat3|}}}
 
|{{#if:{{{date|}}}
 
  |[[Category:{{{cat3}}} {{{preposition|from}}} {{{date}}}]]{{#ifexist:Category:{{{cat3}}} {{{preposition|from}}} {{{date}}}|
 
  |[[Category:Articles with invalid date parameter in template]]
 
  }}
 
  |[[Category:{{{cat3}}}]]
 
}}
 
}}{{#if:{{{all3|}}}
 
|[[Category:{{{all3}}}]]
 
 
}}
 
}}

Revision as of 20:15, 21 May 2012