User:Grinjr/Template:ItemInfo: Difference between revisions

From Space Station 14 Wiki
(Created page with "<noinclude> <templatedata> { "params": { "Item Name": { "type": "string", "default": "{{PAGENAME}}", "required": true }, "Description": { "type": "unknown" }, "Crafting Method": { "type": "unknown" }, "Value": { "type": "number" } } } </templatedata> </noinclude> <div style="max-width:250px; font-size:12px; border:1px solid black; background: #202122; border-radius:8px; padding:6px; line-height:1.5; float:right; margin:.5em 0 .5em 1em...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
"type": "unknown"
"type": "unknown"
},
},
"Crafting Method": {
"Constructed by Hand": {
"type": "unknown"
"type": "boolean"
},
},
"Value": {
"Value": {
Line 40: Line 40:


     <!-- Crafting Section -->
     <!-- Crafting Section -->
{{#if: {{{Crafting Method|}}}|<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>
'''Method''' {{#switch: {{{Crafting Method|}}}
    {{#iferror: {{item recipe| {{#if: {{{Item Name|}}} | {{{Item Name}}} | {{PAGENAME}} }} }} | No recipe available. }}
  | 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
}}|}}
{{item recipe|coffee}}
</div>
</div>
<noinclude>
<noinclude>
Referenced [[Template:Item_Header]].
Referenced [[Template:Item_Header]].
</noinclude>
</noinclude>

Latest revision as of 10:03, 24 October 2024

No description.

Template parameters

ParameterDescriptionTypeStatus
Item NameItem Name

no description

Default
{{PAGENAME}}
Stringrequired
DescriptionDescription

no description

Unknownoptional
Constructed by HandConstructed by Hand

no description

Booleanoptional
ValueValue

no description

Numberoptional


Lua error in Module:Item at line 83: item generation failed: no item was found by ID/name 'Grinjr/Template:ItemInfo'.

Lua error in Module:Item at line 83: item generation failed: no item was found by ID/name 'Grinjr/Template:ItemInfo'.

Statistics

Value 0 spesos

Crafting
   No recipe available.

Referenced Template:Item_Header.