Template: Meeting
(New design) |
JamesGaunt (talk | contribs) (Changed committee to board) |
||
(39 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#cargo_declare: _table=meetings | |||
| type = String | |||
| date = Date | |||
| public_version = Boolean | |||
}} | |||
</noinclude><includeonly> | |||
{{#cargo_store: _table=meetings | |||
| type = {{{type|}}} | |||
| date = {{{date|}}} | |||
| public_version = {{{public_version|0}}} | |||
}}</includeonly> | |||
{{navigation header | |||
|prev = {{#cargo_query: | |||
| tables = meetings | |||
| fields = CONCAT('[[',_pageName,'|',DATE_FORMAT(date, '%e %M %Y'),']]')=prev_date | |||
| where = date IS NOT NULL AND date < '{{{date}}}' | |||
| order by = date DESC | |||
| limit = 1 | |||
| default = | |||
| more results text = | |||
}} | |||
|next = {{#cargo_query: | |||
| tables = meetings | |||
| fields = CONCAT('[[',_pageName,'|',DATE_FORMAT(date, '%e %M %Y'),']]')=prev_date | |||
| where = date IS NOT NULL AND date > '{{{date|}}}' | |||
| order by = date ASC | |||
| limit = 1 | |||
| default = | |||
| more results text = | |||
}} | |||
|title = '''{{ucfirst:{{{type}}}}} meeting''' | |||
<p>{{#time: j F Y | {{{date|}}} }}</p> | |||
}} | |||
''This meeting has two pages: one [[CommWiki:{{FULLPAGENAME}}|restricted-access page]] (only for members of the current [[Board]]) and one [[officialwiki:{{FULLPAGENAME}}|public-access page]] (which may have sensitive information redacted).'' | |||
<includeonly> | |||
{{#ifexpr: {{#time: U | {{{date|}}} }} > {{#time: U }} |[[Category:Future meetings]]|[[Category:Past meetings]]}} | |||
[[Category:{{#time: Y | {{{date|}}} }} meetings]] | |||
[[Category:All meetings]] | |||
< | </includeonly><noinclude>{{documentation}}</noinclude> | ||
{{ | |||
}}</ |
Latest revision as of 03:36, 20 June 2023
This template defines the table "meetings". View table.
This meeting has two pages: one restricted-access page (only for members of the current Board) and one public-access page (which may have sensitive information redacted).
[edit] Template documentation
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 --> }}