Difference between revisions of "Template:Region"
From eRepublik Official Wiki
m (undoing this mess) |
m ({{{resource|}}} is a resource sometimes, too) |
||
(One intermediate revision by the same user 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 06:15, 28 May 2014
Anhui