Template:Harvestable: Difference between revisions

m
better example
(improve {{{locs}}} variable and improve example)
m (better example)
Line 1: Line 1:
<includeonly>{{#if:{{{sing|​}}}|{{{sing|}}} &#32;|}}{{name}} is a [[harvestry|harvestable]] {{{kingdom|plant}}} that can be found within the {{favilink|{{{loc|salt marsh}}}}}{{#if:{{{locs|}}}|&#32;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>
<includeonly>{{#if:{{{sing|​}}}|{{{sing|}}} &#32;|}}{{name}} is a [[harvestry|harvestable]] {{{kingdom|plant}}} that can be found within the {{favilink|{{{loc|salt marsh}}}}}{{#if:{{{locs|}}}|&#32;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 34: Line 33:
== Example ==
== Example ==
<pre>
<pre>
<nowiki>{{Harvestable|sing=A|loc=Bethesda Susa|locs=underground}}</nowiki>
<nowiki>{{Harvestable|sing=A|loc=Bethesda Susa|locs=underground|yield=bop cheek|chance=7|ripe=blue and purple color|unripe=green and black color}}</nowiki>
</pre>
</pre>
{{Harvestable|sing=A|loc=Bethesda Susa|locs=underground}}
{{Harvestable|sing=A|loc=Bethesda Susa|locs=underground|yield=bop cheek|chance=7|ripe=blue and purple color|unripe=green and black color}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>