Template:Character Relationship Box: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) No edit summary Tag: 2017 source edit |
Tesinormed (talk | contribs) No edit summary Tags: Reverted 2017 source edit |
||
| Line 2: | Line 2: | ||
[[File:{{{image}}}|128px|right]] |
[[File:{{{image}}}|128px|right]] |
||
<span class="character-relationship-box-hearts" style="--template-arg-heart-color:{{{heart-color|var(--template-arg-color)}}};"> |
{{yesno|{{yesno-yes|{{{hearts-display}}}}}|yes=<span class="character-relationship-box-hearts" style="--template-arg-heart-color:{{{heart-color|var(--template-arg-color)}}};">{{#switch:{{{hearts|5}}} |
||
| 1 = {{{heart-type|♥}}} |
| 1 = {{{heart-type|♥}}} |
||
| 2 = {{{heart-type|♥}}}{{{heart-type|♥}}} |
| 2 = {{{heart-type|♥}}}{{{heart-type|♥}}} |
||
| Line 9: | Line 9: | ||
| 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|♥}}} |
||
}}<nowiki> </nowiki>}}{{{name}}} |
}}<nowiki> </nowiki></span>}}{{{name}}} |
||
<span class="character-relationship-box-label">Relationship: </span> {{{relationship}}} |
<span class="character-relationship-box-label">Relationship: </span> {{{relationship}}} |
||
Revision as of 01:46, May 3, 2025
Creates a customizable character relationship box with proper side-by-side positioning for image and text, optional hearts, and dynamic labels.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Background | background | no description
| String | optional |
| Border Color | border-color | no description
| String | optional |
| Section Label Color | section-color | no description
| String | optional |
| Heart Color | heart-color | no description
| String | optional |
| Heart Symbol | heart-type | no description
| String | optional |
| Number of Hearts | hearts | no description
| Number | optional |
| Custom Hearts Display | hearts-display | no description | String | optional |
| Name next to Hearts | name | no description
| String | optional |
| Image File Name | image | no description
| String | optional |
| Relationship | relationship | no description
| String | optional |
| Meeting Date | meeting-date | no description | String | optional |
| Meeting Location | meeting-location | no description | String | optional |
| Met Through | met-through | no description | String | optional |
| Description | description | no description | String | optional |
