Template:Infobox event: Difference between revisions
(Experimenting with the cargo plugin as an alternative to SemanticMediaWiki.) |
(Debugging cargo.) |
||
| (14 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>{{#cargo_declare: _table = CommunityEvents |
<noinclude>{{#cargo_declare: _table = CommunityEvents |
||
| Organizers = |
| 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 = |
| 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) |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
{{Infobox |
</noinclude>{{Infobox |
||
|name = {{FULLPAGENAME}} |
|name = {{FULLPAGENAME}} |
||
|bodystyle = |
|bodystyle = |
||
| Line 92: | 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 104: | 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 = {{ |
| 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 122: | Line 116: | ||
| City = {{{city|}}} |
| City = {{{city|}}} |
||
| State = {{{state|}}} |
| State = {{{state|}}} |
||
| |
| 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> |
|||
| ⚫ | |||
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.
![]() 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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| image | image | no description | Unknown | optional |
| url | url | no description | Unknown | optional |
| caption | caption | no description | Unknown | optional |
| organizer | organizer | no description | Unknown | optional |
| status | status | no description | Unknown | optional |
| country | country | no description | Unknown | optional |
| city | city | no description | Unknown | optional |
| state | state | no description | Unknown | optional |
| attendees | attendees | no description | Unknown | optional |
| nextdate | nextdate | no description | Unknown | optional |
| nextends | nextends | no description | Unknown | optional |
| began | began | no description | Unknown | optional |
| lastheld | lastheld | no description | Unknown | optional |
| setting | setting | no description | Unknown | optional |
| eventtype | eventtype | no description | Unknown | optional |
