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
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>
{{#if: {{{Crafting Method|}}}|
'''Method''' {{#switch: {{{Crafting Method|}}}
'''Method''' {{#switch: {{{Crafting Method|}}}
  | construction = [[Construction]]
  | construction = [[Construction]]
Line 51: Line 52:
  | #default = Not Craftable
  | #default = Not Craftable
}}|}}
}}|}}
{{item recipe|coffee}}
    {{#iferror: {{item recipe| {{#if: {{{Item Name|}}} | {{{Item Name}}} | {{PAGENAME}} }} }} | No recipe available. }}
</div>
</div>
<noinclude>
<noinclude>
Referenced [[Template:Item_Header]].
Referenced [[Template:Item_Header]].
</noinclude>
</noinclude>

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.