(create page from original) Â |
mNo edit summary |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{clear}} |
||
− | {{Warning_Box|message=This is a Template SANDBOX}} |
||
− | </noinclude> |
||
− | |||
<includeonly> |
<includeonly> |
||
− | {| cellspacing="0" cellpadding="2px" style=" |
+ | {| cellspacing="0" cellpadding="2px" style="overflow: hidden; padding: 7px; margin: 0; width: ;" |
|- {{#if: {{{image1|}}} | | style="display: none;" }} {{#if: {{{linkname1|}}} | | style="display: none;" }} {{#if: {{{itemcount1|}}} | | style="display: none;" }} |
|- {{#if: {{{image1|}}} | | style="display: none;" }} {{#if: {{{linkname1|}}} | | style="display: none;" }} {{#if: {{{itemcount1|}}} | | style="display: none;" }} |
||
|[[File:{{{image1|}}}|75px|link={{{linkname1|}}}]] |
|[[File:{{{image1|}}}|75px|link={{{linkname1|}}}]] |
||
! scope="row" style="padding: 5px; margin: 3px; text-align: left; font-weight: bold;" |'''{{{itemcount1}}}x''' [[{{{linkname1}}}]] |
! scope="row" style="padding: 5px; margin: 3px; text-align: left; font-weight: bold;" |'''{{{itemcount1}}}x''' [[{{{linkname1}}}]] |
||
+ | ! rowspan=10 style="padding: 7px; border-style: solid; border-width: 0 0 0 2px" | {{#if: {{{workplace|}}} | In a <br>[[File:{{{workplaceimage|}}}|x60px|link={{{workplace|}}}]] [[{{{workplace}}}]] }} |
||
+ | ! rowspan=10 style="padding: 7px"| {{#if: {{{implement|}}} | that has a<br> [[File:{{{implementimage|}}}|x60px|link={{{implement|}}}]] [[{{{implement}}}]] }} |
||
+ | ! rowspan=10 style="padding: 7px"| {{#if: {{{schematic|}}} | after learning from <br>[[File:{{{schematicimage|}}}|x60px|link={{{schematic|}}}]] [[{{{schematic}}}]] }} |
||
|- |
|- |
||
|- {{#if: {{{image2|}}} | | style="display: none;" }} {{#if: {{{linkname2|}}} | | style="display: none;" }} {{#if: {{{itemcount2|}}} | | style="display: none;" }} |
|- {{#if: {{{image2|}}} | | style="display: none;" }} {{#if: {{{linkname2|}}} | | style="display: none;" }} {{#if: {{{itemcount2|}}} | | style="display: none;" }} |
||
Line 49: | Line 48: | ||
|User = |
|User = |
||
|User talk = |
|User talk = |
||
+ | |Template = |
||
|#default = [[Category:Craftable_items]] |
|#default = [[Category:Craftable_items]] |
||
}} |
}} |
||
+ | </includeonly><noinclude>{{Warning_Box|message=Changes to this template will affect several other pages. <p>Please be careful when modifying this template.</p> |
||
− | </includeonly> |
||
+ | {{#dpl: |
||
− | <noinclude> |
||
+ | |uses = Template:Recipe/Sandbox |
||
+ | |format=,|resultsheader=<p>This template modifies <B><big>%TOTALPAGES%</big></b> pages.</p> |
||
+ | }} |
||
+ | }} |
||
[[Category:Formatting_templates]] |
[[Category:Formatting_templates]] |
||
{{/doc}} |
{{/doc}} |
Revision as of 03:48, 9 December 2016
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 ten items (As of A13 nothing requires more than four items).
Adding this recipe to an item also sets the default category for that item to Category:Craftable_items
Usage[]
Parameters[]
The recipe formats a borderless table with three main columns; an image column, a page link column,and a column containing the count of the required item. There are a maximum of 10 items that can be used in the recipe. The system also allows for including the workplace, the implements that are used from the workplace and if you need any special knowledge to use the recipe. The parameters are as follows:
- imageX
- The name of the image of the item.
- linknameX
- The name of the item page (tip: use spaces instead of underscores (_) for better formatting)
- itemcountX
- The number of items required for the recipe
Where X is between 1 and 10.
The other parameters which are all optional are:
- workplace
- The workplace location that the recipe must be performed.
- workplaceimage
- The image of that workplace location.
- implement
- The implement in the workplace that must be there.
- implementimage
- The image of that implement.
- schematic
- The schematic or book that must have been read to perform this recipe.
- schematicimage
- The image of that schematic.
Copy, Paste, & Delete[]
You can copy and paste the following where you need it then delete the sections you don't need:
{{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= |workplaceimage= | workplace= |implementimage= | implement= |schematicimage= | schematic= }}
Example[]
{{{Recipe |image1=Ak47Barrel.png | linkname1=Ak 47 Barrel |itemcount1=1 |image2=Ak47Receiver.png | linkname2=Ak 47 Receiver | itemcount2=1 |image3=Ak47Stock.png | linkname3=Ak 47 Stock | itemcount3=1 |image4=Ak47Parts.png | linkname4=Ak 47 Parts | itemcount4=1 }}
- Produces
The above documentation is transcluded from Template:Recipe/Sandbox/doc. (edit | history)