Template:Multiblock Requirement: Difference between revisions

From Horizon's End Wiki
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style= "float:left;padding-right:5%;">
<div style= "float:left;width:85%;text-align:left;display:flex;align-content:center;">
<!-- Invoke the inventory slot -->
<!-- Invoke the inventory slot -->
{{Slot|{{{material|}}},{{{amount|}}}}}
<div style="float:left">{{Slot|{{{material|}}},{{{amount|}}}}}</div><div style="padding-left:5%;vertical-align:super;display:flex;float:left;align-items:center"><b>{{#if:{{{resource_name|}}}
{{#if:{{{link|}}}
    |{{{resource_name|}}}
    |<div style="padding-left:2.5%;vertical-align:super;display:inline;">[[{{{link|}}}]]</div>
     |{{{material|}}}
     |<div style="padding-left:2.5%;vertical-align:super;display:inline;">{{{material|}}}</div>
}}</b></div>
}}
</div>
</div>
<div style= "float:right;padding-right:5%;>
<div style= "float:right;width:15%;text-align:left;>
{{{amount|}}}
{{{amount|}}}
</div>
</div>
Line 25: Line 24:
"required": true
"required": true
},
},
         "link": {
         "resource_name": {
"description": "Page Link",
"description": "Alternate resource display name",
"suggested": true,
"suggested": true,
             "type": "string"
             "type": "string"

Latest revision as of 17:37, 12 September 2025


No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
materialmaterial

The material that is shown, will be passed into invslot.

Stringrequired
amountamount

The amount of material needed

Stringrequired
resource_nameresource_name

Alternate resource display name

Stringsuggested