FANDOM


Line 21: Line 21:
 
!{{ #if: {{{impname|}}} | {{{impname}}} | Improvement}} value
 
!{{ #if: {{{impname|}}} | {{{impname}}} | Improvement}} value
 
|<nowiki></nowiki>
 
|<nowiki></nowiki>
+{{#if: {{{impfood|}}} | {{{impfood}}} | 0 }} food, +{{#if: {{{impprod|}}} | {{{impprod}}} | 0 }} production, +{{#if: {{{impgold|}}} | {{{impgold}}} | 0 }} gold
+
+{{#if: {{{impfood|}}} | {{{impfood}}} | 0 }} {{food5}}, +{{#if: {{{impprod|}}} | {{{impprod}}} | 0 }} {{production5}}, +{{#if: {{{impgold|}}} | {{{impgold}}} | 0 }} {{gold5}}
 
|-
 
|-
 
!Required for
 
!Required for

Revision as of 21:00, April 19, 2012


(view | edit | purge | history)

Template documentation (the template shown above may sometimes be hidden or invisible)
{{resource (Civ5)
|name = 
|image = 
|type = 
|req = 
|food = 
|prod = 
|gold = 
|impreq = 
|impname = 
|impfood = 
|impprod = 
|impgold = 
|unit1 = 
|building1 = 
|found1 = 
}}
  • name = the name of the resource, e.g. Bananas or Uranium
  • image = an image of this resource. Images are automatically sought using the page name as the basis, so the template expects that on page Bananas (Civ5) an image called Bananas (Civ5) would be found.
  • type = type of the resource: Bonus, Strategic or Luxury
  • req = the technology that reveals this resource
  • food = amount of food the resource produces
  • prod = amount of production the resource produces
  • gold = amount of gold the resource produces
  • impname = name of the improvement required
  • impname2 = name of an alternative improvement required
  • impreq = the technology that is required for the improvement
  • impreq2 = the technology that is required for the alternative improvement
  • impfood = amount of food the improvement produces
  • impprod = amount of production the improvement produces
  • impgold = amount of gold the improvement produces
  • unit1 through unit15 = Units that require this resource
  • building1 through building5 = Buildings that require this resource
  • found1 through found9 = types of terrains where this resource can be found, e.g. "Jungle" or "Forest"

Community content is available under CC-BY-SA unless otherwise noted.