Jump to content

Template:Printer: Difference between revisions

From Swarthmore Knowledge Base
No edit summary
No edit summary
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly>{| class="wikitable"
{{#template_params:Department (property=Department)|Location (property=Location)|Queue Name (property=Queue Name)|Printer Model (property=Printer Model)|Access (list;property=Access)}}
 
Uses the `PrinterCategoryMapper` template to assign proper categories based on access
</noinclude><includeonly>{| class="wikitable"
! Department
! Department
| [[Department::{{{Department|}}}]]
| [[Department::{{{Department|}}}]]
Line 17: Line 13:
|-
|-
! Access
! Access
| {{#arraymap:{{{Access|}}}|,|x|[[Access::x]]}}
| {{#arraymap:{{{Access|}}}|,|x|[[Access::x]]|,}}
 
|-
! Print Release Station
| [[Print Release Station::{{{Print Release Station|}}}]]
|}
|}
 
{{#arraymap:{{{Access|}}}|,|@@@|
{{#arraymap:{{{Access|}}}|,|x|{{PrinterCategoryMapper|x}}|}}
  {{#switch:@@@
</includeonly>
    | Employees = [[Category:FacStaff Printer]]
    | Students  = [[Category:Student Printer]]
  }}
|}}
[[Category:NoFS]]
{{#invoke:PrinterInstructionsLookup|getInstructions}}</includeonly>

Latest revision as of 21:36, 22 July 2026