Difference between revisions of "Template:Attendee note"
From Complex Time
(new dashboard) |
|||
Line 1: | Line 1: | ||
<includeonly>{{#set:Attendee=User:{{SUBPAGENAME}}}} | <includeonly>{{#set:Attendee=User:{{SUBPAGENAME}}}} | ||
− | == Notes by user {{Show user|User:{{SUBPAGENAME}}}} == | + | == Notes by user {{Show user|User:{{{User|{{SUBPAGENAME}}}}}}} for [[{{{Meeting|{{BASEPAGENAME}}}}}]] == |
+ | {{#if:{{#ask: | ||
+ | [[Category:Agenda meetings]] | ||
+ | [[{{{Meeting|{{BASEPAGENAME}}}}}]] | ||
+ | [[Organizer::User:{{{User|{{SUBPAGENAME}}}}}]] OR | ||
+ | [[Category:Agenda meetings]] | ||
+ | [[{{{Meeting|{{BASEPAGENAME}}}}}]] | ||
+ | [[Student::User:{{{User|{{SUBPAGENAME}}}}}]] OR | ||
+ | [[Category:Agenda meetings]] | ||
+ | [[{{{Meeting|{{BASEPAGENAME}}}}}]] | ||
+ | [[Attendee::User:{{{User|{{SUBPAGENAME}}}}}]] | ||
+ | |?Category | ||
+ | |?Organizer | ||
+ | |?Student | ||
+ | |?Attendee | ||
+ | }}||<div class="error">This user is not listed as a part of this meeting!</div>}} | ||
=== Post-meeting Reflection === | === Post-meeting Reflection === | ||
{{#set:Post-meeting notes={{{Post-meeting summary|}}}}} | {{#set:Post-meeting notes={{{Post-meeting summary|}}}}} | ||
<div style="overflow:auto;"> | <div style="overflow:auto;"> | ||
− | {{{Post-meeting summary|}}} | + | {{{Post-meeting summary|{{#show:{{{Meeting|{{BASEPAGENAME}}}}}/{{{User|{{SUBPAGENAME}}}}}|?Post-meeting notes}}}}} |
</div> | </div> | ||
− | <div class="button-link button-primary{{#ifeq:{{SUBPAGENAME}}|{{CURRENTLOGGEDUSER}}|| sysop-show}}" style="margin-top: 10px;">{{#formlink:form=Reflection|link text={{#if:{{{Post-meeting summary|}}}|Edit|Add}} my meeting reflection|target={{ | + | <div class="button-link button-primary{{#ifeq:{{{User|{{SUBPAGENAME}}}}}|{{CURRENTLOGGEDUSER}}|| sysop-show}}" style="margin-top: 10px;">{{#formlink:form=Reflection|link text={{#if:{{{Post-meeting summary|{{#show:{{{Meeting|{{BASEPAGENAME}}}}}/{{{User|{{SUBPAGENAME}}}}}|?Post-meeting notes}}}}}|Edit|Add}} my meeting reflection|target={{{Meeting|{{BASEPAGENAME}}}}}/{{{User|{{SUBPAGENAME}}}}}|query string=returnto={{FULLPAGENAMEE}}}}</div> |
=== Reference material notes === | === Reference material notes === | ||
− | {{#set:Reference material notes={{{Reference material notes|}}}}}{{{Reference material notes|}}} | + | {{#set:Reference material notes={{{Reference material notes|}}}}}{{{Reference material notes|{{#show:{{{Meeting|{{BASEPAGENAME}}}}}/{{{User|{{SUBPAGENAME}}}}}|?Reference material notes}}}}} |
− | <div class="button-link button-primary{{#ifeq:{{SUBPAGENAME}}|{{CURRENTLOGGEDUSER}}|| sysop-show}}" style="margin-top: 10px;">{{#formlink:form=Reference material notes|link text={{#if:{{{Reference material notes|}}}|Edit|Add}} my Reference material notes|target={{ | + | <div class="button-link button-primary{{#ifeq:{{{User|{{SUBPAGENAME}}}}}|{{CURRENTLOGGEDUSER}}|| sysop-show}}" style="margin-top: 10px;">{{#formlink:form=Reference material notes|link text={{#if:{{{Reference material notes|{{#show:{{{Meeting|{{BASEPAGENAME}}}}}/{{{User|{{SUBPAGENAME}}}}}|?Reference material notes}}}}}|Edit|Add}} my Reference material notes|target={{{Meeting|{{BASEPAGENAME}}}}}/{{{User|{{SUBPAGENAME}}}}}|query string=returnto={{FULLPAGENAMEE}}}}</div> |
=== Reference Materials === | === Reference Materials === | ||
− | {{Meeting Reference Material|{{BASEPAGENAME}}|{{SUBPAGENAME}}|edit}} | + | {{Meeting Reference Material|{{{Meeting|{{BASEPAGENAME}}}}}|{{{User|{{SUBPAGENAME}}}}}|edit}} |
− | <div class="button-link button-primary{{#ifeq:{{SUBPAGENAME}}|{{CURRENTLOGGEDUSER}}|| sysop-show}}" style="margin-top: 10px;">{{#formlink:form=Reference Material Meeting|link text=Add a Reference|query string=Reference Material[Meeting]={{urlencode:{{BASEPAGENAME}}}}&Reference Material[Added by]={{urlencode:{{SUBPAGENAME}}}}| | + | <div class="button-link button-primary{{#ifeq:{{SUBPAGENAME}}|{{CURRENTLOGGEDUSER}}|| sysop-show}}" style="margin-top: 10px;">{{#formlink:form=Reference Material Meeting|link text=Add a Reference|query string=Reference Material[Meeting]={{urlencode:{{{Meeting|{{BASEPAGENAME}}}}}}}&Reference Material[Added by]={{urlencode:{{{User|{{SUBPAGENAME}}}}}}}|query string=returnto={{FULLPAGENAMEE}}}}</div> |
+ | {{#if:{{#ask: | ||
+ | [[Category:Agenda items]] | ||
+ | [[Agenda item for::{{{Meeting|{{BASEPAGENAME}}}}}]] | ||
+ | [[Is presentation::true]] | ||
+ | [[Presenter::User:{{{User|{{SUBPAGENAME}}}}}]] | ||
+ | }}| | ||
+ | == Presenter on the following Agenda items == | ||
+ | }} | ||
+ | {{#arraymap:{{#ask: | ||
+ | [[Category:Agenda items]] | ||
+ | [[Agenda item for::{{{Meeting|{{BASEPAGENAME}}}}}]] | ||
+ | [[Is presentation::true]] | ||
+ | [[Presenter::User:{{{User|{{SUBPAGENAME}}}}}]] | ||
+ | |link=none | ||
+ | |sep=; | ||
+ | }}|;|xyz| | ||
+ | ==={{Get subpage title linked|xyz}}=== | ||
+ | ; Presentation file | ||
+ | {{#ask: | ||
+ | [[File:+]] | ||
+ | [[Presentation file for::xyz]] | ||
+ | |format=template | ||
+ | |template=Presentation file display | ||
+ | |link=none | ||
+ | |intro=: | ||
+ | |default=<span class="button-link button-primary">[{{fullurl:Special:UploadWizard|campaign={{urlencode:Presentation file}}&{{urlencode:fields[]}}={{urlencode:xyz}}}} Upload a presentation file]</span> | ||
+ | }}{{#if:{{#ask: | ||
+ | [[File:+]] | ||
+ | [[Presentation file for::xyz]] | ||
+ | }}| {{#ask: | ||
+ | [[File:+]] | ||
+ | [[Presentation file for::xyz]] | ||
+ | |link=none | ||
+ | |template=Delete button | ||
+ | }}}} | ||
+ | ; Related files{{#if:{{{Related files|}}}| | ||
+ | {{{Related files|}}} | ||
+ | }}{{#if:{{#ask: | ||
+ | [[File:+]] | ||
+ | [[Related page::xyz]] | ||
+ | }}| | ||
+ | {{#ask: | ||
+ | [[File:+]] | ||
+ | [[Related page::xyz]] | ||
+ | |?Caption | ||
+ | |format=template | ||
+ | |template=List item link | ||
+ | |link=none | ||
+ | }} | ||
+ | }} | ||
+ | <span class="button-link button-primary">[{{fullurl:Special:UploadWizard|campaign=Add_image_to_page&fields{{urlencode:[]}}={{urlencode:xyz}}}} Upload a related file]</span> | ||
+ | |||
+ | |\n}} | ||
[[Category:Attendee notes]]<span style="display:none">{{#default_form:Attendee note}}</span>__NOTOC____NOEDITSECTION__</includeonly> | [[Category:Attendee notes]]<span style="display:none">{{#default_form:Attendee note}}</span>__NOTOC____NOEDITSECTION__</includeonly> |