Difference between revisions of "Template:Agenda item"
From Complex Time
WikiWorks3 (talk | contribs) (Replaced urlencode with FULLPAGENAMEE) |
WikiWorks3 (talk | contribs) |
||
(16 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | </noinclude><includeonly>{{#set: | + | </noinclude><includeonly><!-- |
+ | --><div class="pull-right" style="margin-right: 10px">{{EditWithForm|Agenda item}}</div><!-- | ||
+ | -->{{#set: | ||
|On date={{{Date|}}} | |On date={{{Date|}}} | ||
|Start time={{{Start time|}}} | |Start time={{{Start time|}}} | ||
Line 37: | Line 39: | ||
}} | }} | ||
<div class="button-link button-primary"> | <div class="button-link button-primary"> | ||
− | {{#formlink:form=Agenda item info|link text=Edit this information|target={{FULLPAGENAMEE}}| | + | {{#formlink:form=Agenda item info|link text=Edit this information|target={{FULLPAGENAMEE}}|returnto={{FULLPAGENAMEE}}}} |
</div> | </div> | ||
− | ; Presentation file | + | ; Presentation file(s) |
− | {{#ask: | + | {{#ifexpr:{{#ask: [[File:+]] [[Presentation file for::{{FULLPAGENAME}}]] |format=count }} < 2|<!-- |
+ | -->{{#ask: | ||
[[File:+]] | [[File:+]] | ||
[[Presentation file for::{{FULLPAGENAME}}]] | [[Presentation file for::{{FULLPAGENAME}}]] | ||
Line 47: | Line 50: | ||
|link=none | |link=none | ||
|intro=: | |intro=: | ||
− | + | }}<!-- | |
− | + | -->{{#if:<!-- | |
− | [[File:+]] | + | ---->{{#ask: [[File:+]] [[Presentation file for::{{FULLPAGENAME}}]] }}<!-- |
− | [[Presentation file for::{{FULLPAGENAME}}]] | + | -->|<!-- |
− | }} | + | ----> <!-- |
− | [[File:+]] | + | ---->{{#ask: [[File:+]] [[Presentation file for::{{FULLPAGENAME}}]] |
− | [[Presentation file for::{{FULLPAGENAME}}]] | + | |link=none |
− | |link=none | + | |template=Delete button |
− | |template=Delete button | + | }}<!-- |
− | }}}} | + | -->}}<!-- |
+ | -->|<!-- | ||
+ | --><ul>{{#arraymap:{{{Presenter|}}}|;|x|<!-- | ||
+ | ----><li>{{#ask: | ||
+ | [[File:+]] | ||
+ | [[Presentation file for::{{FULLPAGENAME}}]] | ||
+ | [[Presentation file for presenter::x]] | ||
+ | |?Presentation file for presenter=presenter | ||
+ | |named args=yes | ||
+ | |format=template | ||
+ | |template=Presentation_file_presenter_display | ||
+ | |link=none | ||
+ | }} {{#ask: [[File:+]] [[Presentation file for::{{FULLPAGENAME}}]] [[Presentation file for presenter::x]] | ||
+ | |link=none | ||
+ | |template=Delete button | ||
+ | }}</li><!-- | ||
+ | -->|}}</ul><!-- | ||
+ | -->}}<!-- | ||
+ | --><div class="button-link button-primary sysop-show">[{{fullurl:Special:UploadWizard|campaign={{urlencode:Presentation file}}&{{urlencode:fields[]}}={{urlencode:{{FULLPAGENAME}}}}}} Upload a presentation file]</div> | ||
; Related files{{#if:{{{Related files|}}}| | ; Related files{{#if:{{{Related files|}}}| | ||
{{{Related files|}}} | {{{Related files|}}} | ||
Line 72: | Line 93: | ||
}} | }} | ||
}} | }} | ||
− | |||
{{#ifeq:{{{Is presentation|}}}|Yes| | {{#ifeq:{{{Is presentation|}}}|Yes| |
Latest revision as of 16:21, December 6, 2019
This is the "Agenda item" template. It should be called in the following format:
{{Agenda item |Date= |Start time= |End time= |Presenter= |Presenter notes= |Related file= }}
Edit the page to see the template text.