Template:Harvestable: Difference between revisions

Fix blank space appearing in front of sentence when {{{sing}}} is not provided
m (remove "subjective" from name template because it is not a supported name template parameter and it does nothing.)
(Fix blank space appearing in front of sentence when {{{sing}}} is not provided)
Line 1: Line 1:
<includeonly>{{{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|}}} &#32;|}}{{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>


Creates a paragraph describing a harvestable plant or other harvestable object.
Creates a paragraph describing a harvestable plant or other harvestable object.
Line 31: Line 31:
| a description of the harvestable when unripe, such as "black leaves". Will be converted into the phrase "while an unripe <NAME> has <UNRIPE_PHRASE>"
| a description of the harvestable when unripe, such as "black leaves". Will be converted into the phrase "while an unripe <NAME> has <UNRIPE_PHRASE>"
|}
|}
== Example ==
{{Harvestable|sing=A}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>