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> {{{image|}}} {| style="width: 100%;" {{#if:{{{type|}}}| {{!}}- ! style="text-align: right; padding: 4px 10px; color: #999;" {{!}} Type {{!}} style="padding: 4px;" {{!}} {{{type}}} }} {{#if:{{{origin|}}}| {{!}}..." |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div style="float: right; width: 300px; background: | <div style="float: right; width: 300px; background: var(--color-surface-2); border: 1px solid var(--border-color-base); 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; font-size: 1.3em; font-weight: bold; margin-bottom: 10px;">{{{name|{{PAGENAME}}}}}</div> | ||
{{{image|}}} | <div style="text-align: center;">{{{image|}}}</div> | ||
{| style="width: 100%;" | {| style="width: 100%;" | ||
{{#if:{{{series|}}}| | {{#if:{{{series|}}}| | ||
{{!}}- | {{!}}- | ||
! style="text-align: right; padding: 4px 10px; color: | ! style="text-align: right; padding: 4px 10px; color: var(--color-base--subtle);" {{!}} Series | ||
{{!}} style="padding: 4px;" {{!}} {{{series}}} | {{!}} style="padding: 4px;" {{!}} {{{series}}} | ||
}} | }} | ||
| Line 35: | Line 15: | ||
|name= | |name= | ||
|image= | |image= | ||
|series= | |series= | ||
}} | }} | ||
</pre> | </pre> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"type": "string", | |||
"description": "Concept name", | |||
"default": "{{PAGENAME}}" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"type": "wiki-file-name", | |||
"description": "Concept image" | |||
}, | |||
"series": { | |||
"label": "Series", | |||
"type": "string", | |||
"description": "Which series this concept is from", | |||
"suggestedvalues": ["Rift SMP", "Ruinous Sands", "Tropical Island Civ"] | |||
} | |||
}, | |||
"description": "Infobox for lore concepts", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 08:59, 5 April 2026
Infobox concept
Usage
{{Infobox concept
|name=
|image=
|series=
}}
Infobox for lore concepts
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Concept name
| String | optional |
| Image | image | Concept image | File | optional |
| Series | series | Which series this concept is from
| String | optional |