Template:Infobox/lookup

From Wikinews, the free news source you can write!
Jump to navigation Jump to search
[edit] Template-info.svg Template documentation
update use count

Usage

This is a subtemplate of {{infobox}}. Given an S-expression representation of a parsed customization table for the infobox, the name of an infobox-customization parameter, and a default value, it extracts the value of the named parameter from the S-expression or, if not found, returns the default value. This template is used by {{infobox/p1}}. This template does not need to know the master list of valid customization parameters, since parameter names are provided to it.

See also