Jump to content

Template:Establishment category Indian state and Template:Establishment category Indian state/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
New name
 
 
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
-->{{Category other<!--
-->{{Category other<!--<small>Small text</small>
-->|<!--
-->|<!--
# It is a category, so proceed
# It is a category, so proceed
Line 7: Line 7:
-->|<!--
-->|<!--
# Not a valid page
# Not a valid page
-->{{Error|ERROR. [[Template:Establishment category Indian state]] is for use only on pages with a title of the form "Category:YYYY establishments in Foo", where YYYY is a 4-digit year.}}<!--
-->{{Error|ERROR. [[Template:EstcatIndiastate]] is for use only on pages with a title of the form "Category:YYYY establishments in Foo", where YYYY is a 4-digit year.}}<!--
-->[[Category:Errors reported by other category header templates]]<!--
-->[[Category:Errors reported by other category header templates]]<!--
-->|<!--
-->|<!--
# A valid page
# A valid page
-->{{Establishment category Indian state/core<!--
-->{{EstcatIndiastate/core/sandbox<!--
-->| year={{#invoke:String|match|s={{PAGENAME}}|pattern=^%d%d%d%d|start=1|match=1|plain=false}}<!--
-->| year={{#invoke:String|match|s={{PAGENAME}}|pattern=^%d%d%d%d|start=1|match=1|plain=false}}<!--
-->| state={{#invoke:String|replace|source={{PAGENAME}}|pattern=^%d%d%d%d establishments in |replace=|count=1|plain=false}}<!--
-->| state={{#invoke:String|replace|source={{PAGENAME}}|pattern=^%d%d%d%d establishments in |replace=|count=1|plain=false}}<!--
Line 18: Line 18:
-->|<!--
-->|<!--
# Not a category
# Not a category
-->|{{Error|message=ERROR. [[Template:Establishment category Indian state]] is for use only on category pages}}<!--
-->|{{Error|message=ERROR. [[Template:EstcatIndiastate]] is for use only on category pages}}<!--
-->[[Category:Errors reported by other category header templates]]<!--
-->[[Category:Errors reported by other category header templates]]<!--
-->}}</includeonly><!--
-->}}</includeonly><!--