Jump to content

Template:Infobox group/doc: Difference between revisions

From VassarWiki
fixing template data
fixed example code
 
(4 intermediate revisions by the same user not shown)
Line 37: Line 37:
"socials": {
"socials": {
"label": "Social media",
"label": "Social media",
"type": "url"
"type": "url",
"aliases": [
"social",
"social media",
"social_media",
"socialmedia"
],
"description": "Link(s) to social media account(s). If numerous, make a section on the page with social media links, and then link to it here.",
"example": "[https://www.instagram.com/themiscnews/ Instagram], [https://x.com/themiscnews Twitter/X]"
},
},
"access": {
"access": {
Line 45: Line 53:
"suggestedvalues": [
"suggestedvalues": [
"Audition-based",
"Audition-based",
"Open to all students",
"All students",
"Open to all community members"
"All community members"
]
]
},
},
"time": {
"time": {
"aliases": [
"aliases": [
"times"
"times",
"meeting_time",
"meetingtime",
"meeting_times",
"meetingtimes",
"meeting time",
"meeting times"
],
],
"label": "Meeting time",
"label": "Meeting time",
Line 60: Line 74:
"location": {
"location": {
"aliases": [
"aliases": [
"locations"
"locations",
"meeting_location",
"meetinglocation",
"meeting_locations",
"meetinglocations",
"meeting location",
"meeting locations"
],
],
"label": "Meeting location",
"label": "Meeting location",
Line 66: Line 86:
"example": "[[Rocky]] 210",
"example": "[[Rocky]] 210",
"type": "string"
"type": "string"
},
"website": {
"label": "Website",
"description": "The group's official website",
"example": "[https://miscellanynews.org/]",
"type": "url"
}
}
},
},
Line 77: Line 103:
"leadership",
"leadership",
"email",
"email",
"socials"
"socials",
"website"
],
],
"description": "Basic infobox template for a page about a group or student org."
"description": "Basic infobox template for a page about a group or student org."
}
}
</templatedata>
</templatedata>
Consider using a [[:Category:Infoboxes|more specific infobox template]].


== Example ==
== Example ==
Line 88: Line 114:
<pre>
<pre>
{{Infobox group
{{Infobox group
| name     = Vassar Clowning Club
| name = Vassar Groundhog Club
| times    = 7:00 pm on Tuesdays
| image = Groundhog.jpg
| locations = Rocky 300
| caption = A beautiful specimen
| email   = clowns@vassar.edu
| access = All community members
| time = 13:00 pm on Tuesdays
| location = Rocky 900
| email = groundhogs@vassar.edu
}}
}}
</pre>
</pre>
{{Infobox group
{{Infobox group
| name     = Vassar Clowning Club
| name = Vassar Groundhog Club
| times    = 7:00 pm on Tuesdays
| image = Groundhog.jpg
| locations = Rocky 300
| caption = A beautiful specimen
| email   = clowns@vassar.edu
| access = All community members
| time = 13:00 pm on Tuesdays
| location = Rocky 900
| email = groundhogs@vassar.edu
}}
}}

Latest revision as of 19:43, 27 April 2026

Basic infobox template for a page about a group or student org.

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of the group

Default
{{PAGENAME}}
Example
Vastards
Stringoptional
Imageimage

File name of image uploaded to Wikimedia Commons (without File: prefix)

Example
Groundhog.jpg
Fileoptional
Captioncaption

Caption to accompany the image

Stringoptional
Accessaccess

How open the group is

Suggested values
Audition-based All students All community members
Stringoptional
Meeting timetime times meeting_time meetingtime meeting_times meetingtimes meeting time meeting times

Date(s) and time(s) of regular meetings

Example
7:00 pm on Tuesdays
Stringoptional
Meeting locationlocation locations meeting_location meetinglocation meeting_locations meetinglocations meeting location meeting locations

Location(s) of regular meetings

Example
[[Rocky]] 210
Stringoptional
Leadershipleadership leader leaders

List of individuals in leadership (with roles)

Example
John Doe (President)
Stringoptional
Email addressemail

no description

Example
vsa@vassar.edu
URLoptional
Social mediasocials social social media social_media socialmedia

Link(s) to social media account(s). If numerous, make a section on the page with social media links, and then link to it here.

Example
[https://www.instagram.com/themiscnews/ Instagram], [https://x.com/themiscnews Twitter/X]
URLoptional
Websitewebsite

The group's official website

Example
[https://miscellanynews.org/]
URLoptional

Example

{{Infobox group
| name = Vassar Groundhog Club
| image = Groundhog.jpg
| caption = A beautiful specimen
| access = All community members
| time = 13:00 pm on Tuesdays
| location = Rocky 900
| email = groundhogs@vassar.edu
}}
Vassar Groundhog Club
A beautiful specimen
Meetings
AccessAll community members
Time13:00 pm on Tuesdays
LocationRocky 900
Links
Emailgroundhogs@vassar.edu