uwh-table
Use the uwh-table to display a table, accordion, or select option with items from each campus record.
Attributes
campus_type
all-sorted, 4-year, 2-year, 4-year-colleges, all-sorted-plus-colleges, all (sorted alphabetically)
show_all_button
Optional, used with the accordion layout
Set to '' to
campus_exclude
Optional
A comma-delimited list of campus slugs to exclude from the display.
layout
Choose the layout for the information
table
accordion
select
cols
Used with the ‘table’ layout
A comma-delimited list of campus fields to display.
col_widths
Optional, Used with the ‘table’ layout
Optionally, include a comma-delimited list of the width of each column in percentage.
campus_link
Optional, Used with the ‘table’ layout
Optionally, include a field to be used as a link for the campus name in the table.
Content
The content is used with the accordions and select layouts.
To specify the content to be displayed in each campus' accordion, use the [uwh-table-row ] code with the cols parameter to specify a field to be displayed for each campus.
For example: [uwh-table-row cols="freshman_admission_guidelines"][/uwh-table-row]
Examples
[uwh-table campus_type="all-sorted" layout="table" cols="deposit_prepayment_required,deadline_deposit_refund" campus_link="housing_link"][/uwh-table]
Used on the Housing page, a table is displayed with two columns. Additionally, the campus name is a link to the housing site for each campus.
[uwh-table campus_type="all-sorted" layout="accordion" show_all_button="true"]
[uwh-table-row cols="freshman_admission_guidelines"][/uwh-table-row]
[uwh-table-row cols=" college_preparatory_credit_requirement"][/uwh-table-row]
[uwh-table-row cols="application_dates"][/uwh-table-row]
[uwh-table-row cols="postponed_admission_or_waiting_list"][/uwh-table-row]
[uwh-table-row cols="enrollment_deposit"][/uwh-table-row]
[/uwh-table]
This is used for the Counsolors' Admissions Process page: https://dev-uwhelp.pantheonsite.io/counselors/admission-process/