Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki)
82,369
edits
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
===What are Infoboxes=== | ===What are Infoboxes=== | ||
Infoboxes are nothing more than a table saved as a template. However there is one minor difference: the table has a classification in its title, like so: | Infoboxes are nothing more than a table saved as a template. However there is one minor difference: the table has a classification in its title, like so in Wikitext: | ||
::<nowiki>{| class=infobox .............. |}</nowiki> | ::<nowiki>{| class=infobox .............. |}</nowiki> or in HTML | ||
::<nowiki><table class=infobox>.........</table></nowiki> | |||
This "class=infobox" tells the table to behave like an infobox instead of a regular table and places itself on the right side of the page with a certain width, etc. | |||
So let us create a infobox for an organization. We will do it both in Wikitext and HTML. |