Difference between revisions of "Template:(Dis)estCatUSstateCentury/core"

From blackwiki
Jump to navigation Jump to search
blackwiki>BrownHairedGirl
m (6 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 40: Line 40:
  
 
[[Category:{{ucfirst:{{{type}}}}} in {{{state}}} by century]]
 
[[Category:{{ucfirst:{{{type}}}}} in {{{state}}} by century]]
[[Category:{{Century name from title decade}} in {{{state}}}|/{{{type}}}]]
+
[[Category:{{Ordinal|{{{centurynum}}}}} century in {{{state}}}|/{{{type}}}]]
[[Category:{{Century name from title decade|dash}} {{{type}}} in the United States|{{{state}}}]]
+
[[Category:{{Ordinal|{{{centurynum}}}}}-century {{{type}}} in the United States|{{{state}}}]]
 
{{#ifexist: Category:{{Ordinal|{{#expr: 1 + floor({{{MC}}} / 10)}}}}-millennium {{{type}}} in {{{state}}}<!--
 
{{#ifexist: Category:{{Ordinal|{{#expr: 1 + floor({{{MC}}} / 10)}}}}-millennium {{{type}}} in {{{state}}}<!--
 
   -->| [[Category:{{Ordinal|{{#expr: 1 + floor({{{MC}}} / 10)}}}}-millennium {{{type}}} in {{{state}}}]]
 
   -->| [[Category:{{Ordinal|{{#expr: 1 + floor({{{MC}}} / 10)}}}}-millennium {{{type}}} in {{{state}}}]]

Latest revision as of 08:59, 30 September 2020

Template documentation[view] [edit] [history] [purge]

Creates a category of the form "YYth-century establishments in Foo" or "YYth-century disestablishments in Foo", where "YY" is a 2-digit century, and "Foo" is a state of the United States.

The template detects whether this is an "establishments" or "disestablishments" category, and adjusts accordingly.

Usage

{{(Dis)estCatUSstateCentury}}

No parameters are needed.

See also