Difference between revisions of "Template:Ambox/category"

From blackwiki
Jump to navigation Jump to search
blackwiki>Killiondude
(from /sandbox per edit request)
m (6 revisions imported)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{{cat|}}}
+
<noinclude>{{pp-template|small=yes}}</noinclude>{{#if:{{{cat|}}}
 
  |{{#if:{{{date|}}}
 
  |{{#if:{{{date|}}}
 
   |[[Category:{{{cat}}} {{{preposition|from}}} {{{date}}}]]{{#ifexist:Category:{{{cat}}} {{{preposition|from}}} {{{date}}}|
 
   |[[Category:{{{cat}}} {{{preposition|from}}} {{{date}}}]]{{#ifexist:Category:{{{cat}}} {{{preposition|from}}} {{{date}}}|
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}}}]]
 
 
}}
 
}}

Latest revision as of 13:15, 20 October 2020