Шаблон:Infobox machine/doc: различия между версиями

Материал из TwentyOneWiki
Перейти к навигации Перейти к поиску
Template:Infobox machine/doc>NaK
м (Add Research2 and 3 to Example and Template)
 
м (1 revision imported)
 
(нет различий)

Текущая версия от 22:12, 7 февраля 2024

{{#vardefineecho:info_bldg|Groundwater Pump}}{{#vardefine:hidebldg|yes}}{{#vardefine:game_object_type|building}}
T1
Файл:Groundwater Pump.png
In-game building description goes here. The template will handle even very long text gracefully.

Example usage:

{{Infobox machine
| Name          = Groundwater Pump
| Tier          = 1
| Image         = 
| Description   = In-game building description goes here. The template will handle even very long text gracefully.
| Recipe        = 
  {{Machine Recipe
    | Input1Name  = Construction Parts
    | Input1Qty   = 12
    | Input2Name  = Iron
    | Input2Qty   = 12
    }}
| Workers       = 10
| Electricity   = 20 KW
| Maintenance   = 5
| Footprint     = 6x4
| Research      = Cement Production <!-- What tech is required for this building to be unlocked -->
| Research2     = Basic Desalination <!-- Accepts at most 3 researches -->
| Cargo         = [[Water]]
| Storage       = 5000
| BoostByUnity  = yes
| Designation   = General Machines
| DesigImgOverride = Fuel Gas.png <!-- only used if needed to override the automatic image -->
| Variants      = [[Blast Furnace II]]
}}

Blank template:

{{Infobox machine
| Name          = 
| Tier          = 
| Image         = 
| Description   = 
| Recipe        = 
  {{Machine Recipe
    | Input1Name  = 
    | Input1Qty   = 
    | Input2Name  = 
    | Input2Qty   = 
    }}
| Workers       = 
| Electricity   = 
| Maintenance   = 
| ResearchSpeed = 
| Footprint     = 
| Research      = 
| Research2     = 
| Research3     = 
| Cargo         = 
| Storage       = 
| BoostByUnity  = 
| Designation   = 
| DesigImgOverride = <!-- only used if needed to override the automatic image -->
| Variants      = 
}}