Jump to content

Template:Infobox group/doc: Difference between revisions

From VassarWiki
Example fix; template data add
fixed example code
 
(3 intermediate revisions by the same user not shown)
Line 43: Line 43:
"social_media",
"social_media",
"socialmedia"
"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 84: 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 95: 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 110: Line 118:
| caption = A beautiful specimen
| caption = A beautiful specimen
| access = All community members
| access = All community members
| time = 7:00 pm on Tuesdays
| time = 13:00 pm on Tuesdays
| location = Rocky 300
| location = Rocky 900
| email = groundhogs.vsa@vassar.edu
| email = groundhogs@vassar.edu
}}
}}
</pre>
</pre>
Line 120: Line 128:
| caption = A beautiful specimen
| caption = A beautiful specimen
| access = All community members
| access = All community members
| time = 7:00 pm on Tuesdays
| time = 13:00 pm on Tuesdays
| location = Rocky 300
| location = Rocky 900
| email = groundhogs.vsa@vassar.edu
| 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