Template:Character infobox/relationship: Difference between revisions

From Absit Omen Lexicon
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:
<noinclude>{{documentation}}{{#invoke:CargoDeclare|cargoDeclare|Character infobox|Relationships}}
_table=Relationships
</noinclude><includeonly>{{#invoke:Character infobox|relationship}}</includeonly>
|type=string (allowed values=Dating, Married, Engaged, Civil Union, Domestic Partnership, In a Relationship, Complicated)
|end_type=string (allowed values=Separation, Divorce, Death)
|person=page
|date_started=date
|date_ended=date
}}
{{documentation}}</noinclude><includeonly>*{{{relationshipType}}}: [[{{{relationshipWith}}}]] {{#if:{{{startDate|}}}{{{endDate|}}}|({{Character infobox/date|{{{startDate|}}}}} - {{Character infobox/date|{{{endDate|}}}}})|}} {{#switch:{{{endType|}}}|Divorce=(Divorced)|Separation=(Separated)|Death=(Widowed)|#default=}}{{#cargo_store:
_table=Relationships
|type={{{relationshipType|}}}
|end_type={{{endType|}}}
|person={{{relationshipWith|}}}
|date_started={{{startDate|}}}
|date_ended={{{endDate|}}}
}}</includeonly>

Latest revision as of 03:58, 3 June 2024

[create] Documentation icon Template documentation
Please add categories and interwikis to the /doc subpage. Subpages of this template.