Difference between revisions of "Template:Country"

From eRepublik Official Wiki
Jump to: navigation, search
m
(implementing Bogi's suggestions, for more info see changelog)
Line 16: Line 16:
 
|
 
|
 
{| style="width:225px;"
 
{| style="width:225px;"
{{#if: {{{rank|}}}{{{motto|}}}{{{experience|}}}{{{average experience|}}}{{{anthem|}}}|{{HeaderV2|General}} }}
+
{{#if: {{{rank|}}}{{{motto|}}}{{{country power|}}}{{{average experience|}}}{{{anthem|}}}|{{HeaderV2|General}} }}
 
{{RowV2|General Rank|{{{rank|}}} }}
 
{{RowV2|General Rank|{{{rank|}}} }}
{{RowV2|Experience|{{{experience|}}} }}
+
{{RowV2|Country Power|{{{country power|}}} }}
 
{{RowV2|Average experience|{{{average experience|}}} }}
 
{{RowV2|Average experience|{{{average experience|}}} }}
 
{{RowV2|Anthem|{{{anthem|}}} }}
 
{{RowV2|Anthem|{{{anthem|}}} }}
Line 31: Line 31:
 
|}
 
|}
 
{| style="width:225px;"
 
{| style="width:225px;"
{{#if: {{{party name|}}}{{{president|}}}|{{HeaderV2|Politics}} }}
+
{{#if: {{{party name|}}}{{{president|}}}{{{dictator|}}}{{{dictator mu|}}}|{{HeaderV2|Politics}} }}
 
{{LinkRowV2|Current President|{{{president|}}} }}
 
{{LinkRowV2|Current President|{{{president|}}} }}
{{LinkRowV2|Current Dictator|{{{dictator|}}} }}
 
 
 
{{LinkRowV2|Political Party|{{{party name|}}} }}
 
{{LinkRowV2|Political Party|{{{party name|}}} }}
 +
{{LinkRowV2|Current Dictator|{{{dictator|}}} }}
 +
{{LinkRowV2|Dictator's Military Unit|{{{dictator mu|}}} }}
 +
|}
 +
{| style="width:225px;"
 +
{{#if: {{{prime minister|}}}{{{minister of defense|}}}{{{mofa|}}}{{{governor|}}}{{{minister of education|}}}|{{HeaderV2|Political Titles}} }}
 +
{{LinkRowV2|Prime Minister|{{{prime minister|}}} }}
 +
{{LinkRowV2|Minister of Defense|{{{minister of defense|}}} }}
 +
{{LinkRowV2|Minister of Foreign Affairs|{{{mofa|}}} }}
 +
{{LinkRowV2|Governor|{{{governor|}}} }}
 +
{{LinkRowV2|Minister of Education|{{{minister of education|}}} }}
 
|}
 
|}
 
{| style="width:225px;"
 
{| style="width:225px;"
 
{{HeaderV2|Economics}}
 
{{HeaderV2|Economics}}
 
{{RowV2|[[Currency]]|{{{currency|}}} }}
 
{{RowV2|[[Currency]]|{{{currency|}}} }}
{{RowV2|[[GDP]]|{{{gdp|}}} }}
 
{{RowV2|[[Inflation]]|{{{inflation|}}} }}
 
 
{{RowV2|Minimum salary|{{{minimum salary|}}} }}
 
{{RowV2|Minimum salary|{{{minimum salary|}}} }}
 
{{RowV2|Average salary|{{{average salary|}}} }}
 
{{RowV2|Average salary|{{{average salary|}}} }}
{{RowV2|Unemployment rate|{{{unemployment rate|}}} }}
 
{{RowV2|Monthly exports|{{{monthly exports|}}} }}
 
{{RowV2|Monthly imports|{{{monthly imports|}}} }}
 
 
{{RowV2|Food bonus|{{ResourceBonus|{{BASEPAGENAME}}_f}}%}}
 
{{RowV2|Food bonus|{{ResourceBonus|{{BASEPAGENAME}}_f}}%}}
 
{{RowV2|Weapon bonus|{{ResourceBonus|{{BASEPAGENAME}}_w}}%}}
 
{{RowV2|Weapon bonus|{{ResourceBonus|{{BASEPAGENAME}}_w}}%}}
 
|}
 
|}
 
{| style="width:225px;"
 
{| style="width:225px;"
{{#if: {{{conquered countries|}}}{{{territories|}}}{{{soldiers|}}}|{{HeaderV2|Military}} }}
+
{{#if: {{{conquered countries|}}}{{{territories|}}}{{{alliance|}}}{{{natural enemy|}}}{{{defence shield|}}}|{{HeaderV2|Military}} }}
 
{{RowV2|Conquered Countries|{{{conquered countries|}}} }}
 
{{RowV2|Conquered Countries|{{{conquered countries|}}} }}
 
{{RowV2|Territories|{{{territories|}}} }}
 
{{RowV2|Territories|{{{territories|}}} }}
{{RowV2|Soldiers|{{{soldiers|}}} }}
+
{{RowV2|Alliance|{{{alliance|}}} }}
 +
{{RowV2|Natural Enemy|{{{natural enemy|}}} }}
 +
{{RowV2|Defence Shield (damage left)|{{{defence shield|}}} }}
 
|}
 
|}
 
{| style="width:225px;"
 
{| style="width:225px;"
Line 91: Line 96:
 
   anthem= |
 
   anthem= |
 
   motto= |
 
   motto= |
 +
  country power= |
  
 
   <!-- political variables --> |
 
   <!-- political variables --> |
 
   president= |
 
   president= |
  dictator= |
 
 
   party name= |
 
   party name= |
 +
  dictator= |
 +
  dictator mu= |
 +
 +
  <!-- political titles--> |
 +
  prime minister= |
 +
  minister of defense= |
 +
  mofa= |
 +
  governor= |
 +
  minister of education= |
 +
  
 
   <!-- demographic variables --> |
 
   <!-- demographic variables --> |
Line 104: Line 119:
 
   <!-- economics variables --> |
 
   <!-- economics variables --> |
 
   currency= |
 
   currency= |
  gdp= |
 
  inflation= |
 
 
   minimum salary= |
 
   minimum salary= |
 
   average salary= |
 
   average salary= |
  unemployment rate= |
+
 
  monthly exports= |
+
  monthly imports= |
+
  
 
   <!-- military variables --> |
 
   <!-- military variables --> |
 
   conquered countries= |
 
   conquered countries= |
 
   territories= |
 
   territories= |
   soldiers= |
+
   alliance= |
   average strength= |
+
   natural enemy= |
 +
  defence shield= |
  
 
   <!-- communication --> |
 
   <!-- communication --> |
Line 133: Line 145:
  
 
{{Complex}}
 
{{Complex}}
 +
 +
==Changelog==
 +
=== 24.03.2016 suggestion: [[Bogi]], edit: [[Daniel Dimow]]===
 +
* Removed gdp
 +
* Removed inflation
 +
* Removed unemployment rate
 +
* Removed monthly exports
 +
* Removed monthly imports
 +
* Removed soldiers
 +
* Removed average strength
 +
 +
Added:
 +
 +
* Dictator (+ his MU)
 +
* Country Power
 +
* Alliance
 +
* Political Titles (Prime Minister, MoD, MoFA, Governor, MoEd)
 +
* Defence Shield dmg left
 +
* Natural Enemy
  
 
==TRANSLATION==
 
==TRANSLATION==

Revision as of 18:01, 23 March 2016


Usage

{{Country|
  <!-- constant variables --> |
  name= |
  link= | <!-- used only if country name contains spaces -->
  flag= |
  coatofarms= |
  map= |
  
  rank= |
  anthem= |
  motto= |
  country power= |

  <!-- political variables --> |
  president= |
  party name= |
  dictator= |
  dictator mu= |

  <!-- political titles--> |
  prime minister= |
  minister of defense= |
  mofa= |
  governor= |
  minister of education= |


  <!-- demographic variables --> |
  language=|
  population= |
  capital= |

  <!-- economics variables --> |
  currency= |
  minimum salary= |
  average salary= |


  <!-- military variables --> |
  conquered countries= |
  territories= |
  alliance= |
  natural enemy= |
  defence shield= |

  <!-- communication --> |
  chat= |

  <!-- update --> |
  last update= |

}}

NOTES

All variables have a default value.

  • If this is a conquered nation, put the original flag in the coat of arms field.
  • Territories means the total number of regions the country controls
  • If a value is not known, do not put a place holder like "n/a", none, TBD, ..., etc. This might create a strange link.
edit

Complex.png Complex template

The code of this template is really complex, please use your sandbox before editing this template


Changelog

24.03.2016 suggestion: Bogi, edit: Daniel Dimow

  • Removed gdp
  • Removed inflation
  • Removed unemployment rate
  • Removed monthly exports
  • Removed monthly imports
  • Removed soldiers
  • Removed average strength

Added:

  • Dictator (+ his MU)
  • Country Power
  • Alliance
  • Political Titles (Prime Minister, MoD, MoFA, Governor, MoEd)
  • Defence Shield dmg left
  • Natural Enemy

TRANSLATION

For translation please use Template:ICountry!!!