Jump to content

Template:Printer: Difference between revisions

From Swarthmore Knowledge Base
No edit summary
No edit summary
Line 29: Line 29:
|}}
|}}
<!-- Conditional printing instructions -->
<!-- Conditional printing instructions -->
{{!}}-- Instruction Template Logic --{{!}}
{{#ifeq: {{{Printer Model|}}} | {{#replace:{{{Printer Model|}}}|Dymo|}}  
{{#ifeq: {{{Printer Model|}}} | {{#replace:{{{Printer Model|}}}|Dymo|}}  
   | {{#arraymap:{{{Access|}}}|,|@@@|
   | {{#arraymap:{{{Access|}}}|,|@@@|

Revision as of 14:35, 14 May 2026

This is the "Printer" template.

It should be called in the following format:

{{Printer
|Department=
|Location=
|Queue Name=
|Printer Model=
|Access=
|Print Release Station=
}}

Edit the page to see the template text.

This template defines a printer. It stores data in Semantic MediaWiki and automatically categorizes the page based on the Access field.


Template for managing printer infrastructure data.

Template parameters

ParameterDescriptionTypeStatus
DepartmentDepartment

no description

Stringrequired
LocationLocation

no description

Stringsuggested
Print Queue NameQueue Name

no description

Stringoptional
Printer ModelPrinter Model

no description

Stringoptional
AccessAccess

Who is allowed to use this printer?

Suggested values
Students Employees
Stringoptional
Has Print Release?Print Release Station

Does this printer have a print release station?

Example
Yes
Booleanoptional