Template:RelationshipBlock: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly> <div style="background-color: white; padding: 3px; border: 1px solid lightgrey; margin-bottom: 1em; max-width: {{{Width}}}%;"> {| |- | style="vertical-align:top" | [[File:{{{Image}}}|{{{Image-Size}}}px|frameless]] | style="padding-left: 10px; vertical-align:top" | '''{{Rank}} [[{{{Name}}}]]'''<br>[[{{{Location}}}]]<br> '''{{{Relationship}}}'''<br> {{{Comments}}} |} </div> </includeonly><noinclude> <templatedata> { "params": { "Width": { "description":...") |
No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
{| | {| | ||
|- | |- | ||
| style="vertical-align:top" | [[File:{{{Image}}}|{{{Image-Size}}}px|frameless]] | | style="vertical-align:top" | [[File:{{{Image|NoImageUCG.jpg}}}|{{{Image-Size|100}}}px|frameless]] | ||
| style="padding-left: 10px; vertical-align:top" | '''{{Rank}} [[{{{Name}}}]]'''<br>[[{{{Location}}}]]<br> | | style="padding-left: 10px; vertical-align:top" | {{#if:{{{Rank|}}}|'''{{{Rank}}} [[{{{Name}}}]]'''|'''[[{{{Name}}}]]'''}}<br>[[{{{Location}}}]]<br> | ||
'''{{{Relationship}}}'''<br> | '''{{{Relationship}}}'''<br> | ||
{{{Comments}}} | {{{Comments|}}} | ||
|} | |} | ||
</div> | </div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
=Template Usage Data= | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 42: | Line 43: | ||
"200" | "200" | ||
], | ], | ||
"default": "100" | "default": "100", | ||
"autovalue": "100" | |||
}, | }, | ||
"Name": { | "Name": { | ||
Line 53: | Line 55: | ||
}, | }, | ||
"Rank": { | "Rank": { | ||
"description": "Rank of person (if appropriate)" | "description": "Rank of person (if appropriate)", | ||
"suggested": true, | |||
"type": "content", | |||
"default": "" | |||
}, | }, | ||
"Relationship": { | "Relationship": { | ||
Line 76: | Line 81: | ||
} | } | ||
</templatedata> | </templatedata> | ||
=Template Usage Examples= | |||
HERE | |||
</noinclude> | </noinclude> |
Latest revision as of 15:55, 16 June 2023
Template Usage Data
A block for displaying important people to your character (family, friends, colleagues, lovers, etc)...
Parameter | Description | Type | Status | |
---|---|---|---|---|
Width | Width | How wide (in %) do you want the block to be? (20-100%)
| Number | suggested |
Image | Image | Image to display beside listing
| File | suggested |
Image-Size | Image-Size | Width (in pixels) of the image; (Number only)
| Number | optional |
Rank | Rank | Rank of person (if appropriate)
| Content | suggested |
Name | Name | Name of person | Unknown | required |
Location | Location | Where they know each other from | Unknown | required |
Relationship | Relationship | Current relationship / status | Unknown | required |
Comments | Comments | Additional information / description of relationship | Unknown | optional |
Template Usage Examples
HERE