Template:Establishment category Indian state and Template:Establishment category Indian state/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
New name |
HouseBlaster (talk | contribs) m HouseBlaster moved page Template:EstcatIndiastate/sandbox to Template:Establishment category Indian state/sandbox: expand template name per WP:TPN |
||
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: |
-->{{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 |
||
-->{{ |
-->{{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: |
-->|{{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><!-- |