Template:Character Relationship Box: Difference between revisions
Template page
More actions
Content deleted Content added
LordSkorne7 (talk | contribs) No edit summary Tag: 2017 source edit |
LordSkorne7 (talk | contribs) 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| |
<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 |
"description": "Displays a character relationship box with hearts, name, relationship info, description, and optional image, customizable with colors, width, alignment, and more.", |
||
"params": { |
"params": { |
||
" |
"name": { |
||
"label": " |
"label": "Character Name", |
||
"type": "string", |
"type": "string", |
||
"default": " |
"default": "Character Name" |
||
}, |
}, |
||
" |
"hearts": { |
||
"label": " |
"label": "Hearts (♥/♡)", |
||
"type": "string", |
"type": "string", |
||
"default": " |
"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": " |
"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 |
"label": "Header Color", |
||
"type": "string", |
"type": "string", |
||
"default": "#df0049" |
"default": "#df0049" |
||
}, |
}, |
||
"header-size": { |
"header-size": { |
||
"label": "Header |
"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 |
"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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Character Name | name | no description
| String | optional |
| Hearts (♥/♡) | hearts | 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 |
| Image Filename | image | no description
| String | optional |
| Image Size | image-size | no description
| String | optional |
| Image Display | image-display | Use 'inline-block' to show an image, 'none' to hide.
| String | optional |
| Border Color | border-color | no description
| String | optional |
| Background Color | background-color | no description
| String | optional |
| Text Color | text-color | no description
| String | optional |
| Header Color | header-color | no description
| String | optional |
| Header Size | header-size | no description
| String | optional |
| Width | width | no description
| String | optional |
| Text Align | align | no description
| String | optional |