Recent Topics

Infoboxes

Started by on Sep 12, 2008 – Contents updated: Sep 12, 2008

Sep 12, 2008 21:06    

My b2evolution Version: Not Entered

I would love to be able to have EASY, customizable infoboxes like is found on Wikipedia. I've used them on a few MediaWiki sites I've put up and it's incredibly frustrating to get each part loaded. Example:
http://host64.hrwebservices.net/~kushiel/wiki/index.php/Racine

Thank you in advance!

Sep 15, 2008 23:44

its very doable via css.. just make a class for it and apply whenever you need class="myclass" i dont think you really need a plugin for this..

edit: were you talking about the

Code

Contents
[hide]
 
    * 1 Background
    * 2 Personality
    * 3 Family, Friends, & Enemies
          o 3.1 Family
          o 3.2 Allies
          o 3.3 Others
    * 4 Recent Events
    * 5 Trivia
    * 6 Links
    * 7 Soundtrack

box

or the uuh.. the one at the right starting with 'racine' .. no matter which you meant they are both doable

Sep 16, 2008 01:09

Named Racine, thank you!

Sep 16, 2008 01:44

and where were you ideally planning to use it.. inside of a post, or in sidebar or what else..

nvm.. take a look at [url=http://www.tilqi.com/wikinfo.html]this[/url]

all you have to do is place the css codes and set a width you wish for div #infobox only once

the routines:
1.place <div id="infobox"> before entering the content
2.use <h2>sometitle</h2> whenever u need to use those blue titles
place your content and close the </div>

2 steps doesnt take that long huh :P

css

Code

<style type="text/css">
 
#infobox {
width: 280px;}
 
#infobox h2 {
display: block;
background-color: #8393CA;
color: #FFFFFF;
font-weight: bold;
font-size: 16px;
}
 
#infobox img {
width: 100%;}
 
 
</style>


Form is loading...

Advanced CMS – This forum is powered by b2evolution CMS, a complete engine for your website.