7 Days to Die Wiki
Advertisement
Template-info Documentation


This template is used to create a recipe box that is uniform across all items and easily searchable via DPL tables.

The recipe can have up to a maximum of 10 items.

Each row must have inputs for each variable. Missing variables will produce garbage in the output.

Adding this recipe to an item also sets the default category for that item to Category:Craftable_items

Usage[]

Basic usage[]

{{Recipe
|image1= | linkname1= | itemcount1=
|image2= | linkname2= | itemcount2=
|image3= | linkname3= | itemcount3=
|image4= | linkname4= | itemcount4=
|image5= | linkname5= | itemcount5=
|image6= | linkname6= | itemcount6=
|image7= | linkname7= | itemcount7=
|image8= | linkname8= | itemcount8=
|image9= | linkname9= | itemcount9=
|image10= | linkname10= | itemcount10=
}}

Example[]

{{{Recipe
|image1=Ak47Barrel.png | linkname1=Ak 47 Barrel |itemcount1=1
|image2=Ak47Receiver.png | linkname2=Ak 47 Receiver | itemcount2=2
|image3=Ak47Stock.png | linkname3=Ak 47 Stock | itemcount3=3
|image4=Ak47Parts.png | linkname4=Ak 47 Parts | itemcount4=4
}}
Produces
Ak47Barrel 1x Ak 47 Barrel
Ak47Receiver 1x Ak 47 Receiver
Ak47Stock 1x Ak 47 Stock
Ak47Parts 1x Ak 47 Parts


This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

Advertisement