Changes

Jump to navigation Jump to search

Template:Infobox/Docu

763 bytes added, 16:18, 30 September 2019
m
no edit summary
An '''Infobox''' is built by some of the following elements:
* Caption
* Header
* Subheader1
* Subheader2
* Image1
* Image2
These are followed by up to '''80''' rows which can contain one of the following four row types per row only:
* header
* label
* data
* class
 
The representation styles for these four row types are defined in
* headerstyle
* labelstyle
* datastyle
* classstyle
 
<pre>{{Infobox/row
|header={{{header1|}}} |headerstyle={{{headerstyle|}}}
|label={{{label1|}}} |labelstyle={{{labelstyle|}}}
|data={{{data1|}}} |datastyle={{{datastyle|}}}
|class={{{class1|}}} |rowclass={{{rowclass1|}}}</pre>
The infobox rows are followed by the following (optional) elements:
* Below
* Navbar
 
== Example ==
{| class="wikitable"|-! Source !! Result|-| <pre>{{Infobox
|bodystyle = float:right; valign:top;
|title =
|belowstyle = background:#d2d2d2;
|below =
}}</pre>|| {{Infobox
|bodystyle = float:right; valign:top;
|title =
|below =
}}
|}
administrator, administrators, Bureaucrats, Interface administrators, Administrators
22,335
edits

Navigation menu