More actions
No edit summary |
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> | ||
<div style="text-align: center;">{{{image|}}}</div> | <div style="text-align: center;">{{{image|}}}</div> | ||
| Line 5: | Line 5: | ||
{{#if:{{{alias|}}}| | {{#if:{{{alias|}}}| | ||
{{!}}- | {{!}}- | ||
! style="text-align: right; padding: 4px 10px; color: | ! style="text-align: right; padding: 4px 10px; color: var(--color-base--subtle);" {{!}} Alias | ||
{{!}} style="padding: 4px;" {{!}} {{{alias}}} | {{!}} style="padding: 4px;" {{!}} {{{alias}}} | ||
}} | }} | ||
{{#if:{{{species|}}}| | {{#if:{{{species|}}}| | ||
{{!}}- | {{!}}- | ||
! style="text-align: right; padding: 4px 10px; color: | ! style="text-align: right; padding: 4px 10px; color: var(--color-base--subtle);" {{!}} Species | ||
{{!}} style="padding: 4px;" {{!}} {{{species}}} | {{!}} style="padding: 4px;" {{!}} {{{species}}} | ||
}} | }} | ||
{{#if:{{{pronouns|}}}| | {{#if:{{{pronouns|}}}| | ||
{{!}}- | {{!}}- | ||
! style="text-align: right; padding: 4px 10px; color: | ! style="text-align: right; padding: 4px 10px; color: var(--color-base--subtle);" {{!}} Pronouns | ||
{{!}} style="padding: 4px;" {{!}} {{{pronouns}}} | {{!}} style="padding: 4px;" {{!}} {{{pronouns}}} | ||
}} | }} | ||
{{#if:{{{status|}}}| | {{#if:{{{status|}}}| | ||
{{!}}- | {{!}}- | ||
! style="text-align: right; padding: 4px 10px; color: | ! style="text-align: right; padding: 4px 10px; color: var(--color-base--subtle);" {{!}} Status | ||
{{!}} style="padding: 4px | {{!}} style="padding: 4px;" {{!}} {{{status}}} | ||
}} | }} | ||
{{#if:{{{affiliation|}}}| | {{#if:{{{affiliation|}}}| | ||
{{!}}- | {{!}}- | ||
! style="text-align: right; padding: 4px 10px; color: | ! style="text-align: right; padding: 4px 10px; color: var(--color-base--subtle);" {{!}} Affiliation | ||
{{!}} style="padding: 4px;" {{!}} {{{affiliation}}} | {{!}} style="padding: 4px;" {{!}} {{{affiliation}}} | ||
}} | }} | ||
{{#if:{{{role|}}}| | {{#if:{{{role|}}}| | ||
{{!}}- | {{!}}- | ||
! style="text-align: right; padding: 4px 10px; color: | ! style="text-align: right; padding: 4px 10px; color: var(--color-base--subtle);" {{!}} Role | ||
{{!}} style="padding: 4px;" {{!}} {{{role}}} | {{!}} style="padding: 4px;" {{!}} {{{role}}} | ||
}} | }} | ||
{{#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}}} | ||
}} | }} | ||
{{#if:{{{first_appearance|}}}| | {{#if:{{{first_appearance|}}}| | ||
{{!}}- | {{!}}- | ||
! style="text-align: right; padding: 4px 10px; color: | ! style="text-align: right; padding: 4px 10px; color: var(--color-base--subtle);" {{!}} First appearance | ||
{{!}} style="padding: 4px;" {{!}} {{{first_appearance}}} | {{!}} style="padding: 4px;" {{!}} {{{first_appearance}}} | ||
}} | }} | ||
| Line 60: | Line 60: | ||
}} | }} | ||
</pre> | </pre> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"type": "string", | |||
"description": "Character name", | |||
"default": "{{PAGENAME}}" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"type": "wiki-file-name", | |||
"description": "Character image (e.g. [[File:Name.png|250px]])" | |||
}, | |||
"alias": { | |||
"label": "Alias", | |||
"type": "string", | |||
"description": "Alternative names" | |||
}, | |||
"species": { | |||
"label": "Species", | |||
"type": "string", | |||
"description": "Character species" | |||
}, | |||
"pronouns": { | |||
"label": "Pronouns", | |||
"type": "string", | |||
"description": "Character pronouns (e.g. He/Him, They/Them)" | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"type": "string", | |||
"description": "Current status", | |||
"suggestedvalues": ["Alive", "Deceased", "Unknown", "Active"] | |||
}, | |||
"affiliation": { | |||
"label": "Affiliation", | |||
"type": "string", | |||
"description": "Group or faction" | |||
}, | |||
"role": { | |||
"label": "Role", | |||
"type": "string", | |||
"description": "Character role" | |||
}, | |||
"series": { | |||
"label": "Series", | |||
"type": "string", | |||
"description": "Which series this character is from", | |||
"suggestedvalues": ["Rift SMP", "Ruinous Sands", "Tropical Island Civ"] | |||
}, | |||
"first_appearance": { | |||
"label": "First Appearance", | |||
"type": "string", | |||
"description": "When the character first appeared" | |||
} | |||
}, | |||
"description": "Infobox for character pages", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 08:55, 5 April 2026
Infobox character
Usage
{{Infobox character
|name=
|image=
|alias=
|species=
|pronouns=
|status=
|affiliation=
|role=
|series=
|first_appearance=
}}
Infobox for character pages
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Character name
| String | optional |
| Image | image | Character image (e.g. [[File:Name.png|250px]]) | File | optional |
| Alias | alias | Alternative names | String | optional |
| Species | species | Character species | String | optional |
| Pronouns | pronouns | Character pronouns (e.g. He/Him, They/Them) | String | optional |
| Status | status | Current status
| String | optional |
| Affiliation | affiliation | Group or faction | String | optional |
| Role | role | Character role | String | optional |
| Series | series | Which series this character is from
| String | optional |
| First Appearance | first_appearance | When the character first appeared | String | optional |