Difference between revisions of "Template:DisestcatContinent"
Jump to navigation
Jump to search
imported>BrownHairedGirl (make parameterless. Use Template:DisestcatContinent/core) |
imported>BrownHairedGirl (fix) |
||
Line 2: | Line 2: | ||
-->|year={{Title year}}<!-- | -->|year={{Title year}}<!-- | ||
-->|decade={{#expr:((({{Title year}}/10)-0.5) round 0)}}<!-- | -->|decade={{#expr:((({{Title year}}/10)-0.5) round 0)}}<!-- | ||
− | -->|continent={{#invoke:String|replace|source={{PAGENAME}}|pattern=^%d+ | + | -->|continent={{#invoke:String|replace|source={{PAGENAME}}|pattern=^%d+ disestablishments +in +(.+)$|replace=%1|count=1|plain=false}}<!-- |
-->}}</includeonly><noinclude> | -->}}</includeonly><noinclude> | ||
<!-- Add categories and interwikis to the /doc subpage, please, not here! --> | <!-- Add categories and interwikis to the /doc subpage, please, not here! --> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 17:43, 15 July 2019
Usage
For categories such as Category:1956 disestablishments in Europe, enter:
{{DisestcatContinent}}
No parameters are needed.
For categories such as Category:1956 disestablishments by continent, do not use this template, but {{Disestcatbycontinent}}.
See also
- Template:(Dis)establishments in year category header
- Template:DisestcatCountry
- Template:Disestcatbycontinent
- Template:DisestcatContinentDecade
- Template:EstcatContinent
The above documentation is transcluded from Template:DisestcatContinent/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |