Template:YYYY elections in continent category header

{{#ifeq: {{YYYY elections in continent category header/checkvalid}}|titlenotmatched|{{Error|Invalid page name.
Template:YYYY elections in continent category header is for use only on category pages whose title is of the form {{nowrap|"YYYY elections in continent"}}, where "YYYY" is 4-digit year, and "continent" is one of the following: Africa, Asia, Europe, North America, South America, Oceania}}Category:Errors reported by other category header templates|{{YYYY elections in continent category header/core|year={{#invoke:String|replace|source={{PAGENAME}}|pattern=^(%d%d%d%d) elections in .+$|replace=%1|count=1|plain=false}}|continent={{#invoke:String|replace|source={{PAGENAME}}|pattern=^%d%d%d%d elections in (.+)$|replace=%1|count=1|plain=false}}}}}}

{{Documentation}}

{{Sandbox other||

Continent

}}