Jump to content

Template:Infobox Graduate Council/doc: Difference between revisions

From RPI Wiki
Goodws2 (talk | contribs)
Attempting to make docs for this template
 
Goodws2 (talk | contribs)
Attempting to fix formatting for the Graduate Council /doc. I think we need another extension enabled for Template data so that the Infoboxes don't just have a bunch of undefined parameters.
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Usage ==
{{Documentation subpage}}


This template is used for branches and constituent bodies of Rensselaer Polytechnic Institute Student Government.
This template displays an informational infobox for a Graduate Council or one of its organizational branches.


=== Example ===
It is based on the general-purpose {{Infobox}} metatemplate and organizes information about the council's identity, classification, leadership, membership, and external resources.


<pre>
== Usage ==
{{Student Government branch
| name = Student Senate
| logo = Student Senate logo.svg
| current_session = [[Student Senate (2026–2027)|2026–2027]]
| aka = Senate
| branch = Legislative
| jurisdiction = Union-wide
| established = 1969
| presiding = [[John Smith]]
| vice_presiding = [[Jane Smith]]
| secretary = [[Alex Jones]]
| treasurer = [[Taylor Brown]]
| voting_members = 25
| undergrad_members = 20
| grad_members = 5
| nonvoting_members = 3
| term_length = One year
| meeting_place = Rensselaer Union
| meeting_schedule = Thursdays at 7:00 PM
| website = https://example.com
| constitution = [[Rensselaer Union Constitution]], Article X
}}
</pre>


== Parameters ==
<syntaxhighlight lang="wikitext">
{{Infobox Graduate Council
| branch_name = {{{branch_name}}}
| image_file = {{{image_file}}}
| logo_size = {{{logo_size}}}
| aka_list = {{{aka_list}}}
| established_year = {{{established_year}}}
| current_session_hyperlink = {{{current_session_hyperlink}}}


; name
| branch_type = {{{branch_type}}}
: The full name of the student government body. This parameter is required.
| branch_jurisdiction_type = {{{branch_jurisdiction_type}}}
| term_limits_number = {{{term_limits_number}}}


; logo
| president_name = {{{president_name}}}
: The filename of the organization's logo.
| vice_president_name = {{{vice_president_name}}}
| secretary_name = {{{secretary_name}}}
| treasurer_name = {{{treasurer_name}}}


; logo_size
| voting_members_list = {{{voting_members_list}}}
: Optional size of the logo. Defaults to 280px.
| non_voting_members_list = {{{non_voting_members_list}}}
| term_length_duration = {{{term_length_duration}}}


; current_session
| website_hyperlink = {{{website_hyperlink}}}
: Link to the organization's current session.
| constitution_hyperlink = {{{constitution_hyperlink}}}
| bylaws_hyperlink = {{{bylaws_hyperlink}}}
}} </syntaxhighlight>


; aka
: Alternative or former names.


