{{#invoke:Lua|main}}
Overview
This template provide a way to simply and fastly write code for National focus pages, as it's simpler to write {{focus|fra|autoroutes|link=on}}
than:
[[File:goal_generic_construct_infrastructure.png|Autoroutes|link=French_national_focus_tree#Autoroutes|36px]] [[French_national_focus_tree#Autoroutes|Autoroutes]]
Parameters
Usage Examples
Code | Result | |||||||
---|---|---|---|---|---|---|---|---|
{{focus|nor|NOR_a_new_norway}}
|
main | tag=nor | id=nor_a_new_norway | link= | size=36px | text= | icon= | iconid=1}} |
{{focus|nor|NOR_a_new_norway|size=22px}}
|
main | tag=nor | id=nor_a_new_norway | link= | size=22px | text= | icon= | iconid=1}} |
{{focus|nor|NOR_a_new_norway|link=on}}
|
main | tag=nor | id=nor_a_new_norway | link=yes | size=36px | text= | icon= | iconid=1}} |
{{focus|nor|NOR_a_new_norway|text=Old Norway}}
|
main | tag=nor | id=nor_a_new_norway | link= | size=36px | text=Old Norway | icon= | iconid=1}} |
{{focus|nor|NOR_a_new_norway|icon=focus_NOR_approach_the_fatherland_league}}
|
main | tag=nor | id=nor_a_new_norway | link= | size=36px | text= | icon=focus_NOR_approach_the_fatherland_league | iconid=1}} |
{{focus|nor|NOR_a_new_norway|iconid=2}}
|
main | tag=nor | id=nor_a_new_norway | link= | size=36px | text= | icon= | iconid=2}} |
Exceptions
Some focuses may have the same localized name in one tree, to distinguish them use the following code:
Branch/Sub-Branch | Focus | Code | Comment | |||||||
---|---|---|---|---|---|---|---|---|---|---|
Ethiopia | ||||||||||
Boarding the Train | main | tag=eth | id=international brigades m | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|eth|International Brigades M}}
|
M |
A Callout to the World | main | tag=eth | id=international brigades c | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|eth|International Brigades C}}
|
C |
Italy | ||||||||||
The Italian Social Republic | main | tag=ita | id=italian independence rsi | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|ita|Italian Independence RSI}}
|
RSI |
The Italian Liberation War | main | tag=ita | id=italian independence rds | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|ita|Italian Independence RDS}}
|
RDS |
Lithuania | ||||||||||
Reconvene the Seimas | main | tag=lit | id=claim livonia s | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|lit|Claim Livonia S}}
|
S |
A King for Our People | main | tag=lit | id=claim livonia m | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|lit|Claim Livonia M}}
|
M |
Poland | ||||||||||
The Sanation Right | main | tag=pol | id=pan-slavic revanchism sr | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|pol|Pan-Slavic Revanchism SR}}
|
SR |
The Romanov | main | tag=pol | id=pan-slavic revanchism r | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|pol|Pan-Slavic Revanchism R}}
|
R |
The Castle | main | tag=pol | id=join the allies sc | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|pol|Join the Allies SC}}
|
SC |
The Hohenzollern/ The Commonwealth Claimant | main | tag=pol | id=join the allies m | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|pol|Join the Allies M}}
|
M |
The Hohenzollern/The Commonwealth Claimant | main | tag=pol | id=demand slovakia m | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|pol|Demand Slovakia M}}
|
M |
The Cossack-King | main | tag=pol | id=demand slovakia p | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|pol|Demand Slovakia P}}
|
P |
A Nationalist Constitution | main | tag=pol | id=demand lithuania f | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|pol|Demand Lithuania F}}
|
F |
The Cossack-King | main | tag=pol | id=demand lithuania p | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|pol|Demand Lithuania P}}
|
P |
A Nationalist Constitution | main | tag=pol | id=assert eastern claims f | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|pol|Assert Eastern Claims F}}
|
F |
The Cossack-King | main | tag=pol | id=assert eastern claims p | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|pol|Assert Eastern Claims P}}
|
P |
Soviet Union | ||||||||||
Infrastructure Effort/Heavy Industry | main | tag=sov | id=transformation of nature c | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|sov|Transformation of Nature C}}
|
C |
Infrastructure Effort/Heavy Industry | main | tag=sov | id=transformation of nature alt | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|sov|Transformation of Nature ALT}}
|
ALT |
The Left Opposition | main | tag=sov | id=organize the wreckers c | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|sov|Organize the Wreckers C}}
|
C |
Beaten, but not Defeated | main | tag=sov | id=organize the wreckers p | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|sov|Organize the Wreckers P}}
|
P |
United Kingdom | ||||||||||
Encourage Colonial Elite | main | tag=eng | id=landward fortifications s | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|eng|Landward Fortifications S}}
|
S |
Encourage Colonial Elite | main | tag=eng | id=landward fortifications h | link=yes | size=36px | text= | icon= | iconid=1}} | {{focus|eng|Landward Fortifications H}}
|
H |