Jump to content

Template:Printer: Difference between revisions

From Swarthmore Knowledge Base
No edit summary
No edit summary
Line 3: Line 3:


Uses the <code>PrinterCategoryMapper</code> template to assign proper categories based on access
Uses the <code>PrinterCategoryMapper</code> template to assign proper categories based on access
</noinclude><includeonly>{| class="wikitable"
</noinclude><includeonly>{{#arraymap:{{{Access|}}}|,|x|{{PrinterCategoryMapper|x}}|}}{| class="wikitable"
! Department
! Department
| [[Department::{{{Department|}}}]]
| [[Department::{{{Department|}}}]]
Line 19: Line 19:
| {{#arraymap:{{{Access|}}}|,|x|[[Access::x]]}}
| {{#arraymap:{{{Access|}}}|,|x|[[Access::x]]}}


|}
|}</includeonly>
 
{{#arraymap:{{{Access|}}}|,|x|{{PrinterCategoryMapper|x}}|}}
</includeonly>

Revision as of 13:32, 14 May 2026

This is the "Printer" template.

It should be called in the following format:

{{Printer
|Department=
|Location=
|Queue Name=
|Printer Model=
|Access=
}}

Edit the page to see the template text.

Uses the PrinterCategoryMapper template to assign proper categories based on access