Line 18: |
Line 18: |
| ==Usage== | | ==Usage== |
| ===Placement=== | | ===Placement=== |
− | This template should be placed at the top of an article page (it will automatically align right). Any alert templates like <nowiki>{{stub}}</nowiki> or <nowiki>{{construction}}</nowiki> should be placed above this template. | + | This template should be placed at the top of an article page (it will automatically align right). Alert templates, such as <nowiki>{{stub}}</nowiki> or <nowiki>{{construction}}</nowiki>, can be placed above this template. |
| | | |
| ===Additional Information=== | | ===Additional Information=== |
| + | The ''image2'' parameter can be used to display a second image file for certain cases, such as [[File:Egg.png|32px]][[Egg]] and [[File:Brown_Egg.png|32px]][[Brown Egg]]. |
| + | |
| This template will automatically populate links from plain text. Source and season will automatically scan for associate articles and make links if they exist. | | This template will automatically populate links from plain text. Source and season will automatically scan for associate articles and make links if they exist. |
| | | |
Line 30: |
Line 32: |
| |name = Name of Item | | |name = Name of Item |
| |image = file_name.png | | |image = file_name.png |
| + | |image2 = |
| |description = Ingame description of the item | | |description = Ingame description of the item |
| |source = Farming / Quest / Shop | | |source = Farming / Quest / Shop |
| |season = Spring / Winter / Fall / Summer | | |season = Spring / Winter / Fall / Summer |
| |craftingstation = {{name|Preserves Jar}} <- use the name template, then list the station name | | |craftingstation = {{name|Preserves Jar}} <- use the name template, then list the station name |
− | |ingredients = {{name|Fish|13}}{{name|item|#}} <- use the name template, then list the item and # of ingredient needed | + | |ingredients = {{name|Fish|13}} {{name|item|#}} <- use the name template, then list the item and # of ingredient needed |
| |sellprice = 14 | | |sellprice = 14 |
| |sellpricesilver = 32 | | |sellpricesilver = 32 |
Line 41: |
Line 44: |
| </pre> | | </pre> |
| | | |
− | ==Samples== | + | ==Sample== |
| <pre> | | <pre> |
| {{Infobox | | {{Infobox |
| |name = Corn | | |name = Corn |
| |image = Corn.png | | |image = Corn.png |
| + | |image2 = |
| |description = Plant these in the spring. Takes 10 days to mature, but keeps producing after that. Yields multiple beans per harvest. Grows on a trellis. | | |description = Plant these in the spring. Takes 10 days to mature, but keeps producing after that. Yields multiple beans per harvest. Grows on a trellis. |
| |source = Farming | | |source = Farming |
| |season = Spring | | |season = Spring |
| |craftingstation = {{name|Preserves Jar}} | | |craftingstation = {{name|Preserves Jar}} |
− | |ingredients = {{name|Fish|13}}{{name|Tomato Seeds|13}} | + | |ingredients = {{name|Fish|13}} {{name|Tomato Seeds|13}} |
| |sellprice = 14 | | |sellprice = 14 |
| |sellpricesilver = 32 | | |sellpricesilver = 32 |
Line 57: |
Line 61: |
| </pre> | | </pre> |
| | | |
− | results in...
| + | Results in... |
− | | |
| {{Infobox | | {{Infobox |
| |name = Corn | | |name = Corn |
| |image = Corn.png | | |image = Corn.png |
| + | |image2 = |
| |description = Plant these in the spring. Takes 10 days to mature, but keeps producing after that. Yields multiple beans per harvest. Grows on a trellis. | | |description = Plant these in the spring. Takes 10 days to mature, but keeps producing after that. Yields multiple beans per harvest. Grows on a trellis. |
| |source = Farming | | |source = Farming |
| |season = Spring | | |season = Spring |
| |craftingstation = {{name|Preserves Jar}} | | |craftingstation = {{name|Preserves Jar}} |
− | |ingredients = {{name|Fish|13}}{{name|Tomato Seeds|13}}
| + | |ingredients = {{name|Fish|13}} {{name|Tomato Seeds|13}} |
− | |sellprice = 14
| |
− | |sellpricesilver = 32
| |
− | |sellpricegold = 44
| |
− | }}
| |
− | {{Clear}}
| |
− | | |
− | ==Two Images==
| |
− | In rare cases an item may have the same name and pricing but appear different (Eggs and Brown Eggs, for instance). You can use two images in the infobox
| |
− | <pre>
| |
− | {{Infobox
| |
− | |name= Egg
| |
− | |image = Brown_Egg.png
| |
− | |image2 = Egg.png
| |
− | |description = Description text will appear here
| |
− | |source = Farming
| |
− | |season = Spring
| |
− | |craftingstation = {{name|Preserves Jar}}
| |
− | |ingredients = {{name|Fish|13}}{{name|Tomato Seeds|13}}
| |
− | |sellprice = 14
| |
− | |sellpricesilver = 32
| |
− | |sellpricegold = 44
| |
− | }}</pre>
| |
− | | |
− | Which results in...
| |
− | {{Infobox
| |
− | |name= Egg
| |
− | |image = Brown_Egg.png
| |
− | |image2 = Egg.png
| |
− | |description = Description text will appear here
| |
− | |source = Farming
| |
− | |season = Spring
| |
− | |craftingstation = {{name|Preserves Jar}}
| |
− | |ingredients = {{name|Fish|13}}{{name|Tomato Seeds|13}} | |
| |sellprice = 14 | | |sellprice = 14 |
| |sellpricesilver = 32 | | |sellpricesilver = 32 |
| |sellpricegold = 44 | | |sellpricegold = 44 |
| }}[[Category:Infobox templates]]<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | | }}[[Category:Infobox templates]]<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |