Difference between revisions of "Template:DisestcatContinent"
Jump to navigation
Jump to search
imported>BrownHairedGirl (remove deleted Portal:Continents and Portal:Years. Use Portal:History) |
imported>BrownHairedGirl (make parameterless. Use Template:DisestcatContinent/core) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{ | + | <includeonly>{{DisestcatContinent/core<!-- |
| − | + | -->|year={{Title year}}<!-- | |
| − | + | -->|decade={{#expr:((({{Title year}}/10)-0.5) round 0)}}<!-- | |
| − | + | -->|continent={{#invoke:String|replace|source={{PAGENAME}}|pattern=^%d+ establishments +in +(.+)$|replace=%1|count=1|plain=false}}<!-- | |
| − | + | -->}}</includeonly><noinclude> | |
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | --> | ||
| − | |||
| − | |||
| − | }}<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> | ||
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. |