}
|={{#if:{{evalx|
          (let (x (get-arg 2))
            (if (equal? (get-substring x 1 11) "Department:")
                "x"
                (if (equal? (get-substring x 1 6) "Shelf:")
                    "x"
                    "")))
}
    |Wikibooks Stacks