Template:Recipe/doc: Difference between revisions
(Created page with ";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 co...") Tag: sourceedit |
(Changed the examples to use working images (even if they don't make sense)) Tag: sourceedit |
||
Line 6: | Line 6: | ||
*Basic usage is as follows: |
*Basic usage is as follows: |
||
:<code><nowiki>{{Recipe|item= |
:<code><nowiki>{{Recipe|item=Silicone|result=Bleach}}</nowiki></code> |
||
{{Recipe|item=Silicone|result=Bleach}} |
{{Recipe|item=Silicone|result=Bleach}} |
||
*Typically, more than 1 of an item is needed: |
*Typically, more than 1 of an item is needed: |
||
:<code><nowiki>{{Recipe|item= |
:<code><nowiki>{{Recipe|item=Silicone|count=3|result=Bleach}}</nowiki></code> |
||
{{Recipe|item= |
{{Recipe|item=Silicone|count=3|result=Bleach}} |
||
*This will also show a multiplier if a lot of an item is needed: |
*This will also show a multiplier if a lot of an item is needed: |
||
:<code><nowiki>{{Recipe|item= |
:<code><nowiki>{{Recipe|item=Silicone|count=12|result=Bleach}}</nowiki></code> |
||
{{Recipe|item= |
{{Recipe|item=Silicone|count=12|result=Bleach}} |
||
*Most recipes need several items: |
*Most recipes need several items: |
||
:<code><nowiki>{{Recipe|item1= |
:<code><nowiki>{{Recipe|item1=Silicone|item2=Glass|result=Bleach}}</nowiki></code> |
||
{{Recipe|item1= |
{{Recipe|item1=Silicone|item2=Glass|result=Bleach}} |
||
*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= |
:<code><nowiki>{{Recipe|item1=Silicone|item2=Silicone|result=Bleach|small=yes}}</nowiki></code> |
||
{{Recipe|item1= |
{{Recipe|item1=Silicone|item2=Glass|result=Bleach|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 17:25, 9 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=Silicone|result=Bleach}}
- Typically, more than 1 of an item is needed:
{{Recipe|item=Silicone|count=3|result=Bleach}}
- This will also show a multiplier if a lot of an item is needed:
{{Recipe|item=Silicone|count=12|result=Bleach}}
×12
- Most recipes need several items:
{{Recipe|item1=Silicone|item2=Glass|result=Bleach}}
- To make a page with lots of recipes less cluttered, you can use the small syntax:
{{Recipe|item1=Silicone|item2=Silicone|result=Bleach|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.