Sjabloon:EventParticipant: verschil tussen versies
Uit Hackerspace Bitlair
kGeen bewerkingssamenvatting |
kGeen bewerkingssamenvatting |
||
| Regel 11: | Regel 11: | ||
<pre> | <pre> | ||
<nowiki> | <nowiki> | ||
{| border="1" class="sortable" | {| border="1" class="sortable" | ||
| Regel 22: | Regel 21: | ||
|} | |} | ||
</nowiki> | </nowiki> | ||
</pre> | </pre> | ||
</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{{{Participant|}}}|EventVlees={{{Vlees|0}}}|EventVega={{{Vega|0}}} }}</includeonly> | ||
Versie van 11 jan 2026 10:24
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 komt hier -->
|-
! Subtotaal || {{#ask:[[-Has subobject::{{FULLPAGENAME}}]]|?BBQVlees|limit=999|format=sum}} ||{{#ask:[[-Has subobject::{{FULLPAGENAME}}]]|?BBQVega|limit=999|format=sum}} ||
|-
! Totaal ||colspan="2"| {{#ask:[[-Has subobject::{{FULLPAGENAME}}]]|?BBQVlees|?BBQVega|limit=50|format=sum}} || max: 50
|}