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

From blackwiki
Jump to navigation Jump to search
blackwiki>BrownHairedGirl
(close }})
blackwiki>BrownHairedGirl
(fix cat see also)
Line 34: Line 34:
 
{{Category see also if exists|<!--
 
{{Category see also if exists|<!--
 
     -->{{Ordinal|{{{centurynum}}}}}-century {{#switch: {{{type}}}<!--
 
     -->{{Ordinal|{{{centurynum}}}}}-century {{#switch: {{{type}}}<!--
         -->|establishments=disestablishments
+
         -->|establishments=disestablishments<!--
 
         -->|disestablishments=establishments<!--
 
         -->|disestablishments=establishments<!--
     -->}} in {{{state}}}}}<!--
+
     -->}} in {{{state}}}<!--
 
-->}}
 
-->}}
  

Revision as of 08:36, 2 March 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