More actions
Created page with "<div style="float: right; width: 300px; background: #1a1a2e; border: 1px solid #333; border-radius: 8px; padding: 15px; margin: 0 0 15px 20px;"> <div style="text-align: center; font-size: 1.3em; font-weight: bold; margin-bottom: 10px;">{{{name|{{PAGENAME}}}}}</div> <div style="text-align: center;">{{{image|}}}</div> {| style="width: 100%;" {{#if:{{{type|}}}| {{!}}- ! style="text-align: right; padding: 4px 10px; color: #999;" {{!}} Type {{!}} style="padding: 4px;" {{!}} {..." |
No edit summary |
||
| Line 24: | Line 24: | ||
}} | }} | ||
</pre> | </pre> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"type": "string", | |||
"description": "Item name", | |||
"default": "{{PAGENAME}}" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"type": "wiki-file-name", | |||
"description": "Item image" | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"type": "string", | |||
"description": "Type of content", | |||
"suggestedvalues": ["Item", "Weapon", "Block", "Tool"] | |||
}, | |||
"series": { | |||
"label": "Series", | |||
"type": "string", | |||
"description": "Which series this content is from", | |||
"suggestedvalues": ["Rift SMP", "Ruinous Sands", "Tropical Island Civ"] | |||
} | |||
}, | |||
"description": "Infobox for custom items and blocks", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 08:58, 5 April 2026
Infobox content
Usage
{{Infobox content
|name=
|image=
|type=
|series=
}}
Infobox for custom items and blocks
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Item name
| String | optional |
| Image | image | Item image | File | optional |
| Type | type | Type of content
| String | optional |
| Series | series | Which series this content is from
| String | optional |