Difference between revisions of "Template:EstcatContinent"
Jump to navigation
Jump to search
imported>BrownHairedGirl (</includeonly>) |
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+ in (.+)$|replace=%1|count=1|plain=false}}<!-- | + | -->|continent={{#invoke:String|replace|source={{PAGENAME}}|pattern=^%d+ establishments +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 16:01, 15 July 2019
Usage
For categories such as Category:1956 establishments in Europe, enter:
{{EstcatContinent}}
No parameters are needed.
For categories such as Category:1956 establishments by continent, do not use this template, but {{Estcatbycontinent}}.
See also
- Template:(Dis)establishments in year category header
- Template:EstcatCountry
- Template:Estcatbycontinent
- Template:EstcatContinentDecade
- Template:DisestcatContinent
The above documentation is transcluded from Template:EstcatContinent/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. |