Difference between revisions of "Template:IRegion/Core"

From eRepublik Official Wiki
Jump to: navigation, search
(update)
Line 1: Line 1:
 
<includeonly>{{DISPLAYTITLE:{{{name|{{{link|}}}}}}}}<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>{{DISPLAYTITLE:{{{name|{{{link|}}}}}}}}<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>]</span>
+
<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|{{{country|eRepublik}}}|{{#if: {{{transcountry}}}|{{{transcountry}}}|{{{country}}}}}}}</span>
 
<span style="font-family:sans-serif; font-size:120%; font-weight:bold;">{{CountryLink|{{{country|eRepublik}}}|{{#if: {{{transcountry}}}|{{{transcountry}}}|{{{country}}}}}}}</span>
Line 6: Line 6:
 
<div style="padding: 5px 8px 5px 8px; margin:10px 5px; width:222px; border:1px solid #C6E4F2; background-color:white"  align="center">
 
<div style="padding: 5px 8px 5px 8px; margin:10px 5px; width:222px; border:1px solid #C6E4F2; background-color:white"  align="center">
 
{| style="background:transparent;"
 
{| style="background:transparent;"
| {{#if: {{{map|}}}|style="border-bottom:1px solid #C6E4F2; margin-bottom:5px; padding-bottom:5px; width:222px"}}|<center>[[File:Flag-{{{country|eRepublik}}}.jpg|110px|Flag of {{{country|{{{iCountry|unknown country}}}|link={{{country|eRepublik}}}]]&nbsp;&nbsp;{{#if: {{{coatofarms|}}}| [[File:{{{coatofarms|}}}{{!}}60px{{!}}Coat of Arms of {{{name|unknown region}}}]]|}}</center>
+
| {{#if: {{{map|}}}|style="border-bottom:1px solid #C6E4F2; margin-bottom:5px; padding-bottom:5px; width:222px"}}|<center>[[File:Flag-{{#ifeq:{{Regions/Owners|{{BASEPAGENAME}}}}|FAIL|{{{country|eRepublik}}}|{{Regions/Owners|{{BASEPAGENAME}}}}}}.jpg|110px|Flag of the owner|link={{#ifeq:{{Regions/Owners|{{BASEPAGENAME}}}}|FAIL|{{{country|eRepublik}}}|{{Regions/Owners|{{BASEPAGENAME}}}}}}]]&nbsp;&nbsp;{{#if: {{{coatofarms|}}}| [[File:{{{coatofarms|}}}{{!}}60px{{!}}Coat of Arms of {{{name|unknown region}}}]]|}}</center>
 
|-
 
|-
 
|{{#if: {{{map|}}}|style="padding-top:5px;"{{!}}<center>[[File:{{{map|}}}|220px|{{{iMapOf|Map of}}} {{{transcountry|{{{country|}}}}}}]]</center>}}
 
|{{#if: {{{map|}}}|style="padding-top:5px;"{{!}}<center>[[File:{{{map|}}}|220px|{{{iMapOf|Map of}}} {{{transcountry|{{{country|}}}}}}]]</center>}}
Line 29: Line 29:
 
{| style="width:225px;"
 
{| style="width:225px;"
 
{{HeaderV2|{{{iProductivity|Productivity}}}}}
 
{{HeaderV2|{{{iProductivity|Productivity}}}}}
{{RowV2|{{#if: {{{resource2|}}}|{{{iResources|Resources}}}|{{{iResource|Resource}}}}}|{{#if: {{{resource|}}} | [[File:Icon_-_{{{resource}}}.png|link={{{resource}}}|40px]] }} {{#if: {{{resource1|}}} | [[File:Icon_-_{{{resource1}}}.png|link={{{resource1}}}/{{SUBPAGENAME}}|40px]] | {{#if: {{{resource1}}}||''None''}} }} {{#if: {{{resource2|}}} | [[File:Icon_-_{{{resource2}}}.png|link={{{resource2}}}/{{SUBPAGENAME}}|40px]] }} {{#if: {{{resource4|}}} | <br/> }} {{#if: {{{resource3|}}} | [[File:Icon_-_{{{resource3}}}.png|link={{{resource3}}}/{{SUBPAGENAME}}|40px]] }} {{#if: {{{resource4|}}} | [[File:Icon_-_{{{resource4}}}.png|link={{{resource4}}}/{{SUBPAGENAME}}|40px]] }} }}
+
{{RowV2|{{#if: {{{resource2|}}}|{{{iResources|Resources}}}|{{{iResource|Resource}}}}}|{{#if: {{{resource|}}} | [[File:Icon_-_{{{resource}}}.png|link={{{resource}}}|40px]] }} {{#if: {{{resource1|}}} | [[File:Icon_-_{{{resource1}}}.png|link={{{resource1}}}/{{SUBPAGENAME}}|40px]] | {{#if: {{{resource1}}}||''{{{iNone|None}}}''}} }} {{#if: {{{resource2|}}} | [[File:Icon_-_{{{resource2}}}.png|link={{{resource2}}}/{{SUBPAGENAME}}|40px]] }} {{#if: {{{resource4|}}} | <br/> }} {{#if: {{{resource3|}}} | [[File:Icon_-_{{{resource3}}}.png|link={{{resource3}}}/{{SUBPAGENAME}}|40px]] }} {{#if: {{{resource4|}}} | [[File:Icon_-_{{{resource4}}}.png|link={{{resource4}}}/{{SUBPAGENAME}}|40px]] }} }}
 
|}
 
|}
  

Revision as of 04:18, 19 October 2018