History: Tikipedia
Preview of version: 2
About the "infobox"
The "infobox" code will work to make a box in any theme, but there's an .infobox
class in Tikipedia's CSS file that styles the box and its contents to match the MediaWiki infobox:
Copy to clipboard
.infobox { border: 1px solid #aaa; border-spacing: 3px; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; font-size: 88%; line-height: 1.5em; } .infobox img { margin-top: 6px; } .infobox h3, .infobox h4 { font-weight: bold; background-color: #c0c0c0; padding: 4px; text-align: center; font-family: sans-serif; margin: 0; } .infobox h3 { font-size: 120%; } .infobox h4 { font-size: 105%; }
The details should be adjusted as needed to match the appearance of the theme. The box should be inside a div with Bootstrap grid and positioning classes, etc. to be less than full width.