Template:Character infobox/relationship: Difference between revisions

From Absit Omen Lexicon
mNo edit summary
mNo edit summary
 
(2 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}}}]] {{#switch:{{{endType|}}}|Divorce=(Divorced)|Separation=(Separated)|Death=(Widowed)|#default=}} {{#if:{{{startDate|}}}{{{endDate|}}}|({{Character infobox/date|{{{startDate|}}}}} - {{Character infobox/date|{{{endDate|}}}}})|}} {{#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.