Loading...
 
Skip to main content

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.

History

Advanced
Information Version
Fri 23 of Jun, 2023 14:36 GMT-0000 Gary Cunningham-Lee Updated information. 6
View
Fri 23 of Jun, 2023 14:35 GMT-0000 Gary Cunningham-Lee Categorized page. 5
View
Sun 28 of Apr, 2019 09:50 GMT-0000 Gary Cunningham-Lee Added alert that the theme is now in the package. 4
View
Sat 17 of Nov, 2018 21:32 GMT-0000 luciash d' being ?‍♂️ 3
View
Sat 27 of Aug, 2016 05:57 GMT-0000 Gary Cunningham-Lee Added infobox info. 2
View
Fri 26 of Aug, 2016 06:23 GMT-0000 Gary Cunningham-Lee 1
View
Show PHP error messages