Template:Nation: Difference between revisions

From Terra Invicta Official Wiki
Redwah (talk | contribs)
No edit summary
Redwah (talk | contribs)
Replaced content with "<includeonly>{{#invoke:NationLister/Single|SingleNationTable|{{{1}}}|notes={{{notes| }}} }} </includeonly><noinclude> A template for Nations. == Usage == To get the USA nation for example: <pre>{{nation|USA|notes=Recommended first pick}}</pre> Named parameters are optional. == Example == {{nation|USA|notes=Recommended first pick}} Category:Templates </noinclude>"
Tag: Replaced
Line 1: Line 1:
<includeonly>{{#clear_external_data:}}{{#get_web_data:
<includeonly>{{#invoke:NationLister/Single|SingleNationTable|{{{1}}}|notes={{{notes| }}} }}
|url={{fullurl:RawNationDisplayName|action=raw}}
|data=__all
}}{{#get_web_data:
|url={{fullurl:RawRegionDisplayName|action=raw}}
|data=__all
}} {{#get_web_data:
|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TINationTemplate_CSV?dataName={{{1}}}
|data=
gdp=initialGDP,
cohesion=cohesion,
unrest=unrest,
inequality=inequality,
government=democracy,
education=education,
pm=greenEconomy,
funding=spaceFunding_year,
miltech=miltech,
nukes=nuclearWeapons,
}}{{#get_inline_data:text=
{{{1}}}added:1
}}{| class="wikitable" style="width: 100%;text-align:center;"
{{!}}-
! colspan=4 {{!}} <big>{{#external_value: {{{1}}}|{{{1}}} }}</big><br> {{icon|{{{1}}}|size=120px}}
{{#ifeq: {{#external_value: gdp}} | | |
{{!}}-
! colspan=4 {{!}} Initial Stats
{{!}}-
! {{icon|democracy|bgcolor=DarkSlateGray}} [[Nations#Government|Government]]
{{!}} {{#external_value: government}}
! {{icon|miltech|bgcolor=DarkSlateGray}} [[Nations#Miltech|Miltech]]
{{!}} {{#external_value: miltech}}
{{!}}-
! {{icon|unrest|bgcolor=DarkSlateGray}} [[Nations#Unrest|Unrest]]
{{!}} {{#external_value: unrest}}
! {{icon|nuke|bgcolor=DarkSlateGray}} [[Nations#Strategic_Nuclear_Barrages|Nukes]]
{{!}} {{#external_value: nukes}}
{{!}}-
! {{icon|ip|bgcolor=DarkSlateGray}} [[Nations#GDP|GDP]]
{{!}} {{#external_value: gdp}}
! {{icon|sustainability|bgcolor=DarkSlateGray}} [[Nations#Sustainability|Pollution Multiplier]]
{{!}} {{#external_value: pm}}
{{!}}-
! {{icon|money|bgcolor=DarkSlateGray}} [[Nations#Funding|Funding]]
{{!}} {{#external_value: funding}}
! {{icon|education|bgcolor=DarkSlateGray}} [[Nations#Education|Education]]
{{!}} {{#external_value: education}}
{{!}}-
! {{icon|inequality|bgcolor=DarkSlateGray}} [[Nations#Inequality|Inequality]]
{{!}} {{#external_value: inequality}}
! {{icon|cohesion|bgcolor=DarkSlateGray}} [[Nations#Cohesion|Cohesion]]
{{!}} {{#external_value: cohesion}}
{{!}}-
! colspan=4 {{!}} Initial [[Regions]]
{{!}}-
! Region
! {{icon|pop|bgcolor=DarkSlateGray}} [[Nations#Population|Population]] (in Millions)
! {{icon|boost|bgcolor=DarkSlateGray}} [[Nations#Boost|Boost]] (per Year)
! {{icon|mc|bgcolor=DarkSlateGray}} [[Nations#Mission Control|Mission Control]]
{{!}}-
{{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBilateralTemplate_CSV?nation1={{{1}}}&initialOwner=true
|data=rname=region1
|format=CSV with Header
}}
{{#af_stringmap: {{#for_external_table:|{{{rname}}},}}
|,
|regName
| {{#clear_external_data:rname}} {{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIRegionTemplate_CSV?dataName={{{regName}}}
|data=
rpop=population_Millions,
rboost=boostPerYear_tons,
rMC=missionControl,
rEco=coreEco,
rOil=oilResource,
rMine=mining,
rEnv=environment,
|format=CSV with Header
}}
{{!}}-
{{!}} {{#external_value: {{{regName}}} }} {{#ifeq: {{#external_value: rEco}} | true | {{icon|core economic region|bgcolor=DarkSlateGray}} }} {{#ifeq: {{#external_value: rOil}} | true | {{icon|oil|bgcolor=DarkSlateGray}} }} {{#ifeq: {{#external_value: rMine}} | true | {{icon|resource region|bgcolor=DarkSlateGray}} }} {{#switch: {{#external_value: rEnv}}
| Vulnerable = {{icon|ecologically vulnerable region|bgcolor=DarkSlateGray}}
| Beneficiary = {{icon|ecologically protected region|bgcolor=DarkSlateGray}}
}} {{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBilateralTemplate_CSV?region1={{{regName}}}&capitalClaim=true
|data=natName=nation1
|format=CSV with Header
}}
{{#get_inline_data:text=
{{{regName}}}added: 1
 
cqueue:{{#external_value: cqueue|}}{{#for_external_table:|{{#ifeq: {{#external_value:{{{natName| }}}added|0}} | 1 | |{{#ifeq: {{{natName| }}} | ALN | |{{{natName| }}},}} }} }}
 
{{#for_external_table:|{{#ifeq: {{#external_value:{{{natName| }}}added|0}} | 1 | |{{#ifeq: {{{natName| }}} | ALN | |
padding: 1
{{{natName| }}}added: 1
padding: 1
}} }} }}
 
tregion: {{#expr: 1 + {{#external_value: tregion|0}} }}
tpop: {{#expr: {{#external_value: rpop}} + {{#external_value: tpop|0}} }}
tboost: {{#expr: {{#external_value: rboost}} + {{#external_value: tboost|0}} }}
tMC: {{#expr: {{#external_value: rMC}} + {{#external_value: tMC|0}} }}
tres: {{#expr: {{#ifeq: {{#external_value: rOil}} | true | 1 | 0}} + {{#ifeq: {{#external_value: rMine}} | true | 1 | 0}} + {{#external_value: tres|0}} }}
}}
{{!}} {{#external_value: rpop}}
{{!}} {{#external_value: rboost}}
{{!}} {{#external_value: rMC}} {{#clear_external_data:rpop|rboost|rMC|rEco|rOil|rMine|rEnv|natName|padding}}
{{!}}-
}}
{{!}}-
! Total: {{#external_value: tregion|0}} Regions<br>{{#external_value: tres|0}} Resource
{{!}} {{#external_value: tpop|0}}
{{!}} {{#external_value: tboost|0}}
{{!}} {{#external_value: tMC|0}}
{{!}}-
! colspan=4 {{!}} Estimated Stats at 0 Unrest, 5 Cohesion
{{!}}-
{{!}} {{icon|gdppc|bgcolor=DarkSlateGray}} [[Nations#Per_Capita_GDP|Per Capita GDP]]: {{#expr:{{#external_value: gdp}} / {{#external_value: tpop|0}} / 1000000 round 2 }}
{{!}} rowspan=2 {{!}} {{icon|cp|bgcolor=DarkSlateGray}} [[Nations#Control_Points|Total Control Point Cost]]: {{#expr:({{#external_value: gdp}} / 1000000000) ^ 0.6 / 2 round 2}}
{{!}} {{icon|research|bgcolor=DarkSlateGray}} Base [[Nations#Research|Monthly Research]]: {{#expr: ({{#external_value: tpop|0}} * {{#ifexpr:{{#external_value:gdp}} / {{#external_value: tpop|0}} / 1000000 < 30000 | ({{#external_value:gdp}} / {{#external_value: tpop|0}} / 1000000 / 15000) ^ 0.6 | (1.5157166 + 0.90942997 * (ln ({{#external_value:gdp}} / {{#external_value: tpop|0}} / 1000000 / 15000) - 0.6931472))}} * {{#external_value: education}} * {{#ifexpr:{{#external_value: education}}<12|{{#external_value: education}}|12}} * ({{#ifexpr:{{#external_value: government}}>1|{{#external_value: government}}|1}}) ^ 0.16666667 * 0.0075 + {{#ifexpr:{{#external_value: tpop|0}}*1000000/2000<{{#external_value: education}} + 12|{{#external_value: tpop|0}}*1000000/2000|{{#external_value: education}} + 12}}) * 1.25 round 2}}
{{!}} {{icon|spoils|bgcolor=DarkSlateGray}} Base [[Nations#List_of_Priorities|Money Output Per Spoils Completion]]: {{#expr:({{#external_value: gdp}} / 1000000000) ^ 0.35 * 5 + {{#external_value: tres}} * 5 + (10 - {{#external_value: government}}) * 2.5 round 2}}
{{!}}-
{{!}} {{icon|ip|bgcolor=DarkSlateGray}} Base [[Nations#Monthly_Investment_Points|Monthly Investment Points]]: {{#expr:({{#external_value: gdp}} / 1000000000) ^ 0.35 round 2}}
{{!}} {{icon|research|bgcolor=DarkSlateGray}} Base [[Nations#Research|Monthly Research]] per {{icon|cp|bgcolor=DarkSlateGray}} [[Nations#Control_Points|Total Control Point Cost]]: {{#expr: ({{#external_value: tpop|0}} * {{#ifexpr:{{#external_value:gdp}} / {{#external_value: tpop|0}} / 1000000 < 30000 | ({{#external_value:gdp}} / {{#external_value: tpop|0}} / 1000000 / 15000) ^ 0.6 | (1.5157166 + 0.90942997 * (ln ({{#external_value:gdp}} / {{#external_value: tpop|0}} / 1000000 / 15000) - 0.6931472))}} * {{#external_value: education}} * {{#ifexpr:{{#external_value: education}}<12|{{#external_value: education}}|12}} * ({{#ifexpr:{{#external_value: government}}>1|{{#external_value: government}}|1}}) ^ 0.16666667 * 0.0075 + {{#ifexpr:{{#external_value: tpop|0}}*1000000/2000<{{#external_value: education}} + 12|{{#external_value: tpop|0}}*1000000/2000|{{#external_value: education}} + 12}}) * 1.25 / (({{#external_value: gdp}} / 1000000000) ^ 0.6 / 2) round 2}}
{{!}} {{icon|spoils|bgcolor=DarkSlateGray}} Base Monthly [[Nations#List_of_Priorities|Spoils Money]] per {{icon|cp|bgcolor=DarkSlateGray}} [[Nations#Control_Points|Total Control Point Cost]]: {{#expr: ({{#external_value: gdp}} / 1000000000) ^ 0.35 * (({{#external_value: gdp}} / 1000000000) ^ 0.35 * 5 + {{#external_value: tres}} * 5 + (10 - {{#external_value: government}}) * 2.5) / (({{#external_value: gdp}} / 1000000000) ^ 0.6 / 2) round 2}}
}}
{{!}}-
{{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBilateralTemplate_CSV?nation1={{{1}}}&initialOwner=&relationType=Claim
|data=rname=region1
|format=CSV with Header
}}{{#ifeq: {{#external_value:rname|}} | | |
! colspan=4 {{!}} Direct [[Regions|Region]] Claims<ref>Excluding the Initial Regions.</ref>
{{!}}-
! Region
! {{icon|pop|bgcolor=DarkSlateGray}} [[Nations#Population|Population]] (in Millions)
! {{icon|boost|bgcolor=DarkSlateGray}} [[Nations#Boost|Boost]] (per Year)
! {{icon|mc|bgcolor=DarkSlateGray}} [[Nations#Mission Control|Mission Control]]
{{!}}-
{{#af_stringmap: {{#for_external_table:|{{{rname}}},}}
|,
|regName
| {{#clear_external_data:rname}} {{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIRegionTemplate_CSV?dataName={{{regName}}}
|data=
rpop=population_Millions,
rboost=boostPerYear_tons,
rMC=missionControl,
rEco=coreEco,
rOil=oilResource,
rMine=mining,
rEnv=environment,
|format=CSV with Header
}}
{{!}}-
{{!}} {{#external_value: {{{regName}}} }} {{#ifeq: {{#external_value: rEco}} | true | {{icon|core economic region|bgcolor=DarkSlateGray}} }} {{#ifeq: {{#external_value: rOil}} | true | {{icon|oil|bgcolor=DarkSlateGray}} }} {{#ifeq: {{#external_value: rMine}} | true | {{icon|resource region|bgcolor=DarkSlateGray}} }} {{#switch: {{#external_value: rEnv}}
| Vulnerable = {{icon|ecologically vulnerable region|bgcolor=DarkSlateGray}}
| Beneficiary = {{icon|ecologically protected region|bgcolor=DarkSlateGray}}
}} {{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBilateralTemplate_CSV?region1={{{regName}}}&capitalClaim=true
|data=natName=nation1
|format=CSV with Header
}}
{{#get_inline_data:text=
{{{regName}}}added: 1
 
cqueue:{{#external_value: cqueue|}}{{#for_external_table:|{{#ifeq: {{#external_value:{{{natName| }}}added|0}} | 1 | |{{#ifeq: {{{natName| }}} | ALN | |{{{natName| }}},}} }} }}
 
{{#for_external_table:|{{#ifeq: {{#external_value:{{{natName| }}}added|0}} | 1 | |{{#ifeq: {{{natName| }}} | ALN | |
padding: 1
{{{natName| }}}added: 1
padding: 1
}} }} }}
 
tregion: {{#expr: 1 + {{#external_value: tregion|0}} }}
tpop: {{#expr: {{#external_value: rpop}} + {{#external_value: tpop|0}} }}
tboost: {{#expr: {{#external_value: rboost}} + {{#external_value: tboost|0}} }}
tMC: {{#expr: {{#external_value: rMC}} + {{#external_value: tMC|0}} }}
tres: {{#expr: {{#ifeq: {{#external_value: rOil}} | true | 1 | 0}} + {{#ifeq: {{#external_value: rMine}} | true | 1 | 0}} + {{#external_value: tres|0}} }}
}}
{{!}} {{#external_value: rpop}}
{{!}} {{#external_value: rboost}}
{{!}} {{#external_value: rMC}} {{#clear_external_data:rpop|rboost|rMC|rEco|rOil|rMine|rEnv|natName|padding}}
{{!}}-
}}
{{!}}-
! Total<ref>Including the Initial Regions.</ref>: {{#external_value: tregion|0}} Regions<br>{{#external_value: tres|0}} Resource
{{!}} {{#external_value: tpop|0}}
{{!}} {{#external_value: tboost|0}}
{{!}} {{#external_value: tMC|0}}
{{!}}-
}}
! colspan=4 {{!}} Direct Nation Claims <ref>The nations that can be [[Foreign_Relations#Peaceful_Unification|peacefully unified]] in.</ref>
{{!}}-
 
{{!}}-
{{!}} colspan=4 {{!}} {{#get_inline_data:text=
temp:{{#external_value:cqueue}}
}} {{#clear_external_data:cqueue|rname|natName}}
{{#af_stringmap: {{#external_value:temp}}
|,
|natName
| [[{{{natName}}}|{{#external_value: {{{natName}}} }}]]
{{#clear_external_data:rname|padding}} {{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBilateralTemplate_CSV?nation1={{{natName}}}&relationType=Claim
|data=rname=region1
|format=CSV with Header
}}
{{#get_inline_data:text=
 
cqueue:{{#external_value: cqueue|}}{{#iferror:{{#for_external_table:|{{#ifeq: {{#external_value:{{{rname| }}}added|0}} | 1 | |{{{rname| }}},}} }} }}
 
{{#for_external_table:|
padding: 1
{{{rname| }}}added: 1
padding: 1
}}
 
}}
|\s•\s
}}
{{!}}-
! colspan=4 {{!}} Layer 1 Indirect Region Claims
{{!}}-
{{!}} colspan=4 {{!}} {{#get_inline_data:text=
temp:{{#external_value:cqueue}}
}} {{#clear_external_data:cqueue|rname|natName}}
{{#af_stringmap: {{#external_value:temp}}
|,
|rname
| {{#external_value: {{{rname}}} }}
{{#clear_external_data:natName|padding}} {{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBilateralTemplate_CSV?region1={{{rname}}}&capitalClaim=true
|data=natName=nation1
|format=CSV with Header
}}
{{#get_inline_data:text=
tregion: {{#expr: 1 + {{#external_value: tregion|0}} }}
 
cqueue:{{#external_value: cqueue|}}{{#for_external_table:|{{#ifeq: {{#external_value:{{{natName| }}}added|0}} | 1 | |{{#ifeq: {{{natName| }}} | ALN | |{{{natName| }}},}} }} }}
 
{{#for_external_table:|
padding: 1
{{{natName| }}}added: 1
padding: 1
}}
 
}}
|\s•\s
}}
{{!}}-
{{#ifeq: {{#external_value:cqueue|}} | | |
! colspan=4 {{!}} Layer 1 Indirect Nation Claims
{{!}}-
{{!}} colspan=4 {{!}} {{#get_inline_data:text=
temp:{{#external_value:cqueue}}
}} {{#clear_external_data:cqueue|rname|natName}}
{{#af_stringmap: {{#external_value:temp}}
|,
|natName
| [[{{{natName}}}|{{#external_value: {{{natName}}} }}]]
{{#clear_external_data:rname|padding}} {{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBilateralTemplate_CSV?nation1={{{natName}}}&relationType=Claim
|data=rname=region1
|format=CSV with Header
}}
{{#get_inline_data:text=
 
cqueue:{{#external_value: cqueue|}}{{#iferror:{{#for_external_table:|{{#ifeq: {{#external_value:{{{rname| }}}added|0}} | 1 | |{{{rname| }}},}} }} }}
 
{{#for_external_table:|
padding: 1
{{{rname| }}}added: 1
padding: 1
}}
 
}}
|\s•\s
}}
}}
{{!}}-
{{#ifeq: {{#external_value:cqueue|}} | | |
! colspan=4 {{!}} Layer 2 Indirect Region Claims
{{!}}-
{{!}} colspan=4 {{!}} {{#get_inline_data:text=
temp:{{#external_value:cqueue}}
}} {{#clear_external_data:cqueue|rname|natName}}
{{#af_stringmap: {{#external_value:temp}}
|,
|rname
| {{#external_value: {{{rname}}} }}
{{#clear_external_data:natName|padding}} {{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBilateralTemplate_CSV?region1={{{rname}}}&capitalClaim=true
|data=natName=nation1
|format=CSV with Header
}}
{{#get_inline_data:text=
tregion: {{#expr: 1 + {{#external_value: tregion|0}} }}
 
cqueue:{{#external_value: cqueue|}}{{#for_external_table:|{{#ifeq: {{#external_value:{{{natName| }}}added|0}} | 1 | |{{#ifeq: {{{natName| }}} | ALN | |{{{natName| }}},}} }} }}
 
{{#for_external_table:|
padding: 1
{{{natName| }}}added: 1
padding: 1
}}
 
}}
|\s•\s
}}
}}
{{!}}-
{{#ifeq: {{#external_value:cqueue|}} | | |
! colspan=4 {{!}} Layer 2 Indirect Nation Claims
{{!}}-
{{!}} colspan=4 {{!}} {{#get_inline_data:text=
temp:{{#external_value:cqueue}}
}} {{#clear_external_data:cqueue|rname|natName}}
{{#af_stringmap: {{#external_value:temp}}
|,
|natName
| [[{{{natName}}}|{{#external_value: {{{natName}}} }}]]
{{#clear_external_data:rname|padding}} {{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBilateralTemplate_CSV?nation1={{{natName}}}&relationType=Claim
|data=rname=region1
|format=CSV with Header
}}
{{#get_inline_data:text=
 
cqueue:{{#external_value: cqueue|}}{{#iferror:{{#for_external_table:|{{#ifeq: {{#external_value:{{{rname| }}}added|0}} | 1 | |{{{rname| }}},}} }} }}
 
{{#for_external_table:|
padding: 1
{{{rname| }}}added: 1
padding: 1
}}
 
}}
|\s•\s
}}
}}
{{!}}-
{{#ifeq: {{#external_value:cqueue|}} | | |
! colspan=4 {{!}} Layer 3 Indirect Region Claims
{{!}}-
{{!}} colspan=4 {{!}} {{#get_inline_data:text=
temp:{{#external_value:cqueue}}
}} {{#clear_external_data:cqueue|rname|natName}}
{{#af_stringmap: {{#external_value:temp}}
|,
|rname
| {{#external_value: {{{rname}}} }}
{{#clear_external_data:natName|padding}} {{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBilateralTemplate_CSV?region1={{{rname}}}&capitalClaim=true
|data=natName=nation1
|format=CSV with Header
}}
{{#get_inline_data:text=
tregion: {{#expr: 1 + {{#external_value: tregion|0}} }}
 
cqueue:{{#external_value: cqueue|}}{{#for_external_table:|{{#ifeq: {{#external_value:{{{natName| }}}added|0}} | 1 | |{{#ifeq: {{{natName| }}} | ALN | |{{{natName| }}},}} }} }}
 
{{#for_external_table:|
padding: 1
{{{natName| }}}added: 1
padding: 1
}}
 
}}
|\s•\s
}}
}}
{{!}}-
{{#ifeq: {{#external_value:cqueue|}} | | |
! colspan=4 {{!}} Layer 3 Indirect Nation Claims
{{!}}-
{{!}} colspan=4 {{!}} {{#get_inline_data:text=
temp:{{#external_value:cqueue}}
}} {{#clear_external_data:cqueue|rname|natName}}
{{#af_stringmap: {{#external_value:temp}}
|,
|natName
| [[{{{natName}}}|{{#external_value: {{{natName}}} }}]]
{{#clear_external_data:rname|padding}} {{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBilateralTemplate_CSV?nation1={{{natName}}}&relationType=Claim
|data=rname=region1
|format=CSV with Header
}}
{{#get_inline_data:text=
 
cqueue:{{#external_value: cqueue|}}{{#iferror:{{#for_external_table:|{{#ifeq: {{#external_value:{{{rname| }}}added|0}} | 1 | |{{{rname| }}},}} }} }}
 
{{#for_external_table:|
padding: 1
{{{rname| }}}added: 1
padding: 1
}}
 
}}
|\s•\s
}}
}}
{{!}}-
{{#ifeq: {{#external_value:cqueue|}} | | |
! colspan=4 {{!}} Layer 4 Indirect Region Claims
{{!}}-
{{!}} colspan=4 {{!}} {{#get_inline_data:text=
temp:{{#external_value:cqueue}}
}} {{#clear_external_data:cqueue|rname|natName}}
{{#af_stringmap: {{#external_value:temp}}
|,
|rname
| {{#external_value: {{{rname}}} }}
{{#clear_external_data:natName|padding}} {{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBilateralTemplate_CSV?region1={{{rname}}}&capitalClaim=true
|data=natName=nation1
|format=CSV with Header
}}
{{#get_inline_data:text=
tregion: {{#expr: 1 + {{#external_value: tregion|0}} }}
 
cqueue:{{#external_value: cqueue|}}{{#for_external_table:|{{#ifeq: {{#external_value:{{{natName| }}}added|0}} | 1 | |{{#ifeq: {{{natName| }}} | ALN | |{{{natName| }}},}} }} }}
 
{{#for_external_table:|
padding: 1
{{{natName| }}}added: 1
padding: 1
}}
 
}}
|\s•\s
}}
}}
{{!}}-
{{#ifeq: {{#external_value:cqueue|}} | | |
! colspan=4 {{!}} Layer 4 Indirect Nation Claims
{{!}}-
{{!}} colspan=4 {{!}} {{#get_inline_data:text=
temp:{{#external_value:cqueue}}
}} {{#clear_external_data:cqueue|rname|natName}}
{{#af_stringmap: {{#external_value:temp}}
|,
|natName
| [[{{{natName}}}|{{#external_value: {{{natName}}} }}]]
{{#clear_external_data:rname|padding}} {{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBilateralTemplate_CSV?nation1={{{natName}}}&relationType=Claim
|data=rname=region1
|format=CSV with Header
}}
{{#get_inline_data:text=
 
cqueue:{{#external_value: cqueue|}}{{#iferror:{{#for_external_table:|{{#ifeq: {{#external_value:{{{rname| }}}added|0}} | 1 | |{{{rname| }}},}} }} }}
 
{{#for_external_table:|
padding: 1
{{{rname| }}}added: 1
padding: 1
}}
 
}}
|\s•\s
}}
}}
{{!}}-
{{#ifeq: {{#external_value:cqueue|}} | | |
! colspan=4 {{!}} Layer 5 Indirect Region Claims
{{!}}-
{{!}} colspan=4 {{!}} {{#get_inline_data:text=
temp:{{#external_value:cqueue}}
}} {{#clear_external_data:cqueue|rname|natName}}
{{#af_stringmap: {{#external_value:temp}}
|,
|rname
| {{#external_value: {{{rname}}} }}
{{#clear_external_data:natName|padding}} {{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBilateralTemplate_CSV?region1={{{rname}}}&capitalClaim=true
|data=natName=nation1
|format=CSV with Header
}}
{{#get_inline_data:text=
tregion: {{#expr: 1 + {{#external_value: tregion|0}} }}
 
cqueue:{{#external_value: cqueue|}}{{#for_external_table:|{{#ifeq: {{#external_value:{{{natName| }}}added|0}} | 1 | |{{#ifeq: {{{natName| }}} | ALN | |{{{natName| }}},}} }} }}
 
{{#for_external_table:|
padding: 1
{{{natName| }}}added: 1
padding: 1
}}
 
}}
|\s•\s
}}
}}
{{!}}-
{{#ifeq: {{#external_value:cqueue|}} | | |
! colspan=4 {{!}} Layer 5 Indirect Nation Claims
{{!}}-
{{!}} colspan=4 {{!}} {{#get_inline_data:text=
temp:{{#external_value:cqueue}}
}} {{#clear_external_data:cqueue|rname|natName}}
{{#af_stringmap: {{#external_value:temp}}
|,
|natName
| [[{{{natName}}}|{{#external_value: {{{natName}}} }}]]
{{#clear_external_data:rname|padding}} {{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBilateralTemplate_CSV?nation1={{{natName}}}&relationType=Claim
|data=rname=region1
|format=CSV with Header
}}
{{#get_inline_data:text=
 
cqueue:{{#external_value: cqueue|}}{{#iferror:{{#for_external_table:|{{#ifeq: {{#external_value:{{{rname| }}}added|0}} | 1 | |{{{rname| }}},}} }} }}
 
{{#for_external_table:|
padding: 1
{{{rname| }}}added: 1
padding: 1
}}
 
}}
|\s•\s
}}
}}
{{!}}-
{{#ifeq: {{#external_value:cqueue|}} | | |
! colspan=4 {{!}} Layer 6 Indirect Region Claims
{{!}}-
{{!}} colspan=4 {{!}} {{#get_inline_data:text=
temp:{{#external_value:cqueue}}
}} {{#clear_external_data:cqueue|rname|natName}}
{{#af_stringmap: {{#external_value:temp}}
|,
|rname
| {{#external_value: {{{rname}}} }}
{{#clear_external_data:natName|padding}} {{#get_web_data:|url=https://wiki.hoodedhorse.com/Terra_Invicta/Special:GetData/TIBilateralTemplate_CSV?region1={{{rname}}}&capitalClaim=true
|data=natName=nation1
|format=CSV with Header
}}
{{#get_inline_data:text=
tregion: {{#expr: 1 + {{#external_value: tregion|0}} }}
 
cqueue:{{#external_value: cqueue|}}{{#for_external_table:|{{#ifeq: {{#external_value:{{{natName| }}}added|0}} | 1 | |{{#ifeq: {{{natName| }}} | ALN | |{{{natName| }}},}} }} }}
 
{{#for_external_table:|
padding: 1
{{{natName| }}}added: 1
padding: 1
}}
 
}}
|\s•\s
}}
}}
{{!}}-
! colspan=4 {{!}} Total Claims: {{#external_value:tregion}} Regions
{{!}}-
! colspan=4 {{!}} Notes
{{!}}-
{{!}} colspan=4 {{!}} {{{notes|}}}
{{!}}-
! colspan=4 {{!}} Data Sources
{{!}}-
{{!}} colspan=4 {{!}} [[TINationTemplate_CSV]] • [[TIRegionTemplate_CSV]] • [[TIBilateralTemplate_CSV]] • [[RawRegionDisplayName]] • [[RawNationDisplayName]]
|-
! colspan=4 | Related Pages
|-
| colspan=4 | [[Nations]] • [[Nation List]] • [[Regions]] • [[Region List]] • [[Foreign_Relations]] • [[Claim List]]
|-
|}
<references />
{{#clear_external_data:}}
</includeonly><noinclude>
</includeonly><noinclude>
A template for [[Nations]].
A template for [[Nations]].

Revision as of 11:09, 29 November 2025

A template for Nations.

Usage

To get the USA nation for example:

{{nation|USA|notes=Recommended first pick}}

Named parameters are optional.

Example

United States of America
USA
United States of North America
USAU
Initial Stats
Government scoreGovernment 7.85 Military TechnologyMiltech 4.5
UnrestUnrest 3 NavyNavies 6
GDP in Billions 22305.1884 Strategic nuclear barrageNuclear Weapons 28
Total control pointsControl Point Capacity Cost 203.24 ArmyArmies 6
Total PopulationPopulation in Millions 335.38625 GDP per capitaGDPPC 66506
Base Investment pointsIP 33.26 SustainabilitySustainability 1.17
Monthly moneyFunding 83.33 EducationEducation 9
Monthly boostBoost 4.88 InequalityInequality 4.17
mission controlMission Control 6/99 cohesionCohesion 3
Estimated Stats at 0 Unrest, 0 Armies, 5 Cohesion
Monthly researchResearch 827.81 Monthly researchResearch
Per Total control points Cost
4.07
Monthly Spoils prioritySpoils 6541.96 Monthly Spoils prioritySpoils
Per Total control points Cost
32.19
17 Initial Regions: 4Core economic region2Resource region3Oil region
Region Region PopulationPopulation in Millions Region Space Facilities Region Sub-Nations
AnchorageOil regionEcologically protected regionRugged region 0.864984 0/1 mission controlMission Control Alaska
Illustrations: illustrations/illus_Alaska_0 ● illustrations/illus_Alaska_1 ● illustrations/illus_Alaska_2
San JuanColony regionEcologically vulnerable region 3.00905 0/1 mission controlMission Control Puerto Rico
Illustrations: illustrations/illus_AmericanCaribbean_0 ● illustrations/illus_AmericanCaribbean_1 ● illustrations/illus_AmericanCaribbean_2
HonoluluEcologically vulnerable region 2.021437 0/1 mission controlMission Control Hawai'i
Illustrations: illustrations/illus_AmericanPacific_0 ● illustrations/illus_AmericanPacific_1 ● illustrations/illus_AmericanPacific_2
BoiseResource regionRugged region 2.515473 0/1 mission controlMission Control Jefferson Free State
Illustrations: illustrations/illus_Boise_0 ● illustrations/illus_Boise_1 ● illustrations/illus_Boise_2
Los AngelesCore economic region 49.049134 0.96 Monthly boostBoost
1/15 mission controlMission Control
California
Illustrations: illustrations/illus_California_0 ● illustrations/illus_California_1 ● illustrations/illus_California_2 ● illustrations/illus_California_3 ● illustrations/illus_California_4
SeattleEcologically protected regionRugged region 11.997266 0/3 mission controlMission Control Cascadia
Illustrations: illustrations/illus_Cascadia_0 ● illustrations/illus_Cascadia_1 ● illustrations/illus_Cascadia_2
NashvilleRugged region 11.158087 0/3 mission controlMission Control
Illustrations: illustrations/illus_Cumberland_0 ● illustrations/illus_Cumberland_1 ● illustrations/illus_Cumberland_2
MinneapolisOil region 7.200631 0/3 mission controlMission Control Republic of Lakota
Illustrations: illustrations/illus_Dakota_0 ● illustrations/illus_Dakota_1 ● illustrations/illus_Dakota_2
AtlantaEcologically vulnerable region 34.788253 3.75 Monthly boostBoost
1/9 mission controlMission Control
Dominion of America
Illustrations: illustrations/illus_Dixie_0 ● illustrations/illus_Dixie_1 ● illustrations/illus_Dixie_2 ● illustrations/illus_Dixie_3 ● illustrations/illus_Dixie_4
St. Louis 14.52719 0/4 mission controlMission Control
Illustrations: illustrations/illus_HighPlains_0 ● illustrations/illus_HighPlains_1 ● illustrations/illus_HighPlains_2
New OrleansEcologically vulnerable region 16.702036 0/4 mission controlMission Control New Afrika
Illustrations: illustrations/illus_MississippiDelta_0 ● illustrations/illus_MississippiDelta_1 ● illustrations/illus_MississippiDelta_2
BostonCore economic region 15.417979 0/5 mission controlMission Control Republic of New England
Illustrations: illustrations/illus_NewEngland_0 ● illustrations/illus_NewEngland_1 ● illustrations/illus_NewEngland_2 ● illustrations/illus_NewEngland_3
New York CityCore economic region 42.4895 0/13 mission controlMission Control United Nations
Illustrations: illustrations/illus_NewYork_0 ● illustrations/illus_NewYork_1 ● illustrations/illus_NewYork_2
DenverResource regionRugged region 16.884735 0/5 mission controlMission Control
Illustrations: illustrations/illus_RockyMountains_0 ● illustrations/illus_RockyMountains_1 ● illustrations/illus_RockyMountains_2 ● illustrations/illus_RockyMountains_3 ● illustrations/illus_RockyMountains_4
ChicagoCore economic region 48.578451 0/15 mission controlMission Control
Illustrations: illustrations/illus_RustBelt_0 ● illustrations/illus_RustBelt_1 ● illustrations/illus_RustBelt_2 ● illustrations/illus_RustBelt_3
WashingtonCapital region 27.56801 0.17 Monthly boostBoost
1/7 mission controlMission Control
Illustrations: illustrations/illus_Shenandoah_0 ● illustrations/illus_Shenandoah_1 ● illustrations/illus_Shenandoah_2 ● illustrations/illus_Shenandoah_3 ● illustrations/illus_Shenandoah_4 ● illustrations/illus_Shenandoah_5
DallasOil regionEcologically vulnerable region 30.614034 3/9 mission controlMission Control Republic of Texas
Illustrations: illustrations/illus_Texas_0 ● illustrations/illus_Texas_1 ● illustrations/illus_Texas_2
+ 31 Additional Direct Claims: 2Core economic region2Resource region2Oil region
Calgary Oil regionEcologically protected region ● NassauEcologically vulnerable region ● Belize City-BelmopanEcologically vulnerable region ● VancouverEcologically protected regionRugged region ● George TownEcologically vulnerable region ● YellowknifeEcologically protected regionRugged region ● San JoséEcologically vulnerable regionRugged region ● HavanaEcologically vulnerable region ● WillemstadEcologically vulnerable region ● Santo DomingoEcologically vulnerable region ● San SalvadorEcologically vulnerable regionRugged region ● Pointe-à-PitreEcologically vulnerable region ● NuukEcologically protected regionRugged region ● Guatemala CityEcologically vulnerable regionRugged region ● HalifaxEcologically protected region ● TegucigalpaEcologically vulnerable regionRugged region ● Kingston ● MontrealResource regionEcologically protected region ● WinnipegEcologically protected region ● MéridaEcologically vulnerable regionRugged region ● Mexico CityCore economic regionEcologically vulnerable regionRugged region ● WenoEcologically vulnerable region ● MonterreyOil region ● ManaguaEcologically vulnerable region ● Toronto-OttawaCore economic regionEcologically protected region ● Panama CityEcologically vulnerable regionRugged region ● SaskatoonEcologically protected region ● TijuanaResource regionRugged region ● Port-au-PrinceEcologically vulnerable region ● BridgetownEcologically vulnerable region ● WhitehorseEcologically protected regionRugged region
= 48 Regions: 6Core economic region4Resource region5Oil region
PopulationPopulation in Millions 335.39 from Initial Regions 264.92 from Additional Direct Claims 600.31 Total
Maximum Size using only Peaceful Unification of non-hostile Claims
54 Regions 6Core economic region4Resource region5Oil region PopulationPopulation in Millions 603.44
MontrealResource regionEcologically protected region ● Santo DomingoEcologically vulnerable region ● ChicagoCore economic region ● BoiseResource regionRugged region ● ParamariboEcologically vulnerable regionRugged region ● HavanaEcologically vulnerable region ● BridgetownEcologically vulnerable region ● George TownEcologically vulnerable region ● WinnipegEcologically protected region ● VancouverEcologically protected regionRugged region ● Mexico CityCore economic regionEcologically vulnerable regionRugged region ● Los AngelesCore economic region ● MonterreyOil region ● Belize City-BelmopanEcologically vulnerable region ● TegucigalpaEcologically vulnerable regionRugged region ● MéridaEcologically vulnerable regionRugged region ● BostonCore economic region ● Calgary Oil regionEcologically protected region ● ApiaEcologically vulnerable region ● NoumeaEcologically vulnerable region ● GeorgetownEcologically vulnerable regionRugged region ● AtlantaEcologically vulnerable region ● AnchorageOil regionEcologically protected regionRugged region ● Guatemala CityEcologically vulnerable regionRugged region ● PetropavlovskEcologically protected regionRugged region ● NuukEcologically protected regionRugged region ● St. Louis ● WhitehorseEcologically protected regionRugged region ● Port-au-PrinceEcologically vulnerable region ● WillemstadEcologically vulnerable region ● TijuanaResource regionRugged region ● DallasOil regionEcologically vulnerable region ● ManaguaEcologically vulnerable region ● HalifaxEcologically protected region ● KourouEcologically vulnerable regionRugged region ● NashvilleRugged region ● SaskatoonEcologically protected region ● Pointe-à-PitreEcologically vulnerable region ● Panama CityEcologically vulnerable regionRugged region ● WenoEcologically vulnerable region ● WashingtonCapital region ● HonoluluEcologically vulnerable region ● San JoséEcologically vulnerable regionRugged region ● New York CityCore economic region ● San JuanColony regionEcologically vulnerable region ● MinneapolisOil region ● SeattleEcologically protected regionRugged region ● New OrleansEcologically vulnerable region ● Toronto-OttawaCore economic regionEcologically protected region ● Kingston ● NassauEcologically vulnerable region ● YellowknifeEcologically protected regionRugged region ● DenverResource regionRugged region ● San SalvadorEcologically vulnerable regionRugged region
Maximum Size using any means.
54 Regions 6Core economic region4Resource region5Oil region PopulationPopulation in Millions 603.44
MontrealResource regionEcologically protected region ● Santo DomingoEcologically vulnerable region ● ChicagoCore economic region ● BoiseResource regionRugged region ● ParamariboEcologically vulnerable regionRugged region ● HavanaEcologically vulnerable region ● BridgetownEcologically vulnerable region ● George TownEcologically vulnerable region ● WinnipegEcologically protected region ● VancouverEcologically protected regionRugged region ● Mexico CityCore economic regionEcologically vulnerable regionRugged region ● Los AngelesCore economic region ● MonterreyOil region ● Belize City-BelmopanEcologically vulnerable region ● TegucigalpaEcologically vulnerable regionRugged region ● MéridaEcologically vulnerable regionRugged region ● BostonCore economic region ● Calgary Oil regionEcologically protected region ● ApiaEcologically vulnerable region ● NoumeaEcologically vulnerable region ● GeorgetownEcologically vulnerable regionRugged region ● AtlantaEcologically vulnerable region ● AnchorageOil regionEcologically protected regionRugged region ● Guatemala CityEcologically vulnerable regionRugged region ● PetropavlovskEcologically protected regionRugged region ● NuukEcologically protected regionRugged region ● St. Louis ● WhitehorseEcologically protected regionRugged region ● Port-au-PrinceEcologically vulnerable region ● WillemstadEcologically vulnerable region ● TijuanaResource regionRugged region ● DallasOil regionEcologically vulnerable region ● ManaguaEcologically vulnerable region ● HalifaxEcologically protected region ● KourouEcologically vulnerable regionRugged region ● NashvilleRugged region ● SaskatoonEcologically protected region ● Pointe-à-PitreEcologically vulnerable region ● Panama CityEcologically vulnerable regionRugged region ● WenoEcologically vulnerable region ● WashingtonCapital region ● HonoluluEcologically vulnerable region ● San JoséEcologically vulnerable regionRugged region ● New York CityCore economic region ● San JuanColony regionEcologically vulnerable region ● MinneapolisOil region ● SeattleEcologically protected regionRugged region ● New OrleansEcologically vulnerable region ● Toronto-OttawaCore economic regionEcologically protected region ● Kingston ● NassauEcologically vulnerable region ● YellowknifeEcologically protected regionRugged region ● DenverResource regionRugged region ● San SalvadorEcologically vulnerable regionRugged region
Notes
Recommended first pick
Data Sources
TINationTemplate_CSV • TINationTemplate EN • TIArmyTemplate CSV • TIRegionTemplate CSV • TIRegionTemplate EN • TIBilateralTemplate CSV
Related Pages
Nation List • Region List • Claim List • Peaceful Unification List • Full Unification List • Nations • Foreign Relations