Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Template:Character Relationship Box: Difference between revisions

Template page
Content deleted Content added
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 14: Line 14:
<span class="character-relationship-text">
<span class="character-relationship-text">
<span class="character-relationship-header" style="color: {{{header-color|#df0049}}}; font-size: {{{header-size|1.5em}}};">
<span class="character-relationship-header" style="color: {{{header-color|#df0049}}}; font-size: {{{header-size|1.5em}}};">
{{{hearts|♥♥♥♥♥}}} {{{name|Character Name}}}
{{{header|Relationship Header}}}
</span>
</span>
<span class="character-relationship-subinfo">
<span class="character-relationship-subinfo">
<b>Relationship:</b> {{{relationship|None}}}<br>
{{{subinfo|Subinformation here}}}
<b>Meeting Date:</b> {{{meeting-date|Unknown}}}<br>
<b>Meeting Location:</b> {{{meeting-location|Unknown}}}<br>
<b>Met Through:</b> {{{met-through|Unknown}}}
</span>
</span>
<span class="character-relationship-description">
<span class="character-relationship-description">
Line 23: Line 26:
</span>
</span>
</span>
</span>
<span class="character-relationship-image" style="display:{{{image-display|none}}};">
<span class="character-relationship-image" style="display:{{{image-display|inline-block}}}; margin-left:15px;">
[[File:{{{image|}}}|{{{image-size|100px}}}]]
[[File:{{{image|}}}|{{{image-size|100px}}}]]
</span>
</span>
Line 32: Line 35:
<templatedata>
<templatedata>
{
{
"description": "Displays a character relationship box with optional header, subinfo, description, and image, customizable with colors, width, alignment, and more.",
"description": "Displays a character relationship box with hearts, name, relationship info, description, and optional image, customizable with colors, width, alignment, and more.",
"params": {
"params": {
"header": {
"name": {
"label": "Header Text",
"label": "Character Name",
"type": "string",
"type": "string",
"default": "Relationship Header"
"default": "Character Name"
},
},
"subinfo": {
"hearts": {
"label": "Subinformation",
"label": "Hearts (♥/♡)",
"type": "string",
"type": "string",
"default": "Subinformation here"
"default": "♥♥♥♥♥"
},
"relationship": {
"label": "Relationship",
"type": "string",
"default": "None"
},
"meeting-date": {
"label": "Meeting Date",
"type": "string",
"default": "Unknown"
},
"meeting-location": {
"label": "Meeting Location",
"type": "string",
"default": "Unknown"
},
"met-through": {
"label": "Met Through",
"type": "string",
"default": "Unknown"
},
},
"description": {
"description": {
Line 62: Line 85:
"label": "Image Display",
"label": "Image Display",
"type": "string",
"type": "string",
"default": "none",
"default": "inline-block",
"description": "Use 'inline-block' to show an image, 'none' to hide."
"description": "Use 'inline-block' to show an image, 'none' to hide."
},
},
Line 81: Line 104:
},
},
"header-color": {
"header-color": {
"label": "Header Text Color",
"label": "Header Color",
"type": "string",
"type": "string",
"default": "#df0049"
"default": "#df0049"
},
},
"header-size": {
"header-size": {
"label": "Header Font Size",
"label": "Header Size",
"type": "string",
"type": "string",
"default": "1.5em"
"default": "1.5em"
Line 93: Line 116:
"label": "Width",
"label": "Width",
"type": "string",
"type": "string",
"default": "auto",
"default": "auto"
"description": "Set a fixed width like '400px' or leave 'auto'."
},
},
"align": {
"align": {
"label": "Text Alignment",
"label": "Text Align",
"type": "string",
"type": "string",
"default": "left",
"default": "left"
"description": "left, center, or right"
}
}
}
}
}
}
</templatedata>
</templatedata>
{{Character Relationship Box|header=Damn|subinfo=Wow|description=You ever eat that good shit. Yummy ahh burger|image=(Haven) - Oblivion Mystara.png}}
</noinclude>
</noinclude>

Revision as of 19:52, May 1, 2025



Displays a character relationship box with hearts, name, relationship info, description, and optional image, customizable with colors, width, alignment, and more.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Character Namename

no description

Default
Character Name
Stringoptional
Hearts (♥/♡)hearts

no description

Default
♥♥♥♥♥
Stringoptional
Relationshiprelationship

no description

Default
None
Stringoptional
Meeting Datemeeting-date

no description

Default
Unknown
Stringoptional
Meeting Locationmeeting-location

no description

Default
Unknown
Stringoptional
Met Throughmet-through

no description

Default
Unknown
Stringoptional
Descriptiondescription

no description

Default
Relationship description goes here.
Stringoptional
Image Filenameimage

no description

Default
Stringoptional
Image Sizeimage-size

no description

Default
100px
Stringoptional
Image Displayimage-display

Use 'inline-block' to show an image, 'none' to hide.

Default
inline-block
Stringoptional
Border Colorborder-color

no description

Default
#df0049
Stringoptional
Background Colorbackground-color

no description

Default
#2b2b2b
Stringoptional
Text Colortext-color

no description

Default
#e0e0e0
Stringoptional
Header Colorheader-color

no description

Default
#df0049
Stringoptional
Header Sizeheader-size

no description

Default
1.5em
Stringoptional
Widthwidth

no description

Default
auto
Stringoptional
Text Alignalign

no description

Default
left
Stringoptional