Template:Infobox group/doc: Difference between revisions
more specific template; added description |
fixed example code |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 11: | Line 11: | ||
"image": { | "image": { | ||
"label": "Image", | "label": "Image", | ||
"description": "File name of image uploaded to Wikimedia Commons", | "description": "File name of image uploaded to Wikimedia Commons (without File: prefix)", | ||
"type": "wiki-file-name" | "type": "wiki-file-name", | ||
"example": "Groundhog.jpg" | |||
}, | }, | ||
"caption": { | "caption": { | ||
"label": "Caption", | "label": "Caption", | ||
"description": "Caption to accompany the image", | "description": "Caption to accompany the image", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| Line 35: | Line 24: | ||
"description": "List of individuals in leadership (with roles)", | "description": "List of individuals in leadership (with roles)", | ||
"example": "John Doe (President) ", | "example": "John Doe (President) ", | ||
"type": "string" | "type": "string", | ||
"aliases": [ | |||
"leader", | |||
"leaders" | |||
] | |||
}, | }, | ||
"email": { | "email": { | ||
| Line 44: | Line 37: | ||
"socials": { | "socials": { | ||
"label": "Social media", | "label": "Social media", | ||
"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": { | |||
"label": "Access", | |||
"description": "How open the group is", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Audition-based", | |||
"All students", | |||
"All community members" | |||
] | |||
}, | |||
"time": { | |||
"aliases": [ | |||
"times", | |||
"meeting_time", | |||
"meetingtime", | |||
"meeting_times", | |||
"meetingtimes", | |||
"meeting time", | |||
"meeting times" | |||
], | |||
"label": "Meeting time", | |||
"description": "Date(s) and time(s) of regular meetings", | |||
"example": "7:00 pm on Tuesdays", | |||
"type": "string" | |||
}, | |||
"location": { | |||
"aliases": [ | |||
"locations", | |||
"meeting_location", | |||
"meetinglocation", | |||
"meeting_locations", | |||
"meetinglocations", | |||
"meeting location", | |||
"meeting locations" | |||
], | |||
"label": "Meeting location", | |||
"description": "Location(s) of regular meetings", | |||
"example": "[[Rocky]] 210", | |||
"type": "string" | |||
}, | |||
"website": { | |||
"label": "Website", | |||
"description": "The group's official website", | |||
"example": "[https://miscellanynews.org/]", | |||
"type": "url" | "type": "url" | ||
} | } | ||
| Line 51: | Line 98: | ||
"image", | "image", | ||
"caption", | "caption", | ||
" | "access", | ||
" | "time", | ||
"location", | |||
"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> | ||
== Example == | == Example == | ||
| Line 66: | Line 114: | ||
<pre> | <pre> | ||
{{Infobox group | {{Infobox group | ||
| name | | name = Vassar Groundhog Club | ||
| | | image = Groundhog.jpg | ||
| | | caption = A beautiful specimen | ||
| email | | access = All community members | ||
| time = 13:00 pm on Tuesdays | |||
| location = Rocky 900 | |||
| email = groundhogs@vassar.edu | |||
}} | }} | ||
</pre> | </pre> | ||
{{Infobox group | {{Infobox group | ||
| name | | name = Vassar Groundhog Club | ||
| | | image = Groundhog.jpg | ||
| | | caption = A beautiful specimen | ||
| email | | access = All community members | ||
| time = 13:00 pm on Tuesdays | |||
| location = Rocky 900 | |||
| email = groundhogs@vassar.edu | |||
}} | }} | ||