Template:DisplayRelPeople: Difference between revisions

From Bodhicitta
(VSCode edit)
 
(VSCode edit)
 
Line 3: Line 3:
|@@@
|@@@
|{{#ifexist:@@@
|{{#ifexist:@@@
|<div class="ml-3 my-1">[[@@@]]</div>
|<span class="person-connections-item">[[@@@]]</span>
|<div class="ml-3 my-1">@@@</div>
|<span class="person-connections-item">@@@</span>
}}
}}
|
|
}}</includeonly>
}}</includeonly><noinclude>{{TemplateTag}}
 
Renders one related person as an inline item inside the "Names & Connections"
band on [[Template:PersonCall]] (Student of, Teacher of, Emanation of).
 
Items are inline spans rather than block rows: the band lays them out as a
wrapping multi-column run, which is what makes a figure like Jamgön Kongtrul —
8 teachers and 12 students — read as a researched list instead of a long
vertical stack. Separators come from CSS (`.person-connections-item + …::before`),
so no separator markup is emitted here.
 
The class name is also the hook `data-items` uses for capping, so it must stay in
sync with the `data-items` selector set in [[Template:PersonCall]].
</noinclude>

Latest revision as of 21:01, 13 August 2026


Renders one related person as an inline item inside the "Names & Connections" band on Template:PersonCall (Student of, Teacher of, Emanation of).

Items are inline spans rather than block rows: the band lays them out as a wrapping multi-column run, which is what makes a figure like Jamgön Kongtrul — 8 teachers and 12 students — read as a researched list instead of a long vertical stack. Separators come from CSS (`.person-connections-item + …::before`), so no separator markup is emitted here.

The class name is also the hook `data-items` uses for capping, so it must stay in sync with the `data-items` selector set in Template:PersonCall.