User:Anon126/How-to/Infoboxes
From Wikipedia, the free encyclopedia
| Main | for Infoboxes | for NavPanes |
|
This markup tutorial will show you how to create an infobox easily. Use only what's in bold italic in the markup, and don't include the arrows.
Prolog and header
{| class="infobox bordered" ←This says that you're making an infobox.
The exclamation point says it's the header.→ !style="padding: 2pt;" | ←This style is neccesary. Just use this to get a plain infobox. Also notice the pipe at the end.
[[Image:Wiki.png]] <br/> Your title here ←Your title, image, etc. and stuff with wiki formatting and markup.
Body
|- ←Denotes a new section and adds a separator bar(pipe and a hyphen).
| style="padding: 2pt;" | ←You need that style here, too (surround it by pipes).
* Probably a list here
* Example item
|- ←new section(pipe and hyphen)
| style="padding: 2pt;" | ←The same style as before, surrounded by pipes.
# A numbered list
# etc.
Epilog
|} ←Pipe and close curly brace
Your final result (on the right)
|
|


