Template:GardenBuff/Desc
Jump to navigation
Jump to search
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
This template has existing translations, relatives, or sub-templates: Template:GardenBuff/Desc • Template:GardenBuff/Desc/de • Template:GardenBuff/Desc/doc • Template:GardenBuff/Desc/en • Template:GardenBuff/Desc/fi • Template:GardenBuff/Desc/fr • Template:GardenBuff/Desc/nl • Template:GardenBuff/Desc/ru • Template:GardenBuff/Desc/zh-cn • Template:GardenBuff/de • Template:GardenBuff/en • Template:GardenBuff/fi • Template:GardenBuff/fr • Template:GardenBuff/it • Template:GardenBuff/nl • Template:GardenBuff/zh-cn
|
Usage
{{CropBuff/Desc|buffName}}
, where buffName
is one of Weed Block
, Water Retain
, Growth Boost
, or Harvest Boost
.
These names are formatted the same as the buff
field of an ItemInfobox
. This template should generally be used with that in mind, accepting the field as a parameter like {{CropBuff/Desc|{{#var:Infobox_buff}}}}
.
Syntax
{{GardenBuff/Desc|string}}
Examples
{{GardenBuff/Desc|Weed Block}}
returns "Planting GardenBuff/Desc prevents weeds from growing on cardinally adjacent crops.".