Template:Infobox field
From Young Composers
- Note: This documentation has been transcluded from the /doc subpage of this template at Template:Infobox field/doc. All documentation, categories, etc. should go there.
Description
This template is used between {{infobox header}}
and {{infobox footer}}
to build infoboxes. It should typically only be used in infobox templates.
Syntax
{{infobox field|field name|field value}}
Note that if the "field value" is empty, this template won't display the field. If you want to display an empty field, use as a value. For example, if you're building a template that requires a {{{name}}} parameter, you could pass it to this template as {{{name| }}}
(that means if {{{name}}} is empty or wasn't passed, the part that comes after the pipe will be used instead). In this case, you would use:
{{infobox field|Name|{{{name| }}} }}
See Help:Infoboxes for more information on how to make infobox templates.
See also
- Help:Infoboxes
-
{{infobox header}}
-
{{infobox section}}
-
{{infobox footer}}