Difference between revisions of "Template:Region"
From eRepublik Official Wiki
m (I'm an idiot and I can't spell) |
m (Protected "Template:Region": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 43: | Line 43: | ||
{{#ifeq: {{NAMESPACE}}|| | {{#ifeq: {{NAMESPACE}}|| | ||
{{#ifeq: {{Regions/Owners|{{BASEPAGENAME}}}}|FAIL||[[Category:Regions of {{Regions/Owners|{{BASEPAGENAME}}}}]]}} | {{#ifeq: {{Regions/Owners|{{BASEPAGENAME}}}}|FAIL||[[Category:Regions of {{Regions/Owners|{{BASEPAGENAME}}}}]]}} | ||
− | [[Category:Regions with {{{resource|{{Region/SwitchRaw|{{{name|}}}}} | + | {{#if:{{{resource|}}}|[[Category:Regions with {{{resource|}}}]]|{{#ifeq: {{Region/SwitchRaw|{{{name|}}}}}|FAIL|[[Category:Regions with unassociated resource]]|[[Category:Regions with {{Region/SwitchRaw|{{{name|}}}}}]]}}}} |
− | {{ | + | |
}} <!-- END #ifeq namespace --> | }} <!-- END #ifeq namespace --> | ||
}} <!-- END #ifeq not translation --> | }} <!-- END #ifeq not translation --> |
Revision as of 14:18, 12 April 2015
Anhui