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
Undo revision 161437 by Tesinormed (talk)
Tag: Undo
No edit summary
Tag: 2017 source edit
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:


<span class="character-relationship-box-hearts" style="--template-arg-heart-color:{{{heart-color|var(--template-arg-color)}}};">{{yesno|{{yesno-yes|{{{hearts-display}}}}}|yes={{#switch:{{{hearts|5}}}
<span class="character-relationship-box-hearts" style="--template-arg-heart-color:{{{heart-color|var(--template-arg-color)}}};">{{yesno|{{yesno-yes|{{{hearts-display}}}}}|yes={{#switch:{{{hearts|5}}}
| 1 = {{{heart-type|♥}}}{{{empty-heart-type|♡}}}{{{empty-heart-type|♡}}}{{{empty-heart-type|♡}}}{{{empty-heart-type|♡}}}
| 1 = {{{heart-type|♥}}}
| 2 = {{{heart-type|♥}}}{{{heart-type|♥}}}
| 2 = {{{heart-type|♥}}}{{{heart-type|♥}}}{{{empty-heart-type|♡}}}{{{empty-heart-type|♡}}}{{{empty-heart-type|♡}}}
| 3 = {{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}
| 3 = {{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}{{{empty-heart-type|♡}}}{{{empty-heart-type|♡}}}
| 4 = {{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}
| 4 = {{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}{{{empty-heart-type|♡}}}
| 5 = {{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}
| 5 = {{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}
| default = {{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}
| default = {{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}{{{heart-type|♥}}}
Line 47: Line 47:


==Examples==
==Examples==
<syntaxhighlight lang="wikitext" copy>
{{Character Relationship Box
|background=linear-gradient(180deg, #2e0e19 0%, #1c070f 100%)
|color=#137dc4
|hearts-display=no
|name=Example
|image=Glypht.png
|relationship=Cool
|meeting-date=2025
|meeting-location=Amaranthia
|met-through=Amaranth Legacy
|description=Glyph t
}}
</syntaxhighlight>
{{Character Relationship Box
{{Character Relationship Box
|background=linear-gradient(180deg, #2e0e19 0%, #1c070f 100%)
|background=linear-gradient(180deg, #2e0e19 0%, #1c070f 100%)
Line 60: Line 74:
}}
}}


<syntaxhighlight lang="wikitext" copy>
{{Character Relationship Box
|background=linear-gradient(180deg, #2e0e19 0%, #1c070f 100%)
|color=#137dc4
|hearts=3
|heart-color=green
|name=Example
|image=Glypht.png
|relationship=Cool
|meeting-date=2025
|meeting-location=Amaranthia
|met-through=Amaranth Legacy
|description=Glyph t
}}
</syntaxhighlight>
{{Character Relationship Box
{{Character Relationship Box
|background=linear-gradient(180deg, #2e0e19 0%, #1c070f 100%)
|background=linear-gradient(180deg, #2e0e19 0%, #1c070f 100%)

Latest revision as of 00:51, May 25, 2025

Creates a customizable character relationship box with proper side-by-side positioning for image and text, optional hearts, and dynamic labels.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Backgroundbackground

no description

Default
linear-gradient(180deg, #2e0e19 0%, #1c070f 100%)
Stringoptional
Border Colorborder-color

no description

Default
#137dc4
Stringoptional
Section Label Colorsection-color

no description

Default
#c7b5e5
Stringoptional
Heart Colorheart-color

no description

Default
#a38bd3
Stringoptional
Heart Symbolheart-type

no description

Default
Stringoptional
Number of Heartshearts

no description

Default
5
Numberoptional
Custom Hearts Displayhearts-display

no description

Stringoptional
Name next to Heartsname

no description

Default
Hope
Stringoptional
Image File Nameimage

no description

Default
Glypht.png
Stringoptional
Relationshiprelationship

no description

Default
Light of His Life!
Stringoptional
Meeting Datemeeting-date

no description

Stringoptional
Meeting Locationmeeting-location

no description

Stringoptional
Met Throughmet-through

no description

Stringoptional
Descriptiondescription

no description

Stringoptional

Examples

{{Character Relationship Box
|background=linear-gradient(180deg, #2e0e19 0%, #1c070f 100%)
|color=#137dc4
|hearts-display=no
|name=Example
|image=Glypht.png
|relationship=Cool
|meeting-date=2025
|meeting-location=Amaranthia
|met-through=Amaranth Legacy
|description=Glyph t
}}

Example

Relationship: Cool

Meeting Date: 2025

Meeting Location: Amaranthia

Met Through: Amaranth Legacy

Description:

Glyph t

{{Character Relationship Box
|background=linear-gradient(180deg, #2e0e19 0%, #1c070f 100%)
|color=#137dc4
|hearts=3
|heart-color=green
|name=Example
|image=Glypht.png
|relationship=Cool
|meeting-date=2025
|meeting-location=Amaranthia
|met-through=Amaranth Legacy
|description=Glyph t
}}

♥♥♥♡♡ Example

Relationship: Cool

Meeting Date: 2025

Meeting Location: Amaranthia

Met Through: Amaranth Legacy

Description:

Glyph t

Credits

Significantly based upon relationship boxes from Numbers Story by Marvin