Difference between revisions of "Template:DisestcatUSstateDecade/sandbox"
Jump to navigation
Jump to search
imported>BrownHairedGirl (←Created page with '<includeonly>{{Category other |<!-- # It is a category, so proceed # First check that this page's title is of the format "YYY0s disestablishmen...') |
imported>BrownHairedGirl (fix pattern) |
||
| Line 3: | Line 3: | ||
# It is a category, so proceed | # It is a category, so proceed | ||
# First check that this page's title is of the format "YYY0s disestablishments in Foo" | # First check that this page's title is of the format "YYY0s disestablishments in Foo" | ||
| − | -->{{#ifeq: {{#invoke:String|match|s={{PAGENAME}}|pattern=^%d%d%d0s | + | -->{{#ifeq: {{#invoke:String|match|s={{PAGENAME}}|pattern=^%d%d%d0s disestablishments in .+$|start=1|match=1|plain=false |nomatch=%%nomatch%%}} |%%nomatch%%<!-- |
-->|<!-- | -->|<!-- | ||
# Not a valid page | # Not a valid page | ||
Latest revision as of 20:17, 1 March 2020
| This is the template sandbox page for Template:DisestcatUSstateDecade (diff). |
This template is a modified version of Template:EstcatUSstateDecade
Usage
{{DisestcatUSstateDecade}}
No parameters are needed. The template parses the pagename, and extracts from it the year and name of the state.
See also
| The above documentation is transcluded from Template:DisestcatUSstateDecade/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |