Template:Recipe/doc: Difference between revisions
(Update bladderfish name to airsack) Tag: sourceedit |
(Adding a multiple item with multiple counts > 3 example) Tag: sourceedit |
||
Line 18: | Line 18: | ||
*Most recipes need several different items: |
*Most recipes need several different items: |
||
:<code><nowiki>{{Recipe|item1= |
:<code><nowiki>{{Recipe|item1=Plasteel Ingot|count1=5|item2=Enameled Glass|count2=5|item3=Advanced Wiring Kit|result=Cyclops}}</nowiki></code> |
||
{{Recipe|item1= |
{{Recipe|item1=Plasteel Ingot|count1=5|item2=Enameled Glass|count2=5|item3=Advanced Wiring Kit|result=Cyclops}} |
||
*To make a page with lots of recipes less cluttered, you can use the small syntax: |
*To make a page with lots of recipes less cluttered, you can use the small syntax: |
||
:<code><nowiki>{{Recipe|item1=Salt|item2= |
:<code><nowiki>{{Recipe|item1=Salt|item2=Spadefish|result=Cooked Spadefish|small=yes}}</nowiki></code> |
||
{{Recipe|item1= |
{{Recipe|item1=Salt|item2=Spadefish|result=Cooked Spadefish|small=yes}} |
||
Lastly, credit where credit is due: Big thanks to the [http://dont-starve-game.wikia.com/wiki/Template:Recipe Don't Starve Wikia] for the base code. It has been modified to (hopefully) be more resilient. |
Lastly, credit where credit is due: Big thanks to the [http://dont-starve-game.wikia.com/wiki/Template:Recipe Don't Starve Wikia] for the base code. It has been modified to (hopefully) be more resilient. |
Revision as of 08:57, 10 March 2015
- Overview
This template is used to make an organized, standardized recipe layout with automatic links/icons. Full in-game item names should be used, as this will select the corresponding article and image.
- Usage
- Full syntax:
{{Recipe|item1=|count1=|item2=|count2=|item3=|count3=|result=}}
- Basic usage is as follows:
{{Recipe|item=Airsack|result=Filtered Water}}
- Typically, more than 1 of an item is needed:
{{Recipe|item=Salt|count=3|result=Magnesium}}
- This will also show a multiplier if a lot of an item is needed:
{{Recipe|item=Salt|count=12|result=Magnesium}}
×12
- Most recipes need several different items:
{{Recipe|item1=Plasteel Ingot|count1=5|item2=Enameled Glass|count2=5|item3=Advanced Wiring Kit|result=Cyclops}}
×5×5
- To make a page with lots of recipes less cluttered, you can use the small syntax:
{{Recipe|item1=Salt|item2=Spadefish|result=Cooked Spadefish|small=yes}}
Lastly, credit where credit is due: Big thanks to the Don't Starve Wikia for the base code. It has been modified to (hopefully) be more resilient.