; status
{| class="wikitable" ! Parameter ! Description
: Current status of the organization. Use <code>active</code>, <code>inactive</code>, or <code>defunct</code>.


; branch
! Example
: Branch of student government, such as Legislative, Executive, or Judicial.
; <code>branch_name</code>
; Official name displayed at the top of the infobox.


; jurisdiction
; <code>image_file</code>
: The constituency or area represented, such as Undergraduate, Graduate, or Union-wide.
; Logo or image representing the council. Use a file name or supported image syntax.


; term_limits
; <code>logo_size</code>
: Limits on the number of terms an individual may serve.
; Controls the displayed image size. Defaults to 280px.


; established
; <code>aka_list</code>
: Year or date the organization was established.
; Alternative names, abbreviations, or other known names.


; disbanded
; <code>established_year</code>
: Year or date the organization was disbanded. Leave blank for current organizations.
; Year the council was established.


; preceded_by
; <code>current_session_hyperlink</code>
: Organization that preceded this organization.
; Link or text identifying the current council session.


; succeeded_by
; <code>branch_type</code>
: Organization that succeeded this organization.
; Type or organizational classification of the council.


; presiding
; <code>branch_jurisdiction_type</code>
: Current presiding officer, such as President, Grand Marshal, or Judicial Chair.
; Organization, constituency, or jurisdiction the council represents.


; vice_presiding
; <code>term_limits_number</code>
: Current vice or deputy presiding officer.
; Number of terms an individual may serve.


; secretary
; <code>president_name</code>
: Current secretary.
; Name of the current president.


; treasurer
; <code>vice_president_name</code>
: Current treasurer.
; Name of the current vice president.


; voting_members
; <code>secretary_name</code>
: Number or description of voting members.
; Name of the current secretary.


; undergrad_members
; <code>treasurer_name</code>
: Number or description of undergraduate voting members.
; Name of the current treasurer.


; grad_members
; <code>voting_members_list</code>
: Number or description of graduate voting members.
; List of voting members or voting membership positions.


; other_members
; <code>non_voting_members_list</code>
: Number or description of other voting members.
; List of non-voting members or ex-officio positions.


; nonvoting_members
; <code>term_length_duration</code>
: Number or description of non-voting members.
; Duration of an individual member's term.


; term_length
; <code>website_hyperlink</code>
: Length of the term served by members.
; Official website of the council.


; meeting_place
; <code>constitution_hyperlink</code>
: Location where the organization meets.
; Link to the Union's constitution passage for its power.


; meeting_schedule
; <code>bylaws_hyperlink</code>
: Regular meeting schedule.
; Link to the council's bylaws.


; website
== Notes ==
: Official website of the organization.


; constitution
All parameters are optional in the current implementation.
: Constitution, bylaws, or other governing document establishing the organization's authority.
 
== TemplateData ==


<templatedata>
<templatedata>
{
{
"params": {
"description": "An informational infobox for a Graduate Council or one of its organizational branches.",
"name": {
"params": {
"label": "Name",
"branch_name": {
"description": "Full name of the student government body.",
"label": "Branch name",
"required": true,
"description": "Official name displayed at the top of the infobox.",
"type": "string"
"type": "string",
},
"suggested": true
"logo": {
},
"label": "Logo",
"image_file": {
"description": "Filename of the organization's logo.",
"label": "Image file",
"type": "wiki-file-name"
"description": "Logo or image representing the council.",
},
"type": "wiki-file-name",
"logo_size": {
"suggested": true
"label": "Logo size",
},
"description": "Optional size of the logo.",
"logo_size": {
"default": "280px",
"label": "Logo size",
"type": "string"
"description": "Displayed image size. Defaults to 280px.",
},
"type": "string",
"current_session": {
"default": "280px"
"label": "Current session",
},
"description": "Link to the organization's current session.",
"aka_list": {
"type": "wiki-page-name"
"label": "Also known as",
},
"description": "Alternative names or abbreviations.",
"aka": {
"type": "content"
"label": "Also known as",
},
"description": "Alternative or former names.",
"established_year": {
"type": "string"
"label": "Established",
},
"description": "Year the council was established.",
"status": {
"type": "string"
"label": "Status",
},
"description": "Current status of the organization.",
"current_session_hyperlink": {
"type": "string",
"label": "Current session",
"suggestedvalues": [
"description": "Link to the current council session.",
"active",
"type": "wiki-page-name"
"inactive",
},
"defunct"
"branch_type": {
]
"label": "Branch",
},
"description": "Type or organizational classification of the council.",
"branch": {
"type": "string"
"label": "Branch",
},
"description": "Branch of student government.",
"branch_jurisdiction_type": {
"type": "string"
"label": "Jurisdiction",
},
"description": "Organization, constituency, or jurisdiction represented.",
"jurisdiction": {
"type": "string"
"label": "Jurisdiction",
},
"description": "Constituency or area represented.",
"term_limits_number": {
"type": "string"
"label": "Term limits",
},
"description": "Number of terms an individual may serve.",
"term_limits": {
"type": "string"
"label": "Term limits",
},
"description": "Limits on the number of terms an individual may serve.",
"president_name": {
"type": "string"
"label": "President",
},
"description": "Name of the current president.",
"established": {
"type": "string"
"label": "Established",
},
"description": "Year or date the organization was established.",
"vice_president_name": {
"type": "string"
"label": "Vice president",
},
"description": "Name of the current vice president.",
"disbanded": {
"type": "string"
"label": "Disbanded",
},
"description": "Year or date the organization was disbanded.",
"secretary_name": {
"type": "string"
"label": "Secretary",
},
"description": "Name of the current secretary.",
"preceded_by": {
"type": "string"
"label": "Preceded by",
},
"description": "Organization that preceded this organization.",
"treasurer_name": {
"type": "wiki-page-name"
"label": "Treasurer",
},
"description": "Name of the current treasurer.",
"succeeded_by": {
"type": "string"
"label": "Succeeded by",
},
"description": "Organization that succeeded this organization.",
"voting_members_list": {
"type": "wiki-page-name"
"label": "Voting members",
},
"description": "List of voting members or positions.",
"presiding": {
"type": "content"
"label": "Presiding officer",
},
"description": "Current presiding officer.",
"non_voting_members_list": {
"type": "wiki-page-name"
"label": "Non-voting members",
},
"description": "List of non-voting members or ex-officio positions.",
"vice_presiding": {
"type": "content"
"label": "Vice presiding officer",
},
"description": "Current vice or deputy presiding officer.",
"term_length_duration": {
"type": "wiki-page-name"
"label": "Length of term",
},
"description": "Duration of an individual member's term.",
"secretary": {
"type": "string"
"label": "Secretary",
},
"description": "Current secretary.",
"website_hyperlink": {
"type": "wiki-page-name"
"label": "Website",
},
"description": "Official council website.",
"treasurer": {
"type": "url"
"label": "Treasurer",
},
"description": "Current treasurer.",
"constitution_hyperlink": {
"type": "wiki-page-name"
"label": "Constitution",
},
"description": "Link to the Union constitution derived powers.",
"voting_members": {
"type": "string"
"label": "Voting members",
},
"description": "Number or description of voting members.",
"bylaws_hyperlink": {
"type": "string"
"label": "Bylaws",
},
"description": "Link to the council bylaws.",
"undergrad_members": {
"type": "wiki-page-name"
"label": "Undergraduate members",
}
"description": "Number or description of undergraduate voting members.",
},
"type": "string"
"paramOrder": [
},
"branch_name",
"grad_members": {
"image_file",
"label": "Graduate members",
"logo_size",
"description": "Number or description of graduate voting members.",
"aka_list",
"type": "string"
"established_year",
},
"current_session_hyperlink",
"other_members": {
"branch_type",
"label": "Other members",
"branch_jurisdiction_type",
"description": "Number or description of other voting members.",
"term_limits_number",
"type": "string"
"president_name",
},
"vice_president_name",
"nonvoting_members": {
"secretary_name",
"label": "Non-voting members",
"treasurer_name",
"description": "Number or description of non-voting members.",
"voting_members_list",
"type": "string"
"non_voting_members_list",
},
"term_length_duration",
"term_length": {
"website_hyperlink",
"label": "Length of term",
"constitution_hyperlink",
"description": "Length of the member's term.",
"bylaws_hyperlink"
"type": "string"
]
},
"meeting_place": {
"label": "Meeting place",
"description": "Location where the organization meets.",
"type": "string"
},
"meeting_schedule": {
"label": "Meeting schedule",
"description": "Regular meeting schedule.",
"type": "string"
},
"website": {
"label": "Website",
"description": "Official website of the organization.",
"type": "url"
},
"constitution": {
"label": "Constitutional basis",
"description": "Constitution, bylaws, or other governing document establishing the organization's authority.",
"type": "string"
}
},
"description": "Infobox for RPI Student Government branches and constituent bodies.",
"format": "block"
}
}
</templatedata>
</templatedata>
<includeonly>[[Category:Graduate Council templates]]</includeonly>

Latest revision as of 15:10, 10 November 2026

This template displays an informational infobox for a Graduate Council or one of its organizational branches.

It is based on the general-purpose metatemplate and organizes information about the council's identity, classification, leadership, membership, and external resources.

Usage

<syntaxhighlight lang="wikitext">

{{{branch_name}}}
[[File:{{{image_file}}}|{{{logo_size}}}]]
Also known as{{{aka_list}}}
Established{{{established_year}}}
Current Session{{{current_session_hyperlink}}}
Classification
Branch{{{branch_type}}}
Jurisdiction{{{branch_jurisdiction_type}}}
Term Limits{{{term_limits_number}}}
Leadership
President{{{president_name}}}
Vice President{{{vice_president_name}}}
Secretary{{{secretary_name}}}
Treasurer{{{treasurer_name}}}
Membership
Voting Members{{{voting_members_list}}}
Non-voting Members{{{non_voting_members_list}}}
Length of Term{{{term_length_duration}}}
External Information
Website{{{website_hyperlink}}}
Constitution{{{constitution_hyperlink}}}
Bylaws{{{bylaws_hyperlink}}}
</syntaxhighlight>


Example
branch_name
Official name displayed at the top of the infobox.
image_file
Logo or image representing the council. Use a file name or supported image syntax.
logo_size
Controls the displayed image size. Defaults to 280px.
aka_list
Alternative names, abbreviations, or other known names.
established_year
Year the council was established.
current_session_hyperlink
Link or text identifying the current council session.
branch_type
Type or organizational classification of the council.
branch_jurisdiction_type
Organization, constituency, or jurisdiction the council represents.
term_limits_number
Number of terms an individual may serve.
president_name
Name of the current president.
vice_president_name
Name of the current vice president.
secretary_name
Name of the current secretary.
treasurer_name
Name of the current treasurer.
voting_members_list
List of voting members or voting membership positions.
non_voting_members_list
List of non-voting members or ex-officio positions.
term_length_duration
Duration of an individual member's term.
website_hyperlink
Official website of the council.
constitution_hyperlink
Link to the Union's constitution passage for its power.
bylaws_hyperlink
Link to the council's bylaws.

Notes

All parameters are optional in the current implementation.

TemplateData

<templatedata> { "description": "An informational infobox for a Graduate Council or one of its organizational branches.", "params": { "branch_name": { "label": "Branch name", "description": "Official name displayed at the top of the infobox.", "type": "string", "suggested": true }, "image_file": { "label": "Image file", "description": "Logo or image representing the council.", "type": "wiki-file-name", "suggested": true }, "logo_size": { "label": "Logo size", "description": "Displayed image size. Defaults to 280px.", "type": "string", "default": "280px" }, "aka_list": { "label": "Also known as", "description": "Alternative names or abbreviations.", "type": "content" }, "established_year": { "label": "Established", "description": "Year the council was established.", "type": "string" }, "current_session_hyperlink": { "label": "Current session", "description": "Link to the current council session.", "type": "wiki-page-name" }, "branch_type": { "label": "Branch", "description": "Type or organizational classification of the council.", "type": "string" }, "branch_jurisdiction_type": { "label": "Jurisdiction", "description": "Organization, constituency, or jurisdiction represented.", "type": "string" }, "term_limits_number": { "label": "Term limits", "description": "Number of terms an individual may serve.", "type": "string" }, "president_name": { "label": "President", "description": "Name of the current president.", "type": "string" }, "vice_president_name": { "label": "Vice president", "description": "Name of the current vice president.", "type": "string" }, "secretary_name": { "label": "Secretary", "description": "Name of the current secretary.", "type": "string" }, "treasurer_name": { "label": "Treasurer", "description": "Name of the current treasurer.", "type": "string" }, "voting_members_list": { "label": "Voting members", "description": "List of voting members or positions.", "type": "content" }, "non_voting_members_list": { "label": "Non-voting members", "description": "List of non-voting members or ex-officio positions.", "type": "content" }, "term_length_duration": { "label": "Length of term", "description": "Duration of an individual member's term.", "type": "string" }, "website_hyperlink": { "label": "Website", "description": "Official council website.", "type": "url" }, "constitution_hyperlink": { "label": "Constitution", "description": "Link to the Union constitution derived powers.", "type": "string" }, "bylaws_hyperlink": { "label": "Bylaws", "description": "Link to the council bylaws.", "type": "wiki-page-name" } }, "paramOrder": [ "branch_name", "image_file", "logo_size", "aka_list", "established_year", "current_session_hyperlink", "branch_type", "branch_jurisdiction_type", "term_limits_number", "president_name", "vice_president_name", "secretary_name", "treasurer_name", "voting_members_list", "non_voting_members_list", "term_length_duration", "website_hyperlink", "constitution_hyperlink", "bylaws_hyperlink" ] } </templatedata>