Difference between revisions of "Template:Law"

From Hearts of Iron 4 Wiki
Jump to navigation Jump to search
m
(Added 1.7 Hydra fuel info, uncertain if Isolation still used)
Line 1: Line 1:
<includeonly>{{SVersion|1.5|table}}
+
<includeonly>{{SVersion|1.7|table}}
 
{| class="wikitable plainlist" width=720px
 
{| class="wikitable plainlist" width=720px
 
! width=31% | [[Ideas#Conscription laws|Conscription Law]] !! width=38% | [[Ideas#Economy laws|Economy Law]] !! width=31% | [[Ideas#Trade laws|Trade Law]]
 
! width=31% | [[Ideas#Conscription laws|Conscription Law]] !! width=38% | [[Ideas#Economy laws|Economy Law]] !! width=31% | [[Ideas#Trade laws|Trade Law]]
Line 49: Line 49:
 
* {{red|–50%}} Factory construction speed
 
* {{red|–50%}} Factory construction speed
 
* {{red|+50%}} Factory (type) conversion cost
 
* {{red|+50%}} Factory (type) conversion cost
 +
* {{red|-60%}} Fuel Gain per Oil
 +
* {{red|-45%}} Fuel Capacity
 
; [[File:World tension.png|22px|link=]] World tension limit (required for)
 
; [[File:World tension.png|22px|link=]] World tension limit (required for)
 
* {{red|+20%}} Join faction
 
* {{red|+20%}} Join faction
Line 70: Line 72:
 
* {{red|–30%}} Factory construction speed
 
* {{red|–30%}} Factory construction speed
 
* {{red|+30%}} Factory (type) conversion cost
 
* {{red|+30%}} Factory (type) conversion cost
 +
* {{red|-40%}} Fuel Gain per Oil
 +
* {{red|-25%}} Fuel Capacity
  
 
| early mobilization =  
 
| early mobilization =  
 
* '''30%''' Consumer Goods factories
 
* '''30%''' Consumer Goods factories
 
* {{red|–10%}} Factory construction speed
 
* {{red|–10%}} Factory construction speed
 +
* {{red|-25%}} Fuel Gain per Oil
  
 
| partial mobilization =  
 
| partial mobilization =  
Line 79: Line 84:
 
* {{green|+10%}} Military factory construction speed
 
* {{green|+10%}} Military factory construction speed
 
* {{green|−10%}} Factory (type) conversion cost
 
* {{green|−10%}} Factory (type) conversion cost
 +
* {{red|-10%}} Fuel Gain per Oil
  
 
| war economy =  
 
| war economy =  
Line 99: Line 105:
 
| free trade =  
 
| free trade =  
 
* '''80%''' Resources to market
 
* '''80%''' Resources to market
* {{green|–10%}} Research time
+
* {{green|+10%}} Research speed
 
* {{green|+15%}} Factory/Dockyard output
 
* {{green|+15%}} Factory/Dockyard output
 
* {{green|+15%}} Construction speed
 
* {{green|+15%}} Construction speed
Line 105: Line 111:
 
| export focus =  
 
| export focus =  
 
* '''50%''' Resources to market
 
* '''50%''' Resources to market
* {{green|–5%}} Research time
+
* {{green|+5%}} Research speed
 
* {{green|+10%}} Factory/Dockyard output
 
* {{green|+10%}} Factory/Dockyard output
 
* {{green|+10%}} Construction speed
 
* {{green|+10%}} Construction speed
Line 111: Line 117:
 
| limited exports =  
 
| limited exports =  
 
* '''25%''' Resources to market
 
* '''25%''' Resources to market
* {{green|–1%}} Research time
+
* {{green|+1%}} Research speed
 
* {{green|+5%}} Factory/Dockyard output
 
* {{green|+5%}} Factory/Dockyard output
 
* {{green|+5%}} Construction speed
 
* {{green|+5%}} Construction speed
Line 120: Line 126:
 
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{trade}}}" for [[Template:Law]])</span>[[Category:Pages with unrecognized laws strings]]
 
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{trade}}}" for [[Template:Law]])</span>[[Category:Pages with unrecognized laws strings]]
 
}}<!-- end Trade Law section -->
 
}}<!-- end Trade Law section -->
|}</includeonly><noinclude>{{Version|1.5}}
+
|}</includeonly><noinclude>{{Version|1.7}}
 
This template can be used for for adding the [[Ideas|laws]] to the laws section on country pages. The purpose of the template is to reduce future maintenance by accessing the same used data from a central location.
 
This template can be used for for adding the [[Ideas|laws]] to the laws section on country pages. The purpose of the template is to reduce future maintenance by accessing the same used data from a central location.
  

Revision as of 04:29, 14 July 2019

This template can be used for for adding the laws to the laws section on country pages. The purpose of the template is to reduce future maintenance by accessing the same used data from a central location.

Parameters

The template has an integrated versioning by {{SVersion}} and includes links to to the appropriate law section on the Ideas page for further information.

Parameter Values (from peaceful to war-time) Default Status
conscript
  • Disarmed Nation
  • Volunteer Only
  • Limited Conscription
  • Extensive Conscription
  • Service by Requirement
  • All Adults Serve
  • Scraping the Barrel
Volunteer Only optional
economy
  • Undisturbed Isolation
  • Isolation
  • Civilian Economy
  • Early Mobilization
  • Partial Mobilization
  • War Economy
  • Total Mobilization
Civilian Economy optional
trade
  • Free Trade
  • Export Focus
  • Limited Exports
  • Closed Economy
Export Focus optional

Usage

It is possible to display the default set by simply not entering a value for its parameter, as in:

{{Law}}
Conscription Law Economy Law Trade Law
Volunteer Only.png Volunteer Only
  • 1.5% Recruitable population
Civilian Economy.png Civilian Economy
  • 35% Consumer Goods factories
  • –30% Factory construction speed
  • +30% Factory (type) conversion cost
  • -40% Fuel Gain per Oil
  • -25% Fuel Capacity
Export Focus.png Export Focus
  • 50% Resources to market
  • +5% Research speed
  • +10% Factory/Dockyard output
  • +10% Construction speed

To display laws other than the default set change the values for one or more of the parameters, as in:

{{Law
| conscript = Service by Requirement
| economy = Partial Mobilization
| trade = Limited Exports
}}


Conscription Law Economy Law Trade Law
Service by Requirement.png Service by Requirement
  • 10% Recruitable population
  • +20% Training time
  • –10% Factory/Dockyard output
  • –10% Construction speed
Partial Mobilization.png Partial Mobilization
  • 25% Consumer Goods factories
  • +10% Military factory construction speed
  • −10% Factory (type) conversion cost
  • -10% Fuel Gain per Oil
Limited Exports.png Limited Exports
  • 25% Resources to market
  • +1% Research speed
  • +5% Factory/Dockyard output
  • +5% Construction speed