|
|
| Line 1: |
Line 1: |
| <includeonly><div class="crafting-wrapper">
| | Retired for tech check. |
| <div class="crafting-reagents">
| |
| {{#if: {{{item1|}}} |
| |
| <div class="crafting-item">
| |
| <div class="crafting-icon">[[File:{{uc:{{{item1}}}}}_icon.png|48px|link={{{item1}}}]]</div>
| |
| <div class="crafting-qty">{{{qty1|1}}}</div>
| |
| </div>
| |
| }}
| |
| {{#if: {{{item2|}}} |
| |
| <div class="crafting-item">
| |
| <div class="crafting-icon">[[File:{{uc:{{{item2}}}}}_icon.png|48px|link={{{item2}}}]]</div>
| |
| <div class="crafting-qty">{{{qty2|1}}}</div>
| |
| </div>
| |
| }}
| |
| {{#if: {{{item3|}}} |
| |
| <div class="crafting-item">
| |
| <div class="crafting-icon">[[File:{{uc:{{{item3}}}}}_icon.png|48px|link={{{item3}}}]]</div>
| |
| <div class="crafting-qty">{{{qty3|1}}}</div>
| |
| </div>
| |
| }}
| |
| {{#if: {{{item4|}}} |
| |
| <div class="crafting-item">
| |
| <div class="crafting-icon">[[File:{{uc:{{{item4}}}}}_icon.png|48px|link={{{item4}}}]]</div>
| |
| <div class="crafting-qty">{{{qty4|1}}}</div>
| |
| </div>
| |
| }}
| |
| {{#if: {{{item5|}}} |
| |
| <div class="crafting-item">
| |
| <div class="crafting-icon">[[File:{{uc:{{{item5}}}}}_icon.png|48px|link={{{item5}}}]]</div>
| |
| <div class="crafting-qty">{{{qty5|1}}}</div>
| |
| </div>
| |
| }}
| |
| {{#if: {{{item6|}}} |
| |
| <div class="crafting-item">
| |
| <div class="crafting-icon">[[File:{{uc:{{{item6}}}}}_icon.png|48px|link={{{item6}}}]]</div>
| |
| <div class="crafting-qty">{{{qty6|1}}}</div>
| |
| </div>
| |
| }}
| |
| </div>
| |
| | |
| <div class="crafting-divider"></div>
| |
| | |
| <div class="crafting-output">
| |
| <div class="crafting-output-icon">[[File:{{uc:{{{output}}}}}_icon.png|80px|link={{{output}}}]]</div>
| |
| <div class="crafting-output-qty">{{{output_qty|1}}}</div>
| |
| </div>
| |
| </div></includeonly><noinclude>
| |
| == Usage ==
| |
| <pre>
| |
| {{CraftingRecipe
| |
| | item1 = Scrap Metal | qty1 = 18/5
| |
| | item2 = Wood | qty2 = 116/30
| |
| | item3 = Screws | qty3 = 22/5
| |
| | item4 = Spring | qty4 = 3/1
| |
| | output = Pipe Rifle | output_qty = 1
| |
| }}
| |
| </pre>
| |
| <templatedata>
| |
| {
| |
| "description": "A template for displaying crafting recipes with up to 6 reagents and 1 output item. Matches the Citizen skin dark theme.",
| |
| "format": "block",
| |
| "params": {
| |
| "output": {
| |
| "label": "Output Item",
| |
| "description": "The exact name of the crafted item. This determines the image and page link.",
| |
| "type": "wiki-page-name",
| |
| "required": true
| |
| },
| |
| "output_qty": {
| |
| "label": "Output Quantity",
| |
| "description": "The number of items produced by this recipe.",
| |
| "type": "string",
| |
| "default": "1",
| |
| "suggested": true
| |
| },
| |
| "item1": {
| |
| "label": "Reagent 1",
| |
| "description": "The exact name of the first crafting reagent.",
| |
| "type": "wiki-page-name",
| |
| "required": true
| |
| },
| |
| "qty1": {
| |
| "label": "Quantity 1",
| |
| "description": "The required or available quantity for the first reagent (e.g., '5' or '18/5').",
| |
| "type": "string",
| |
| "default": "1",
| |
| "suggested": true
| |
| },
| |
| "item2": {
| |
| "label": "Reagent 2",
| |
| "description": "The exact name of the second crafting reagent.",
| |
| "type": "wiki-page-name",
| |
| "suggested": true
| |
| },
| |
| "qty2": {
| |
| "label": "Quantity 2",
| |
| "description": "The quantity for the second reagent.",
| |
| "type": "string",
| |
| "default": "1"
| |
| },
| |
| "item3": {
| |
| "label": "Reagent 3",
| |
| "description": "The exact name of the third crafting reagent.",
| |
| "type": "wiki-page-name"
| |
| },
| |
| "qty3": {
| |
| "label": "Quantity 3",
| |
| "description": "The quantity for the third reagent.",
| |
| "type": "string",
| |
| "default": "1"
| |
| },
| |
| "item4": {
| |
| "label": "Reagent 4",
| |
| "description": "The exact name of the fourth crafting reagent.",
| |
| "type": "wiki-page-name"
| |
| },
| |
| "qty4": {
| |
| "label": "Quantity 4",
| |
| "description": "The quantity for the fourth reagent.",
| |
| "type": "string",
| |
| "default": "1"
| |
| },
| |
| "item5": {
| |
| "label": "Reagent 5",
| |
| "description": "The exact name of the fifth crafting reagent.",
| |
| "type": "wiki-page-name"
| |
| },
| |
| "qty5": {
| |
| "label": "Quantity 5",
| |
| "description": "The quantity for the fifth reagent.",
| |
| "type": "string",
| |
| "default": "1"
| |
| },
| |
| "item6": {
| |
| "label": "Reagent 6",
| |
| "description": "The exact name of the sixth crafting reagent.",
| |
| "type": "wiki-page-name"
| |
| },
| |
| "qty6": {
| |
| "label": "Quantity 6",
| |
| "description": "The quantity for the sixth reagent.",
| |
| "type": "string",
| |
| "default": "1"
| |
| }
| |
| }
| |
| }
| |
| </templatedata></noinclude>
| |