Difference between revisions of "Template:Law"

From Hearts of Iron 4 Wiki
Jump to navigation Jump to search
m (Updated Isolation to match page Ideas)
m (removed version tag // table version remains)
 
Line 128: Line 128:
 
| #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.7}}
+
|}</includeonly><noinclude>
 
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.
  

Latest revision as of 22:33, 6 December 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