Template:Infobox terminal/check graphic type

From Terminals
< Template:Infobox terminal
Revision as of 06:07, 23 August 2012 by Legalize (talk | contribs) (expands to 1 if argument is unspecified, or is a valid graphic type)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Template

[edit] [history] [purge] Documentation icon Template documentation

This template validates the single positional argument as a valid graphic type name: Monochrome, StaticGray, GrayScale, PseudoColor, DirectColor or TrueColor. If the argument is valid or empty, the template expands to 1. If the argument is non-empty and isn't a valid graphic type, the template expands to empty.