User:Grinjr/Template:ItemInfo: Difference between revisions

From Paradise 14 Wiki
Jump to navigation Jump to search
imported>Grinjr
No edit summary
imported>Grinjr
No edit summary
 
Line 41: Line 41:
     <!-- Crafting Section -->
     <!-- Crafting Section -->
     <div style="background: #191a1a; border: 1px solid black; border-radius: 8px; font-weight:700; text-align:center; padding:2px">Crafting</div>
     <div style="background: #191a1a; border: 1px solid black; border-radius: 8px; font-weight:700; text-align:center; padding:2px">Crafting</div>
{{#if: {{{Crafting Method|}}}|
'''Method''' {{#switch: {{{Crafting Method|}}}
  | construction = [[Construction]]
  | autolathe = {{item|Autolathe|cap=1}}
  | protolathe = {{item|Protolathe|cap=1}}
  | circuit imprinter = {{item|Circuit Imprinter|cap=1}}
  | medical techfab = {{item|Medical Techfab|cap=1}}
  | security techfab = {{item|Security Techfab|cap=1}}
  | ammo techfab = {{item|Ammo Techfab|cap=1}}
  | #default = Not Craftable
}}|}}
     {{#iferror: {{item recipe| {{#if: {{{Item Name|}}} | {{{Item Name}}} | {{PAGENAME}} }} }} | No recipe available. }}
     {{#iferror: {{item recipe| {{#if: {{{Item Name|}}} | {{{Item Name}}} | {{PAGENAME}} }} }} | No recipe available. }}
</div>
</div>

Latest revision as of 10:03, 24 October 2024

<templatedata> { "params": { "Item Name": { "type": "string", "default": "Grinjr/Template:ItemInfo", "required": true }, "Description": { "type": "unknown" }, "Constructed by Hand": { "type": "boolean" }, "Value": { "type": "number" } } } </templatedata>


Grinjr/Template:ItemInfo

Grinjr/Template:ItemInfo

Statistics

Value 0 spesos

Crafting
   Template:Item recipe

Referenced Template:Item_Header.