<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tiffa.net/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AEstablishment_category_in_country</id>
	<title>Template:Establishment category in country - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tiffa.net/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AEstablishment_category_in_country"/>
	<link rel="alternate" type="text/html" href="https://wiki.tiffa.net/w/index.php?title=Template:Establishment_category_in_country&amp;action=history"/>
	<updated>2026-05-26T13:20:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.tiffa.net/w/index.php?title=Template:Establishment_category_in_country&amp;diff=148404&amp;oldid=prev</id>
		<title>Fire: Created page with &quot;&lt;includeonly&gt;&lt;!--   # The first step is to check whether this is being used on a YYYY establishments in [Country] category --&gt;{{#ifeq: {{#invoke:String|match|s={{FULLPAGENAME}}|pattern=^Category:%d%d%d%d? establishments in .+$|start=1|match=1|plain=false|nomatch=%%nomatch%%}}|%%nomatch%%&lt;!--     --&gt;|&lt;!--           # We are NOT on a valid page           # So raise an error        --&gt;{{error|ERROR! {{t|Establishment category in country}} is for use only in a category of th...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tiffa.net/w/index.php?title=Template:Establishment_category_in_country&amp;diff=148404&amp;oldid=prev"/>
		<updated>2025-06-02T12:19:50Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;includeonly&amp;gt;&amp;lt;!--   # The first step is to check whether this is being used on a YYYY establishments in [Country] category --&amp;gt;{{#ifeq: {{#invoke:String|match|s={{FULLPAGENAME}}|pattern=^Category:%d%d%d%d? establishments in .+$|start=1|match=1|plain=false|nomatch=%%nomatch%%}}|%%nomatch%%&amp;lt;!--     --&amp;gt;|&amp;lt;!--           # We are NOT on a valid page           # So raise an error        --&amp;gt;{{error|ERROR! {{t|Establishment category in country}} is for use only in a category of th...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;!--&lt;br /&gt;
  # The first step is to check whether this is being used on a YYYY establishments in [Country] category&lt;br /&gt;
--&amp;gt;{{#ifeq: {{#invoke:String|match|s={{FULLPAGENAME}}|pattern=^Category:%d%d%d%d? establishments in .+$|start=1|match=1|plain=false|nomatch=%%nomatch%%}}|%%nomatch%%&amp;lt;!--&lt;br /&gt;
    --&amp;gt;|&amp;lt;!--&lt;br /&gt;
          # We are NOT on a valid page&lt;br /&gt;
          # So raise an error&lt;br /&gt;
       --&amp;gt;{{error|ERROR! {{t|Establishment category in country}} is for use only in a category of the name &amp;quot;[Year] establishments in [Country]&amp;quot;.}}&amp;lt;!--&lt;br /&gt;
       --&amp;gt;[[Category:Errors reported by establishment and disestablishment templates|Establishment category in country]]&amp;lt;!--&lt;br /&gt;
    --&amp;gt;|&amp;lt;!--&lt;br /&gt;
          # We are on a valid page&lt;br /&gt;
          # So invoke the core&lt;br /&gt;
       --&amp;gt;{{Establishment category in country/core&lt;br /&gt;
            | year = {{{year|{{Title year}}}}} &amp;lt;!-- allow year param for demonstration purposes --&amp;gt;&lt;br /&gt;
            | country = {{{1|}}}&lt;br /&gt;
            | sortkey = {{{2|}}}&lt;br /&gt;
            | decadeparent = {{{decadeparent|}}}&lt;br /&gt;
            | nocat={{{nocat|}}}&lt;br /&gt;
            | min={{{min|}}}&lt;br /&gt;
            | dab={{{dab|}}}&lt;br /&gt;
          }}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;!--&lt;br /&gt;
  # Check for unknown parameters is primarily to catch the&lt;br /&gt;
  # pre-September 2019 syntax which took years as parameters &lt;br /&gt;
  # (e.g. {{EstcatCountry|201|0|the United States|United States}}),&lt;br /&gt;
  # but also has the positive side effect of catching other errors&lt;br /&gt;
--&amp;gt;{{#invoke:Check for unknown parameters|check|1|2|year|decadeparent|nocat|min|dab|unknown=&amp;lt;!--&lt;br /&gt;
    # We have unknown parameters&lt;br /&gt;
    # So issue a warning and categorize it appropriately&lt;br /&gt;
  --&amp;gt;ERROR! Unexpected parameter &amp;quot;_VALUE_&amp;quot; in {{t|Establishment category in country}}&amp;lt;!--&lt;br /&gt;
  --&amp;gt;{{Category other|[[Category:Errors reported by establishment and disestablishment templates|Establishment category in country]]}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}&amp;lt;/includeonly&amp;gt;&amp;lt;!--&lt;br /&gt;
 # Note {{Automatic category TOC}} needs to be available whether or not this template page has been transcluded&lt;br /&gt;
--&amp;gt;{{Automatic category TOC}}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{Documentation}}&amp;lt;!--&lt;br /&gt;
Add categories to the /doc subpage, please, not here! Interwikis go to Wikidata!&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fire</name></author>
	</entry>
</feed>