Difference between revisions of "Template:ICountry"
From eRepublik Official Wiki
m |
(several changes made, more info available on the main template talk page) |
||
Line 1: | Line 1: | ||
<includeonly>{{ICountry/{{TemplateLang|ICountry}}| | <includeonly>{{ICountry/{{TemplateLang|ICountry}}| | ||
− | name={{{name|}}} | + | |name={{{name|}}} |
− | tname={{{transcountry|}}} | + | |tname={{{transcountry|}}} |
− | link={{{link|{{{name|}}}}}} | + | |link={{{link|{{{name|}}}}}} |
− | flag={{{flag|}}} | + | |flag={{{flag|}}} |
− | coatofarms={{{coatofarms|}}} | + | |coatofarms={{{coatofarms|}}} |
− | map={{{map|}}} | + | |map={{{map|}}} |
− | rank={{{rank|}}}| | + | |rank={{{rank|}}} |
− | anthem={{{anthem|}}} | + | |country power={{{country power|}}} |
− | motto={{{motto|}}} | + | |anthem={{{anthem|}}} |
− | + | |motto={{{motto|}}} | |
− | + | |alliance={{{alliance|}}} | |
− | language={{{language|}}} | + | |capital={{{capital|}}} |
− | population={{{population|}}}| | + | |language={{{language|}}} |
− | + | |population={{{population|}}} | |
− | + | |average level={{{average level|}}} | |
− | + | |president={{{president|}}} | |
− | + | |party name={{{party name|}}} | |
− | + | |dictator={{{dictator|}}} | |
− | minimum salary={{{minimum salary|}}} | + | |dictator mu={{{dictator mu|}}} |
− | average salary={{{average salary|}}} | + | |prime minister={{{prime minister|}}} |
− | + | |minister of defense={{{minister of defense|}}} | |
− | + | |mofa={{{mofa|}}} | |
− | + | |governor={{{governor|}}} | |
− | + | |minister of education={{{minister of education|}}} | |
− | + | |currency={{{currency|}}} | |
− | + | |minimum salary={{{minimum salary|}}} | |
− | + | |average salary={{{average salary|}}} | |
− | chat={{{chat|}}}| | + | |weapon bonus={{{weapon bonus|}}} |
− | last update={{{last update|}}} | + | |food bonus={{{food bonus|}}} |
+ | |house bonus={{{house bonus|}}} | ||
+ | |territories={{{territories|}}} | ||
+ | |natural enemy={{{natural enemy|}}} | ||
+ | |defence shield={{{defence shield|}}} | ||
+ | |website={{{website|}}} | ||
+ | |forum={{{forum|}}} | ||
+ | |chat={{{chat|}}} | ||
+ | |teamspeak={{{teamspeak|}}} | ||
+ | |last update={{{last update|}}} | ||
}}</includeonly><noinclude>{{LangMenu|Template:ICountry}}{{Documentation}}{{Complex}}[[Category:Main Templates|Country]]</noinclude> | }}</includeonly><noinclude>{{LangMenu|Template:ICountry}}{{Documentation}}{{Complex}}[[Category:Main Templates|Country]]</noinclude> |
Revision as of 07:01, 24 March 2016
Languages: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
España
|
|
Usage
{{ICountry <!-- constant variables --> |name = |link = |flag = |coatofarms = |map = |rank = |country power = |anthem = |motto = |capital = |alliance = <!-- demographic variables --> |language = |population = |average level = <!-- political variables --> |president = |party name = |dictator = |dictator mu = <!-- political titles --> |prime minister = |minister of defense = |mofa = |governor = |minister of education = <!-- economic variables --> |currency = |minimum salary = |average salary = |food bonus = |weapon bonus = |house bonus = |aircraft bonus = <!-- military variables --> |territories = |natural enemy = |defence shield = <!-- communication --> |website = |forum = |chat = |teamspeak = |discord = <!-- 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.
- name --> country's name in your language.
- link --> country's name in English. Required. If it contains spaces, use dashes, i.e. Czech-Republic.
- territories --> 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.
- If the country's localized "name" is written exactly the same as in English, the "link" parameter isn't required.
The code of this template is really complex, please use your sandbox before editing this template