8,290
edits
(Fix blank space appearing in front of sentence when {{{sing}}} is not provided) |
(improve {{{locs}}} variable and improve example) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{sing|}}}|{{{sing|}}}  |}}{{name}} is a [[harvestry|harvestable]] {{{kingdom|plant}}} that can be found within the {{favilink|{{{loc|salt marsh}}}}}{{{locs|}}}. When harvested, a ripe {{name}} will yield a single {{favilink|{{{yield|vinewafer}}}}}. Upon creation, each {{name}} has a 1:{{{chance|5}}} chance of spawning ripe and does not ripen over time. A ripe {{name}} can be identified by their {{{ripe|green leaves}}}, while an unripe {{name}} has {{{unripe|black leaves}}}.</includeonly><noinclude> | <includeonly>{{#if:{{{sing|}}}|{{{sing|}}}  |}}{{name}} is a [[harvestry|harvestable]] {{{kingdom|plant}}} that can be found within the {{favilink|{{{loc|salt marsh}}}}}{{#if:{{{locs|}}}| or {{{locs|}}}|}}. When harvested, a ripe {{name}} will yield a single {{favilink|{{{yield|vinewafer}}}}}. Upon creation, each {{name}} has a 1:{{{chance|5}}} chance of spawning ripe and does not ripen over time. A ripe {{name}} can be identified by their {{{ripe|green leaves}}}, while an unripe {{name}} has {{{unripe|black leaves}}}.</includeonly><noinclude> | ||
Creates a paragraph describing a harvestable plant or other harvestable object. | Creates a paragraph describing a harvestable plant or other harvestable object. | ||
Line 17: | Line 17: | ||
|- | |- | ||
| <code>locs</code> | | <code>locs</code> | ||
| Additional secondary locations where the harvestable is found. This will be treated as a simple string | | Additional secondary locations where the harvestable is found. This will be treated as a simple string that continues the location sentence after a connecting "or" | ||
|- | |- | ||
| <code>yield</code> | | <code>yield</code> | ||
Line 33: | Line 33: | ||
== Example == | == Example == | ||
{{Harvestable|sing=A}} | <pre> | ||
<nowiki>{{Harvestable|sing=A|loc=Bethesda Susa|locs=underground}}</nowiki> | |||
</pre> | |||
{{Harvestable|sing=A|loc=Bethesda Susa|locs=underground}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |