模板:Heritage

[閱讀] [編輯]Template-info.png 模板文檔

This template creates an infobox that summarizes a particular heritage.

Usage

This infobox may be added by copy-pasting the template below.

 {{Heritage
 |name             = <name of the heritage>
 |flag             = <if the heritage is unique to a specific country, put the name of the country here>
 |version          = <major patch number for which this is valid>
 |modifier1icon    = <filename (NOT key for Template:Icon) for an icon to use with this modifier, omitting "File:" and ".png">
 |modifier1effect  = <effects of first positive modifier>
 |modifier2icon    = <filename (NOT key for Template:Icon) for an icon to use with this modifier, omitting "File:" and ".png">
 |modifier2effect  = <effects of second positive modifier>
 |modifier3icon    = <filename (NOT key for Template:Icon) for an icon to use with this modifier, omitting "File:" and ".png">
 |modifier3effect  = <effects of negative modifier>
 |modifier4icon    = <optional, filename (NOT key for Template:Icon) for an icon to use with this modifier, omitting "File:" and ".png">
 |modifier4effect  = <optional, effects of secondary negative modifier (e.g. opinion)>
 |notes            = <any notes, e.g. conditions for starting with this heritage>
 }}

Example

For a country-specific heritage like Rome one would write:

{{heritage
|version=1.4
|name=Roman Heritage
|flag = Rome
|modifier1icon=Manpower recovery speed
|modifier1effect={{green|+5%|b}} Manpower Recovery Speed
|modifier2icon=Integrate speed
|modifier2effect={{green|+0.10|b}} Integration Speed
|modifier3icon=Naval morale
|modifier3effect={{red|-5%|b}} Morale of Navies
}}

for the infobox on the right:

Flag of Rome Roman Heritage

Manpower recovery speed.png +5% Manpower Recovery Speed
Integrate speed.png +0.10 Integration Speed
Naval morale.png -5% Morale of Navies


For a more generic heritage one would do:

{{heritage
|version=1.4
|name=Hellenistic Heritage
|modifier1icon=Happiness for wrong culture group modifier
|modifier1effect={{green|+10%|b} Wrong Culture-Group Happiness
|modifier2icon=Civilization
|modifier2effect={{green|+0.02%|b}} Monthly Civilization Change
|modifier3icon=Pop assimilation
|modifier3effect={{red|-15%|b}} Pop Assimilation Speed
|notes = For [[File:Culture.png|24px]] '''Hellenistic''' countries without a more specific country or cultural heritage in Iberia or the East
}}

for the infobox on the right:

Hellenistic Heritage

Notes:

For Culture.png Hellenistic countries without a more specific country or cultural heritage in Iberia or the East


Happiness for wrong culture group modifier.png +10% Wrong Culture-Group Happiness
Civilization.png +0.02% Monthly Civilization Change
Pop assimilation.png -15% Pop Assimilation Speed