Sjabloon:EventParticipant: verschil tussen versies

Uit Hackerspace Bitlair

kGeen bewerkingssamenvatting
kGeen bewerkingssamenvatting
Regel 24: Regel 24:
</noinclude>
</noinclude>
<includeonly>|- id="Participant{{{Participant|}}}"
<includeonly>|- id="Participant{{{Participant|}}}"
|{{{Naam|}}} || {{{Vlees|-}}} || {{{Vega|-}}} || {{{Opmerking|}}} {{#subobject:Participant{{{Participant|}}}|EventVlees={{{Vlees|0}}}|EventVega={{{Vega|0}}} }}</includeonly>
|{{{Naam|}}} || {{{Vlees|-}}} || {{{Vega|-}}} || {{{Opmerking|}}} {{#subobject:Participant{{{Naam|}}}|EventVlees={{{Vlees|0}}}|EventVega={{{Vega|0}}} }}</includeonly>

Versie van 11 jan 2026 10:28

Template voor het inschrijven van eten bij events. Gebruik zo in een tabel:

{{EventParticipant|Naam=[[User:Jij]]|Vlees=1|Opmerking=}}

De tabel zelf maak je zo:


{| border="1" class="sortable"
! Naam/Nick !! Vlees !! Vega(n) !! Opmerkingen
<!-- EventParticipants komen hier -->
|-
! Subtotaal || {{#ask:[[-Has subobject::{{FULLPAGENAME}}]]|?EventVlees|limit=999|format=sum}} ||{{#ask:[[-Has subobject::{{FULLPAGENAME}}]]|?EventVega|limit=999|format=sum}} ||
|-
! Totaal ||colspan="2"| {{#ask:[[-Has subobject::{{FULLPAGENAME}}]]|?EventVlees|?EventVega|limit=50|format=sum}} || max: 50
|}