Sjabloon:EventParticipant: verschil tussen versies

Uit Hackerspace Bitlair

Nieuwe pagina aangemaakt met '<includeonly>|- id="Participant{{{Participant|}}}" |{{{Naam|}}} || {{{Vlees|-}}} || {{{Vega|-}}} || {{{Opmerking|}}} {{#subobject:Participant{{{Participant|}}}|EventVlees={{{Vlees|0}}}|EventVega={{{Vega|0}}} }}</includeonly>'
ย 
kGeen bewerkingssamenvatting
Regel 1: Regel 1:
<noinclude>
Template voor het inschrijven van eten bij events. Gebruik zo in een tabel:
<code>
{{EventParticipant|Naam=[[User:Aranea|Aranea]]|Vlees=1|Opmerking=}}
</code>
De tabel zelf maak je zo:
<code>
{| 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
|}
</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:22

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

|- id="Participant" |Aranea || 1 || - ||

De tabel zelf maak je zo:

Naam/Nick Vlees Vega(n) Opmerkingen
Subtotaal 0,0e+0 0,0e+0
Totaal 0,0e+0 max: 50