Difference between revisions of "Template:Region"
From eRepublik Official Wiki
m (test) |
|||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div style="float:right; clear:right; opacity:1; width:250px; border:2px solid #C6E4F2; -moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;font-size:100%; background-color:#F1FAFF; margin:0px 0px 10px 10px; padding:10px 0px 5px 0px; text-align:left;"> | <includeonly><div style="float:right; clear:right; opacity:1; width:250px; border:2px solid #C6E4F2; -moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;font-size:100%; background-color:#F1FAFF; margin:0px 0px 10px 10px; padding:10px 0px 5px 0px; text-align:left;"> | ||
− | <div align="center"><span class="plainlinks" style="padding:1px; font-size:130%; font-weight:bold; text-align:center; color:#3C8FA7">[http://www.erepublik.com/en/region/{{#if: {{{link|}}}|{{{link|}}}|{{{name|}}}}} <span>{{{name|Unnamed region}}}</span>{{#if:{{{ | + | <div align="center"><span class="plainlinks" style="padding:1px; font-size:130%; font-weight:bold; text-align:center; color:#3C8FA7">[http://www.erepublik.com/en/region/{{#if: {{{link|}}}|{{{link|}}}|{{{name|}}}}} <span>{{{name|Unnamed region}}}</span>{{#if:{{{altname1|}}}|<br /><span style="font-size:12px;">''{{{altname1|}}}''</span>|}}{{#if:{{{altname2|}}}|<br /><span style="font-size:12px;">''{{{altname2|}}}''</span>|}}{{#if:{{{altname3|}}}|<br /><span style="font-size:12px;">''{{{altname3|}}}''</span>|}}]</span> |
<span style="font-family:sans-serif; font-size:120%; font-weight:bold;">{{CountryLink|{{#ifeq:{{Regions/Owners|{{BASEPAGENAME}}}}|FAIL|{{{country|eRepublik}}}|{{Regions/Owners|{{BASEPAGENAME}}}}}}}}</span> | <span style="font-family:sans-serif; font-size:120%; font-weight:bold;">{{CountryLink|{{#ifeq:{{Regions/Owners|{{BASEPAGENAME}}}}|FAIL|{{{country|eRepublik}}}|{{Regions/Owners|{{BASEPAGENAME}}}}}}}}</span> | ||
Line 26: | Line 26: | ||
|} | |} | ||
{| style="width:225px;" | {| style="width:225px;" | ||
− | |||
− | |||
− | |||
|} | |} | ||
Line 43: | Line 40: | ||
{{#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 --> | ||
Line 50: | Line 48: | ||
<noinclude> | <noinclude> | ||
− | {{Region | + | {{Region |
− | nocat=true | + | |nocat=true |
− | name= Anhui | + | |name= Anhui |
− | country= | + | |country= China |
− | number= | + | |number= 361 |
− | flag= Flag- | + | |flag= Flag-China.jpg |
− | coatofarms= Coat- | + | |coatofarms= Coat-China.png |
− | + | |map= Region-Anhui.png | |
− | capital= Hefei | + | |capital= Hefei |
− | population= | + | |population= 20 |
− | language= | + | |language= Chinese |
− | movingzone= | + | |movingzone=B4 |
− | + | |resource=Limestone | |
− | + | ||
− | + | ||
}} | }} | ||
<pre> | <pre> | ||
− | {{Region | + | {{Region |
− | name= | + | |name= |
− | link=| | + | |link= |
− | + | |altname1= | |
− | number= | + | |altname2= |
− | coatofarms= | + | |altname3= |
− | map= | + | |country= |
− | + | |number= | |
− | capital= | + | |coatofarms= |
− | population= | + | |map= |
− | language= | + | <!-- Society --> |
− | movingzone= | + | |capital= |
− | + | |population= | |
− | + | |language= | |
− | + | |movingzone= | |
− | resource= | + | <!-- Productivity --> |
+ | |resource= <!-- Needed only if not working right. --> | ||
}} | }} | ||
</pre> | </pre> |
Revision as of 07:54, 26 June 2016
Anhui