Template:RelationshipBlock: Difference between revisions

From 118Wiki
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)...

Template parameters

ParameterDescriptionTypeStatus
WidthWidth

How wide (in %) do you want the block to be? (20-100%)

Suggested values
20 40 50 60 80 100
Default
100
Numbersuggested
ImageImage

Image to display beside listing

Default
NoImageUCG.jpg
Example
Portrait.png
Filesuggested
Image-SizeImage-Size

Width (in pixels) of the image; (Number only)

Suggested values
100 150 200
Default
100
Auto value
100
Numberoptional
RankRank

Rank of person (if appropriate)

Default
Contentsuggested
NameName

Name of person

Unknownrequired
LocationLocation

Where they know each other from

Unknownrequired
RelationshipRelationship

Current relationship / status

Unknownrequired
CommentsComments

Additional information / description of relationship

Unknownoptional

Template Usage Examples

HERE