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
Line 4: Line 4:
             <!-- Invoke the inventory slot -->
             <!-- Invoke the inventory slot -->
             {{Slot|{{{material|}}},{{{amount|}}}}}
             {{Slot|{{{material|}}},{{{amount|}}}}}
             {{ #if:{{{link|}}}|<div style="padding-left:5%;vertical-align:super;display:inline;">[[{{{link|}}}]]</div>}}
             {{ #if:{{{link|}}}
                |then <div style="padding-left:5%;vertical-align:super;display:inline;">[[{{{link|}}}]]</div>
                |else <div style="padding-left:5%;vertical-align:super;display:inline;">{{{material|}}}</div>|
            }}
         </div>
         </div>
         <div style="float:right;padding-right:5%;;padding-top:3%;">
         <div style="float:right;padding-right:5%;;padding-top:3%;">
Line 18: Line 21:
         "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": {
         "link": {

Revision as of 16:15, 12 September 2025

           
else

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
linklink

Page Link

Stringsuggested