Template:Infobox style/doc
From Angelina Jordan Wiki
This is a subpage documenting Template:Infobox style. To change the template, edit that page; to change the template's documentation (seen below), edit this one.
Documentation
This template provides a consistent style for infoboxes. It is called directly by those templates.
This template is used on a great many pages. Making any changes to it will cause lots of jobs to be added to the processing queue.
Usage
{{infobox style}}{{infobox style|margin=|width=|font-size=}}
Examples
{{infobox style}}
⇒ float:right; margin:0 0 .5em 1em; width:20em; font-size:90%{{infobox style|width=30em}}
⇒ float:right; margin:0 0 .5em 1em; width:30em; font-size:90%style="{{infobox style|width|30em}}; background-color: pink"
⇒ style="float:right; margin:0 0 .5em 1em; width:20em; font-size:90%; background-color: pink"
As seen in the last example, calls to this template should be placed inside of a style="…" attribute. Because the output doesn't end with a semicolon, you must provide one yourself if you're going to re going to add more style information after the template call.
You cannot change the float attribute (since all infoboxes are floated the same way), but the other attributes can be changed, if desired, by using the appropriate parameters.