Difference between revisions of "Template:Meeting"

From Hive13 Wiki
Jump to navigation Jump to search
 
(47 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| style="width:100%; border=0; "
+
{{#set:MeetingDate={{#if: {{{MeetingDate|}}} | {{{MeetingDate}}} | {{#time:Y/m/d|{{#titleparts: {{FULLPAGENAME}} | | -1 }} }} }} }}
| align="left"| [[{{{Previous Meeting}}}|<< Previous Meeting: {{Previous Meeting}}]]  
+
{| style="width:100%; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: gray; padding: 0;" border="1"
| align="center"| [[:Category:Meetings|Meetings]]  
+
!style="background:#66cc66;" align="center" colspan="3"| [[:Category:Meetings|Meetings]]
| align="right"| Next Meeting: [[{{{Next Meeting}}}]] >>
+
|-
 +
|style="width: 33%;" align="left"| Previous Meeting: {{#if: {{{Previous Meeting|}}} | [[{{{ Previous Meeting }}}]] |
 +
  {{#ask: [[Category:Meetings]] [[MeetingDate::<{{#if: {{{MeetingDate|}}} | {{{MeetingDate}}} | {{#time:Y/m/d|{{#titleparts: {{FULLPAGENAME}} | | -1 }}}}}}]]
 +
  |sort=MeetingDate
 +
  |order=ascending
 +
  |searchlabel=
 +
  |format=list
 +
  |limit=1
 +
  |offset={{#expr: {{#ask: [[Category:Meetings]] [[MeetingDate::<{{#if: {{{MeetingDate|}}} | {{{MeetingDate}}} | {{#time:Y/m/d|{{#titleparts: {{FULLPAGENAME}} | | -1 }}}}}}]] |format=count}} -2 }}
 +
  }}
 +
}}
 +
|style="width: 33%;" align="center"| [[Meeting Procedure]]
 +
|style="width: 33%;" align="right"| Next Meeting: {{#if: {{{Next Meeting|}}} | [[{{{ Next Meeting }}}]] |
 +
  {{#ask: [[Category:Meetings]] [[MeetingDate::>{{#if: {{{MeetingDate|}}} | {{{MeetingDate}}} | {{#time:Y/m/d|{{#titleparts: {{FULLPAGENAME}} | | -1 }}}}}}]]
 +
  |sort=MeetingDate
 +
  |order=ascending
 +
  |searchlabel=
 +
  |format=list
 +
  |limit=1
 +
  |offset=1
 +
  |default='''Latest Meeting'''<br/><small>Candidate: [[{{#time: F j, Y | {{#if: {{{MeetingDate|}}} | {{{MeetingDate}}} | {{#time:Y/m/d|{{#titleparts: {{FULLPAGENAME}} | | -1 }}}}}} + 1 week }}]]</small>
 +
  }}
 +
}}
 
|}
 
|}
 
[[Category:Meetings|Meetings]]
 
[[Category:Meetings|Meetings]]

Latest revision as of 15:20, 4 September 2018

Property "MeetingDate" (as page type) with input value "Error: Invalid time." contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.

Meetings
Previous Meeting: July 27, 2021 Meeting Procedure Next Meeting: Latest Meeting
Candidate: [[Error: Invalid time.]]