Template:Infobox event: Difference between revisions

From AnOtherWiki, the free encyclopedia written by, for, and about the Otherkin community.
(Debugging cargo.)
(Debugging cargo.)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare: _table = CommunityEvents
<noinclude>{{#cargo_declare: _table = CommunityEvents
| Organizers = List (,) of Page
| Organizers = Wikitext
| Status = String (allowed values=Active,On Hiatus,Defunct,TBD)
| Status = String (allowed values=Active,On Hiatus,Defunct,TBD)
| FirstDate = Date
| FirstDate = Date
Line 7: Line 7:
| NextDateEnd = Date
| NextDateEnd = Date
| Eventnotscheduled = Boolean
| Eventnotscheduled = Boolean
| Setting = String
| Setting = Wikitext
| Attendees = Integer
| Attendees = Integer
| Website = URL
| Website = URL
Line 13: Line 13:
| City = String
| City = String
| State = String
| State = String
| EventType = String (allowed values=Gather,Minigather,Meetup)
| Category = List (,) of Page
}}
}}
[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>
</noinclude>{{Infobox

{{Infobox
|name = {{FULLPAGENAME}}
|name = {{FULLPAGENAME}}
|bodystyle =
|bodystyle =
Line 94: Line 92:
| <span class="error">No iCal available.</span>
| <span class="error">No iCal available.</span>
}}
}}


|belowstyle = background:#ddf;
|belowstyle = background:#ddf;
|below =
|below =
Line 106: Line 102:
|
|
}}
}}
{{#cargo_store:_table=CommunityEvents}}
{{#cargo_store:_table=CommunityEvents
| Organizers = {{{organizer|}}}
{|
| Organizers = {{#arraymap:{{{organizer|}}}|,|xx|{{#formredlink:form=Person|target=xx}}}}
| Status = {{{status|TBD}}}
| Status = {{{status|TBD}}}
| FirstDate = {{{began|}}}
| FirstDate = {{{began|}}}
| LastDate = {{{lastheld|}}}
| LastDate = {{{lastheld|}}}
| NextDateStart = {{#ifeq:{{{nextheld|}}}|TBD||{{{nextheld|}}}}}
| NextDateStart = {{{nextdate|}}}
| NextDateEnd = {{{nextends|}}}
| NextDateEnd = {{{nextends|}}}
| Eventnotscheduled = {{#if:{{{nextdate|}}}|{{#switch: {{{nextdate|}}}| TBD = 1| 0
| Eventnotscheduled = {{#if:{{{nextdate|}}}|{{#switch: {{{nextdate|}}}| TBD = 1| 0}}|1}}
}}
|1
}}
| Setting = {{{setting|}}}
| Setting = {{{setting|}}}
| Attendees = {{{attendees|}}}
| Attendees = {{{attendees|}}}
Line 124: Line 116:
| City = {{{city|}}}
| City = {{{city|}}}
| State = {{{state|}}}
| State = {{{state|}}}
| Category = {{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:{{{eventtype|}}}s]]}},{{#switch:{{{status|}}}
| EventType = {{{eventtype|}}}s
}}
|Active=[[Category:Active {{{eventtype}}}s]]
|Defunct=[[Category:Defunct {{{eventtype}}}s]]
|TBD=[[Category:{{{eventtype}}}s of Indeterminate Status]]
|
}}}}
|}
</includeonly>
</includeonly>
<noinclude>
<templatedata>
{
"params": {
"image": {},
"url": {},
"caption": {},
"organizer": {},
"status": {},
"country": {},
"city": {},
"state": {},
"attendees": {},
"nextdate": {},
"nextends": {},
"began": {},
"lastheld": {},
"setting": {},
"eventtype": {}
}
}
</templatedata>
</noinclude>

Latest revision as of 21:10, 16 April 2026

This template defines the table "CommunityEvents". View table. A replacement table has been generated for this table; View replacement table.

Infobox event

Caption goes here
Organizer(s) Organizer(s)
Status Active
First held on February 2, 2008
Last held on February 28, 2008
Setting Camping
Website
Subscribe RSS · No iCal available.


No description.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
imageimage

no description

Unknownoptional
urlurl

no description

Unknownoptional
captioncaption

no description

Unknownoptional
organizerorganizer

no description

Unknownoptional
statusstatus

no description

Unknownoptional
countrycountry

no description

Unknownoptional
citycity

no description

Unknownoptional
statestate

no description

Unknownoptional
attendeesattendees

no description

Unknownoptional
nextdatenextdate

no description

Unknownoptional
nextendsnextends

no description

Unknownoptional
beganbegan

no description

Unknownoptional
lastheldlastheld

no description

Unknownoptional
settingsetting

no description

Unknownoptional
eventtypeeventtype

no description

Unknownoptional