Template:Infobox event: Difference between revisions

From AnOtherWiki, the free encyclopedia written by, for, and about the Otherkin community.
(Trying to fix the ical link still.)
(Experimenting with the cargo plugin as an alternative to SemanticMediaWiki.)
Line 1: Line 1:
<noinclude>{{#cargo_declare: _table = CommunityEvents
| Organizers = List (,) of Page
| Status = String (allowed values=Active,On Hiatus,Defunct,TBD)
| FirstDate = Date
| LastDate = Date
| NextDateStart = Date
| NextDateEnd = Date
| Eventnotscheduled = Boolean
| Setting = String
| Attendees = Integer
| Website = URL
| Country = String
| City = String
| State = String
| Category = Page (allowed values=Gather,Minigather,Meetup)
}} </noinclude>

{{Infobox
{{Infobox
|name = {{FULLPAGENAME}}
|name = {{FULLPAGENAME}}
Line 87: Line 104:
|
|
}}
}}
{{#cargo_store:_table=CommunityEvents}}
{|
| Organizers = {{#arraymap:{{{organizer|}}}|,|xx|{{#formredlink:form=Person|target=xx}}
| Status = {{{status|TBD}}}
| FirstDate = {{{began|}}}
| LastDate = {{{lastheld|}}}
| NextDateStart = {{#ifeq:{{{nextheld|}}}|TBD||{{{nextheld|}}}}}
| NextDateEnd = {{{nextends|}}}
| Eventnotscheduled = {{#if:{{{nextdate|}}}|{{#switch: {{{nextdate|}}}| TBD = 1| 0
}}
|1
}}
| Setting = {{{setting|}}}
| Attendees = {{{attendees|}}}
| Website = {{{url|}}}
| Country = {{{country|}}}
| City = {{{city|}}}
| State = {{{state|}}}
| Category = {{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:{{{eventtype|}}}s]]}},{{#switch: {{{status|}}}
|Active = [[Category:Active {{{eventtype}}}s]]
|Defunct = [[Category:Defunct {{{eventtype}}}s]]
|TBD = [[Category:{{{eventtype}}}s of Indeterminate Status]]
|
}}
|}
</includeonly>
</includeonly>
<noinclude>[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Revision as of 20:11, 16 April 2026

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

Infobox event
{{#set:hasimage=True}}
Caption goes here
Organizer(s) Organizer(s)
Status Status::Active
Next held on {{#set:Eventnotscheduled=TRUE}}
First held on February 2, 2008
Last held on February 28, 2008
Setting Camping
Website
Subscribe

{{#ask:

 [[Eventstartdate::>2026-06-01]]
 [[Eventstartdate::<2026-12-31]]
 Template:Infobox event
 Status::Active
 |? Eventstartdate#ISO = date
 |format=rss
 |sort=Eventstartdate
 |order=ASC
 |searchlabel= RSS
 |rsstitle=Upcoming Template:Infobox event
 |rssdescription=Upcoming Template:Infobox event
}} · Expression error: Unrecognized punctuation character "{".