Template:Multiblock Requirement: Difference between revisions

From Horizon's End Wiki
(Created page with "<th> <div style= "border: 1px solid gray;"> <div style="float:left;padding-left:5%;padding-top:3%;"> <!-- Invoke the inventory slot --> {{Slot|{{{material|}}},{{{amount|}}}}} {{ #if:{{{link|}}}|<div style="padding-left:5%;vertical-align:super;display:inline;">[[{{{link|}}}]]</div>}} </div> <div style="float:right;padding-right:5%;;padding-top:3%;"> {{{amount|}}} </div> </div> </th> <...")
 
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
<th>
<div style= "float:left;width:85%;text-align:left;display:flex;align-content:center;">
    <div style= "border: 1px solid gray;">
<!-- Invoke the inventory slot -->
        <div style="float:left;padding-left:5%;padding-top:3%;">
<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|}}}
            <!-- Invoke the inventory slot -->
    |{{{resource_name|}}}
            {{Slot|{{{material|}}},{{{amount|}}}}}
    |{{{material|}}}
            {{ #if:{{{link|}}}|<div style="padding-left:5%;vertical-align:super;display:inline;">[[{{{link|}}}]]</div>}}
}}</b></div>
        </div>
</div>
        <div style="float:right;padding-right:5%;;padding-top:3%;">
<div style= "float:right;width:15%;text-align:left;>
            {{{amount|}}}
{{{amount|}}}
        </div>
</div>
    </div>
</th>


<noinclude>
<noinclude>
Line 18: Line 16:
         "material": {
         "material": {
"description": "The material that is shown, will be passed into invslot.",
"description": "The material that is shown, will be passed into invslot.",
             "type": "string"
             "type": "string",
"required": true
},
},
         "amount": {
         "amount": {
"description": "The amount of material needed",
"description": "The amount of material needed",
             "type": "string"
             "type": "string",
"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