User:Anon126/How-to/Infoboxes
This user subpage is currently inactive and is retained for historical reference. If you want to revive discussion regarding the subject, you might try contacting the user in question or seeking broader input via a forum such as the village pump. Please go to Help:Infobox for up-to-date information about adding infoboxes. |
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
[edit]{| 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
[edit]|- ←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
[edit]|} ←Pipe and close curly brace
Your final result (on the right)
[edit]
|
|