Template:Recipe/doc: Difference between revisions
No edit summary Tag: sourceedit |
(Aaand finish sensical example editing...) Tag: sourceedit |
||
Line 6: | Line 6: | ||
*Basic usage is as follows: |
*Basic usage is as follows: |
||
:<code><nowiki>{{Recipe|item= |
:<code><nowiki>{{Recipe|item=Bladderfish|result=Filtered Water}}</nowiki></code> |
||
{{Recipe|item= |
{{Recipe|item=Bladderfish|result=Filtered Water}} |
||
*Typically, more than 1 of an item is needed: |
*Typically, more than 1 of an item is needed: |
Revision as of 08:42, 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=Bladderfish|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=Salt|item2=Silicone|result=Bleach}}
- To make a page with lots of recipes less cluttered, you can use the small syntax:
{{Recipe|item1=Salt|item2=Silicone|result=Bleach|small=yes}}
×5
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.