|
|
(5 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
− | Here we place announcements that can be broadcast on the wiki, and through JSON on, for instance, the badge and projector screens.
| + | Oops, instead of here, you can edit announcements directly in the public wiki: |
− | | + | [https://wiki.sha2017.org/w/Announcements] |
− | Format: <nowiki>{{Announcement|Text|enddate=ISOdate when the message is not shown anymore}}</nowiki>
| |
− | {{Announcement|Get ready to camp!
| |
− | |enddate=2017-08-01}}
| |
− | {{Announcement|Get ready to camp! Expire today the 27th!
| |
− | |enddate=2017-07-27}}
| |
− | {{Announcement|Get ready to camp! Expired in 2016!
| |
− | |enddate=2016-07-27}}
| |
− | {|
| |
− | |{{#ask: [[-Has subobject::Announcements]][[Enddate::>>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]]
| |
− | |?Announcement
| |
− | |?Enddate
| |
− | |format=json
| |
− | |searchlabel=current announcements in JSON
| |
− | |link=all
| |
− | |limit=300
| |
− | |headers=show
| |
− | |mainlabel=-
| |
− | }}
| |
− | |{{#ask: [[-Has subobject::Announcements]]
| |
− | |?Announcement
| |
− | |?Enddate
| |
− | |format=json
| |
− | |searchlabel=all announcements in JSON
| |
− | |link=all
| |
− | |limit=300
| |
− | |headers=show
| |
− | |mainlabel=-
| |
− | }}
| |
− | |-
| |
− | |{{#ask: [[-Has subobject::Announcements]][[Enddate::>>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]]
| |
− | |?Announcement
| |
− | |?Enddate
| |
− | |format=csv
| |
− | |searchlabel=current announcements in csv
| |
− | |link=all
| |
− | |limit=300
| |
− | |headers=show
| |
− | |mainlabel=-
| |
− | }}
| |
− | |{{#ask: [[-Has subobject::Announcements]]
| |
− | |?Announcement
| |
− | |?Enddate
| |
− | |format=csv
| |
− | |searchlabel=all announcements in csv
| |
− | |link=all
| |
− | |limit=300
| |
− | |headers=show
| |
− | |mainlabel=-
| |
− | }}
| |
− | |-
| |
− | |{{#ask: [[-Has subobject::Announcements]][[Enddate::>>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]]
| |
− | |?Announcement
| |
− | |?Enddate
| |
− | |format=rss
| |
− | |searchlabel=current announcements in rss
| |
− | |link=all
| |
− | |limit=300
| |
− | |headers=show
| |
− | |mainlabel=-
| |
− | }}
| |
− | |{{#ask: [[-Has subobject::Announcements]]
| |
− | |?Announcement
| |
− | |?Enddate
| |
− | |format=rss
| |
− | |searchlabel=all announcements in rss
| |
− | |link=all
| |
− | |limit=300
| |
− | |headers=show
| |
− | |mainlabel=-
| |
− | }}
| |
− | |}
| |
− | | |
− | {{#ask: [[-Has subobject::Announcements]][[Enddate::>>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]]
| |
− | |?Announcement
| |
− | |?Enddate=expires on
| |
− | |format=broadtable
| |
− | |link=all
| |
− | |limit=300
| |
− | |headers=show
| |
− | |mainlabel=-
| |
− | |class=sortable wikitable smwtable
| |
− | |intro=<h2>current announcements</h2>
| |
− | }}
| |
− | | |
− | {{#ask: [[-Has subobject::Announcements]][[Enddate::≤{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]]
| |
− | |intro=<h2>expired announcements</h2>
| |
− | |?Announcement
| |
− | |?Enddate=expired on
| |
− | |format=broadtable
| |
− | |link=all
| |
− | |limit=300
| |
− | |headers=show
| |
− | |mainlabel=-
| |
− | |class=sortable wikitable smwtable
| |
− | }}
| |