|
1 | | -<!-- $Id: modules/relations.txt v7.1 16/08/2023 14:41:19 $ --> |
| 1 | +<!-- $Id: modules/relations.txt v7.1 17/11/2023 10:30:00 $ --> |
2 | 2 | %( op_m=1 Relations %) |
3 | 3 | %( op_m=2 Relations complete (events) %) |
4 | 4 | %let;op_m;%if;(op_m!="")%op_m;%else;1%end;%in; |
|
91 | 91 | <li>%apply;capitalize(relation_type)[:]%nl; |
92 | 92 | <ul> |
93 | 93 | %apply;li_SDC("relation_him") |
94 | | - %apply;very_short_display_person_no_sex("relation_him") |
| 94 | + %apply;short_display_person("relation_him") |
95 | 95 | </li> |
96 | 96 | %apply;li_SDC("relation_her") |
97 | | - %apply;very_short_display_person_no_sex("relation_her") |
| 97 | + %apply;short_display_person("relation_her") |
98 | 98 | </li> |
99 | 99 | </ul> |
100 | 100 | </li> |
101 | 101 | %elseif;has_relation_him; |
102 | 102 | %apply;li_SDC("relation_him")%apply;capitalize(relation_type)[:]%sp; |
103 | | - %apply;very_short_display_person_no_sex("relation_him") |
| 103 | + %apply;short_display_person("relation_him") |
104 | 104 | </li> |
105 | 105 | %elseif;has_relation_her; |
106 | 106 | %apply;li_SDC("relation_her")%apply;capitalize(relation_type)[:]%sp; |
107 | | - %apply;very_short_display_person_no_sex("relation_her") |
| 107 | + %apply;short_display_person("relation_her") |
108 | 108 | </li> |
109 | 109 | %end; |
110 | 110 | %end; |
111 | 111 | %foreach;related; |
112 | 112 | %apply;li_SDC("related")%apply;capitalize(related_type)[:]%sp; |
113 | | - %apply;very_short_display_person_no_sex("related") |
| 113 | + %apply;short_display_person("related") |
114 | 114 | </li> |
115 | 115 | %end; |
116 | 116 | </ul> |
|
152 | 152 | %( godparents are displayed in timeline if has_event %) |
153 | 153 | %if;(has_relation_him and has_relation_her) |
154 | 154 | <li>%apply;capitalize(relation_type)[:]%nl; |
155 | | - %apply;very_short_display_person_no_sex("relation_him") |
| 155 | + %apply;short_display_person("relation_him") |
156 | 156 | ,%sp; |
157 | | - %apply;very_short_display_person_no_sex("relation_her"). |
| 157 | + %apply;short_display_person("relation_her"). |
158 | 158 | </li> |
159 | 159 | %elseif;(has_relation_him and not has_relation_her) |
160 | 160 | %apply;li_SDC("relation_him")%apply;capitalize(relation_type) :%sp; |
161 | | - %apply;very_short_display_person_no_sex("relation_him"). |
| 161 | + %apply;short_display_person("relation_him"). |
162 | 162 | </li> |
163 | 163 | %elseif;(has_relation_her and not has_relation_him) |
164 | 164 | %apply;li_SDC("relation_her")%apply;capitalize(relation_type) :%sp; |
165 | | - %apply;very_short_display_person_no_sex("relation_her"). |
| 165 | + %apply;short_display_person("relation_her"). |
166 | 166 | </li> |
167 | 167 | %end; |
168 | 168 | %end; |
|
173 | 173 | related_type!=[godson/goddaughter/godchild]1 and |
174 | 174 | related_type!=[godson/goddaughter/godchild]2) |
175 | 175 | %apply;li_SDC("related")%apply;capitalize(related_type)[:]%sp; |
176 | | - %apply;very_short_display_person_no_sex("related"). |
| 176 | + %apply;short_display_person("related"). |
177 | 177 | </li> |
178 | 178 | %end; |
179 | 179 | %end; |
|
195 | 195 | %if;(related_type=[godson/goddaughter/godchild]0 or |
196 | 196 | related_type=[godson/goddaughter/godchild]1 or |
197 | 197 | related_type=[godson/goddaughter/godchild]2) |
198 | | - %apply;very_short_display_person_no_sex("related") |
| 198 | + %apply;short_display_person("related") |
199 | 199 | %incr_count; |
200 | 200 | %if;(count=g_cnt). |
201 | 201 | %else; |
|
214 | 214 | %end; |
215 | 215 | %end; |
216 | 216 | %if;(count>0) |
217 | | - <h3>[*witnesses to events of] %first_name;</h3> |
| 217 | + <h3>[*witnesses to events of] %self;</h3> |
218 | 218 | %end; |
219 | 219 | <ul> |
220 | 220 | %foreach;event;%sp; |
|
227 | 227 | %apply;capitalize(event.name) %if;(event.date.year!="")(%event.date.year;)%end;[:] |
228 | 228 | %foreach;event_witness; |
229 | 229 | %if;not is_first;, %end;%nn; |
230 | | - %apply;very_short_display_person_no_sex("event_witness")%nn; |
| 230 | + %apply;short_display_person("event_witness")%nn; |
231 | 231 | %if;(event_witness_kind=[officer/officer/officers]0)%nn; |
232 | 232 | %sp;(%if;(event_witness.sex=1)[officer/officer/officers]1%else;[officer/officer/officers]0%end;)%end;%nn; |
233 | 233 | %end;. |
|
252 | 252 | %apply;capitalize(event_witness_relation.event.name)%sp; |
253 | 253 | %if;(event_witness_relation.event.date.year!="")(%event_witness_relation.event.date.year;)%end;[:] |
254 | 254 | %if;(event_witness_relation_kind!=[witness/witnesses]0)(%event_witness_relation_kind;)%end;%sp; |
255 | | - %apply;very_short_display_person_no_sex("event_witness_relation.person") |
| 255 | + %apply;short_display_person("event_witness_relation.person") |
256 | 256 | %if;(event_witness_relation.event.spouse!="") |
257 | 257 | %sp;[and] |
258 | | - %apply;very_short_display_person_no_sex("event_witness_relation.event.spouse") |
| 258 | + %apply;short_display_person("event_witness_relation.event.spouse") |
259 | 259 | %end;. |
260 | 260 | </li> |
261 | 261 | %end; |
|
0 commit comments