Difference between revisions of "Template:DisestcatUSstateDecade"
Jump to navigation
Jump to search
imported>BrownHairedGirl (make parameterless, after testing in Template:DisestcatUSstateDecade/sandbox) |
imported>Jonesey95 (add comma for Category:Disestablishments in Washington, D.C., ...) |
||
| Line 13: | Line 13: | ||
| decade={{#invoke:String|replace|source={{PAGENAME}}|pattern=^(%d%d%d0)s .+$|replace=%1|start=1|match=1|plain=false}}<!-- | | decade={{#invoke:String|replace|source={{PAGENAME}}|pattern=^(%d%d%d0)s .+$|replace=%1|start=1|match=1|plain=false}}<!-- | ||
-->| state={{#invoke:String|replace|source={{PAGENAME}}|pattern=^%d%d%d0s disestablishments in |replace=|count=1|plain=false}}<!-- | -->| state={{#invoke:String|replace|source={{PAGENAME}}|pattern=^%d%d%d0s disestablishments in |replace=|count=1|plain=false}}<!-- | ||
| + | -->|comma={{{comma|}}}<!-- | ||
-->}}</includeonly>{{CatAutoTOC}}<includeonly><!-- | -->}}</includeonly>{{CatAutoTOC}}<includeonly><!-- | ||
-->}}<!-- | -->}}<!-- | ||
Latest revision as of 15:01, 6 December 2020
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. |