Template:Infobox Graduate Council/doc: Difference between revisions
Written /doc in the style of the default Infobox /doc |
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. |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
<syntaxhighlight lang="wikitext"> | <syntaxhighlight lang="wikitext"> | ||
{{Infobox Graduate Council | {{Infobox Graduate Council | ||
| branch_name = | | branch_name = {{{branch_name}}} | ||
| image_file = | | image_file = {{{image_file}}} | ||
| logo_size = | | logo_size = {{{logo_size}}} | ||
| aka_list = | | aka_list = {{{aka_list}}} | ||
| established_year = | | established_year = {{{established_year}}} | ||
| current_session_hyperlink = | | current_session_hyperlink = {{{current_session_hyperlink}}} | ||
| branch_type = | branch_jurisdiction_type = | term_limits_number = | | branch_type = {{{branch_type}}} | ||
| branch_jurisdiction_type = {{{branch_jurisdiction_type}}} | |||
| term_limits_number = {{{term_limits_number}}} | |||
| president_name = | vice_president_name = | secretary_name = | treasurer_name = | | president_name = {{{president_name}}} | ||
| vice_president_name = {{{vice_president_name}}} | |||
| secretary_name = {{{secretary_name}}} | |||
| treasurer_name = {{{treasurer_name}}} | |||
| voting_members_list = | non_voting_members_list = | term_length_duration = | | voting_members_list = {{{voting_members_list}}} | ||
| non_voting_members_list = {{{non_voting_members_list}}} | |||
| term_length_duration = {{{term_length_duration}}} | |||
| website_hyperlink = | constitution_hyperlink = | bylaws_hyperlink = }} </syntaxhighlight> | | website_hyperlink = {{{website_hyperlink}}} | ||
| constitution_hyperlink = {{{constitution_hyperlink}}} | |||
| bylaws_hyperlink = {{{bylaws_hyperlink}}} | |||
}} </syntaxhighlight> | |||
{| class="wikitable" ! Parameter ! Description | {| class="wikitable" ! Parameter ! Description | ||
! Example | ! Example | ||
<code>branch_name</code> | ; <code>branch_name</code> | ||
Official name displayed at the top of the infobox. | ; Official name displayed at the top of the infobox. | ||
; <code>image_file</code> | |||
<code>image_file</code> | ; Logo or image representing the council. Use a file name or supported image syntax. | ||
Logo or image representing the council. Use a file name or supported image syntax. | |||
; <code>logo_size</code> | |||
; Controls the displayed image size. Defaults to 280px. | |||
<code>logo_size</code> | |||
Controls the displayed image size. Defaults to 280px. | ; <code>aka_list</code> | ||
; Alternative names, abbreviations, or other known names. | |||
<code>aka_list</code> | ; <code>established_year</code> | ||
Alternative names, abbreviations, or other known names. | ; Year the council was established. | ||
<code>established_year</code> | |||
Year the council was established. | |||
; <code>current_session_hyperlink</code> | |||
; Link or text identifying the current council session. | |||
; <code>branch_type</code> | |||
; Type or organizational classification of the council. | |||
; <code>branch_jurisdiction_type</code> | |||
; Organization, constituency, or jurisdiction the council represents. | |||
<code>branch_jurisdiction_type</code> | |||
Organization, constituency, or jurisdiction the council represents. | |||
; <code>term_limits_number</code> | |||
; Number of terms an individual may serve. | |||
; <code>president_name</code> | |||
; Name of the current president. | |||
; <code>vice_president_name</code> | |||
; Name of the current vice president. | |||
<code>vice_president_name</code> | |||
Name of the current vice president. | |||
; <code>secretary_name</code> | |||
; Name of the current secretary. | |||
; <code>treasurer_name</code> | |||
; Name of the current treasurer. | |||
; <code>voting_members_list</code> | |||
<code>voting_members_list</code> | ; List of voting members or voting membership positions. | ||
List of voting members or voting membership positions. | |||
; <code>non_voting_members_list</code> | |||
; List of non-voting members or ex-officio positions. | |||
; <code>term_length_duration</code> | |||
; Duration of an individual member's term. | |||
; <code>website_hyperlink</code> | |||
<code>website_hyperlink</code> | ; Official website of the council. | ||
Official website of the council. | |||
; <code>constitution_hyperlink</code> | |||
; Link to the Union's constitution passage for its power. | |||
< | ; <code>bylaws_hyperlink</code> | ||
; Link to the council's bylaws. | |||
</ | |||
== Notes == | == Notes == | ||
All parameters are optional in the current implementation. | All parameters are optional in the current implementation. | ||
== TemplateData == | == TemplateData == | ||
| Line 199: | Line 135: | ||
"current_session_hyperlink": { | "current_session_hyperlink": { | ||
"label": "Current session", | "label": "Current session", | ||
"description": "Link | "description": "Link to the current council session.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
| Line 259: | Line 195: | ||
"constitution_hyperlink": { | "constitution_hyperlink": { | ||
"label": "Constitution", | "label": "Constitution", | ||
"description": "Link to the | "description": "Link to the Union constitution derived powers.", | ||
"type": " | "type": "string" | ||
}, | }, | ||
"bylaws_hyperlink": { | "bylaws_hyperlink": { | ||