Line 8: |
Line 8: |
| |craftingstation={{name|Preserves Jar}} | | |craftingstation={{name|Preserves Jar}} |
| |ingredients={{name|Fish|13}}{{name|Tomato Seeds|13}} | | |ingredients={{name|Fish|13}}{{name|Tomato Seeds|13}} |
− | }} | + | }}{{construction}} |
| + | This template is for items and their details. This includes [[fish]], [[weapons]], [[tools]], [[crops]], [[artifacts]] and other items. |
| + | |
| + | == Use == |
| + | Place 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 directly after this template. |
| + | |
| + | There's no need to make things links withink the template, source and season will automatically scan for associate articles and make links if they exist. |
| + | |
| + | This template will detail crafting requirements by nesting ingredients in the [[Template:Name|Name]] template as well as the crafting station. Items inside the name template, it will automatically attach a picture (with the same name) and link if there's an article available. |
| + | |
| + | == Example == |
| + | <pre> |
| + | {{Infobox |
| + | |name=Corn |
| + | |image=Corn.png |
| + | |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 |
| + | |season=Fall |
| + | |craftingstation={{name|Preserves Jar}} |
| + | |ingredients={{name|Fish|13}}{{name|Tomato Seeds|13}} |
| + | } |
| + | </pre> |
| + | [[Category:Template]] |
| </noinclude><includeonly><div id="infoboxborder"> | | </noinclude><includeonly><div id="infoboxborder"> |
| {| id="infoboxtable" | | {| id="infoboxtable" |
Line 14: |
Line 36: |
| |- | | |- |
| |colspan=2 style="padding-bottom:15px;"|{{#if:{{{image|}}}|[[File:{{{image|}}}|center]]|}} | | |colspan=2 style="padding-bottom:15px;"|{{#if:{{{image|}}}|[[File:{{{image|}}}|center]]|}} |
| + | |- |
| + | |colspan=2 id="infoboxdetail"|{{{description|}}} |
| |- | | |- |
| |colspan=2 id="infoboxsection" style="text-align:center;"|Information | | |colspan=2 id="infoboxsection" style="text-align:center;"|Information |
− | |-
| |
− | |id="infoboxsection"|Description:
| |
− | |id="infoboxdetail"|{{{description|}}}
| |
| |- | | |- |
| |id="infoboxsection"|Source: | | |id="infoboxsection"|Source: |
Line 25: |
Line 46: |
| |id="infoboxsection"|Season: | | |id="infoboxsection"|Season: |
| |id="infoboxdetail"|{{{season|}}} | | |id="infoboxdetail"|{{{season|}}} |
− | {{#if:{{{family|}}}|
| |
− | {{!}}-
| |
− | {{!}}id="infoboxsection"{{!}}Family:
| |
− | {{!}}id="infoboxdetail"{{!}}{{{family|}}}|}}
| |
− | {{#if:{{{friends|}}}|
| |
− | {{!}}-
| |
− | {{!}}id="infoboxsection"{{!}}Friends:
| |
− | {{!}}id="infoboxdetail"{{!}}{{{friends|}}}|}}
| |
− | |-
| |
− | |id="infoboxsection"|Marriage:
| |
− | |id="infoboxdetail"|{{#ifeq:{{{marriage|}}}|Yes|{{{marriage|}}}[[Category:Marriage Candidate]]|{{{marriage|}}}}}
| |
− | |-
| |
− | |id="infoboxsection"|Best Gifts:
| |
− | |id="infoboxdetail"|
| |
− | {{{favorites|}}}
| |
| {{#if:{{{ingredients|}}}| | | {{#if:{{{ingredients|}}}| |
| {{!}}- | | {{!}}- |
Line 52: |
Line 58: |
| {{!}}id="infoboxdetail"{{!}}{{{ingredients|}}}|}} | | {{!}}id="infoboxdetail"{{!}}{{{ingredients|}}}|}} |
| |- | | |- |
− | |colspan=2 id="infoboxsection"|Sell price: | + | |id="infoboxsection"|Sell price: |
| + | |id="infoboxdetail"|{{{sellprice|}}} |
| |- | | |- |
| |colspan=2 id="infoboxfooter"| | | |colspan=2 id="infoboxfooter"| |
| |}[[Category:Crop]] | | |}[[Category:Crop]] |
| </div></includeonly> | | </div></includeonly> |