Confirmedusers, Interface administrators
1,131
edits
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
This template serves as the base for any infobox templates, providing a customizable layout to build off of. Each | This template serves as the base for any infobox templates, providing a customizable layout to build off of. Each row is created using [[Template:Infobox row]]. | ||
== Usage == | == Usage == | ||
<pre style="display: table"> | <pre style="display: table"> | ||
{{Infobox | {{Infobox | ||
Line 10: | Line 8: | ||
|image = An image to display beneath the title | |image = An image to display beneath the title | ||
|align = Whether or not to align this infobox to the left | |align = Whether or not to align this infobox to the left | ||
| | |rows = Rows of content, use {{Infobox row}} | ||
|titlestyle = Optional title bar CSS | |titlestyle = Optional title bar CSS | ||
|css = Optional main infobox CSS | |css = Optional main infobox CSS | ||
Line 32: | Line 25: | ||
| align || Override to align this infobox differently || CSS || no | | align || Override to align this infobox differently || CSS || no | ||
|- | |- | ||
| | | rows || Rows of content || Content || yes | ||
|- | |- | ||
| titlestyle || Optional CSS to be added to the title bar's style || CSS || no | | titlestyle || Optional CSS to be added to the title bar's style || CSS || no | ||
Line 56: | Line 39: | ||
| style="width: 30%"|<pre>{{Infobox | | style="width: 30%"|<pre>{{Infobox | ||
|title = Infobox | |title = Infobox | ||
|image = Move_arrows | |||
|image = | |rows = {{Infobox row | Label | Field}} | ||
| | |||
| | |||
| | |||
}}</pre> | }}</pre> | ||
|| | || | ||
{{Infobox | {{Infobox | ||
|title = Infobox | |title = Infobox | ||
|image = Move_arrows | |||
|rows = {{Infobox row | Label | Field}} | |||
|image = Move_arrows | |||
| | |||
| | |||
| | |||
}} | }} | ||
|} | |} | ||
<includeonly>[[Category:Infobox templates]]</includeonly> | <includeonly>[[Category:Infobox templates]]</includeonly> |