Template: Meeting

No edit summary
(Fix date categories, and prev/next links.)
Line 14: Line 14:
|prev = {{#cargo_query:
|prev = {{#cargo_query:
   | tables            = meetings
   | tables            = meetings
   | fields            = CONCAT('[[Meeting:',type,' (',date,')|',DATE_FORMAT(date, '%e %M %Y'),']]')=prev_date
   | fields            = CONCAT('[[',_pageName,'|',DATE_FORMAT(date, '%e %M %Y'),']]')=prev_date
   | where            = date IS NOT NULL AND date < '{{{date}}}'
   | where            = date IS NOT NULL AND date < '{{{date}}}'
   | order by          = date DESC
   | order by          = date DESC
Line 23: Line 23:
|next = {{#cargo_query:
|next = {{#cargo_query:
   | tables            = meetings
   | tables            = meetings
   | fields            = CONCAT('[[Meeting:',type,' (',date,')|',DATE_FORMAT(date, '%e %M %Y'),']]')=prev_date
   | fields            = CONCAT('[[',_pageName,'|',DATE_FORMAT(date, '%e %M %Y'),']]')=prev_date
   | where            = date IS NOT NULL AND date > '{{{date|}}}'
   | where            = date IS NOT NULL AND date > '{{{date|}}}'
   | order by          = date ASC
   | order by          = date ASC
Line 35: Line 35:
''This meeting has two pages: one [[CommWiki:{{FULLPAGENAME}}|restricted-access page]] (only for members of the current [[Committee]]) and one [[officialwiki:{{FULLPAGENAME}}|public-access page]] (which may have sensitive information redacted).''
''This meeting has two pages: one [[CommWiki:{{FULLPAGENAME}}|restricted-access page]] (only for members of the current [[Committee]]) and one [[officialwiki:{{FULLPAGENAME}}|public-access page]] (which may have sensitive information redacted).''


<includeonly>{{#ifexpr: {{#time: U | {{#sub:{{#explode:{{PAGENAME}}| |1}}|1|10}} }} > {{#time: U }} |[[Category:Future meetings]]|[[Category:Past meetings]]}}
<includeonly>{{#ifexpr: {{#time: U | {{{date|}}} }} > {{#time: U }} |[[Category:Future meetings]]|[[Category:Past meetings]]}}
[[Category:{{#sub:{{#explode:{{PAGENAME}}| |1}}|1|4}} {{#explode:{{PAGENAME}}| |0}} meetings]]</includeonly><noinclude>
[[Category:{{#time: Y | {{{date|}}} }} meetings]]</includeonly><noinclude>


== Usage of this template ==
== Usage of this template ==

Revision as of 01:27, 1 August 2019

This template defines the table "meetings". View table.

{{{type}}} meeting

19 April 2024

This meeting has two pages: one restricted-access page (only for members of the current Committee) and one public-access page (which may have sensitive information redacted).


Usage of this template

{{meeting
| type           = <!-- one of: committee, public, agm, sgm -->
| date           = <!-- date of the meeting in yyyy-mm-dd format -->
| public_version = <!-- whether or not there is a page on the public wiki for this meeting; 'yes' or empty -->
}}


Discuss this page