Difference between revisions of "Template:Infobox seed/doc"
Jump to navigation
Jump to search
Oath2order (talk | contribs) |
(Add description to 'tPrice' and an example) |
||
Line 12: | Line 12: | ||
|gPrice = | |gPrice = | ||
|jPrice = | |jPrice = | ||
+ | |tPrice = | ||
|description = | |description = | ||
}}</pre> | }}</pre> | ||
Line 18: | Line 19: | ||
<pre>{{Infobox seed | <pre>{{Infobox seed | ||
|image = | |image = | ||
− | |crop = Crop | + | |crop = Crop produced |
− | |growth = Growth | + | |growth = Growth time |
|season = Season grown in | |season = Season grown in | ||
− | |gPrice = General | + | |gPrice = General store price |
− | |jPrice = JojaMart | + | |jPrice = JojaMart price |
+ | |tPrice = Travelling cart price | ||
|description = Description | |description = Description | ||
}}</pre> | }}</pre> | ||
+ | |||
+ | ==Example== | ||
+ | <pre estyle="margin-right:325px;border:1px solid silver;white-space: pre-wrap;white-space: -moz-pre-wrap;white-space: -pre-wrap;white-space: -o-pre-wrap;word-wrap: break-word;">{{Infobox seed | ||
+ | |image = Parsnip Seeds.png | ||
+ | |crop = [[Parsnip]] | ||
+ | |growth = 4 days | ||
+ | |season = [[Spring]] | ||
+ | |gPrice = {{Price|20}} | ||
+ | |jPrice = {{Price|25}} | ||
+ | |tPrice = {{Price|100-900}} | ||
+ | |description = Plant these in the Spring. Takes 4 days to mature | ||
+ | }}</pre> | ||
+ | {{Clear}} | ||
+ | |||
+ | {{Infobox seed | ||
+ | |name = Parsnip Seeds | ||
+ | |image = Parsnip Seeds.png | ||
+ | |crop = [[Parsnip]] | ||
+ | |growth = 4 days | ||
+ | |season = [[Spring]] | ||
+ | |gPrice = {{Price|20}} | ||
+ | |jPrice = {{Price|25}} | ||
+ | |tPrice = {{Price|100-900}} | ||
+ | |description = Plant these in the Spring. Takes 4 days to mature | ||
+ | }} | ||
+ | {{Clear}} | ||
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 20:00, 24 April 2016
Description
This template is used to provide a template that displays an infobox for seed.
Usage
This template can be used by entering the following onto a relevant page.
{{Infobox seed |image = |crop = |growth = |season = |gPrice = |jPrice = |tPrice = |description = }}
Parameters
{{Infobox seed |image = |crop = Crop produced |growth = Growth time |season = Season grown in |gPrice = General store price |jPrice = JojaMart price |tPrice = Travelling cart price |description = Description }}
Example
{{Infobox seed |image = Parsnip Seeds.png |crop = [[Parsnip]] |growth = 4 days |season = [[Spring]] |gPrice = {{Price|20}} |jPrice = {{Price|25}} |tPrice = {{Price|100-900}} |description = Plant these in the Spring. Takes 4 days to mature }}
Parsnip Seeds | |
Plant these in the Spring. Takes 4 days to mature | |
Information | |
Crop: | Parsnip |
Growth Time: | 4 days |
Season: | |
Purchase Prices | |
General Store: | 20g |
JojaMart: | 25g |
Traveling Cart: | -800g |