Jump to content

How to Create an Infobox: Difference between revisions

m
Line 55: Line 55:


As you can see the codes in Wikitext and HTML are lineup side by side so you can see the comparison.  Now pay close attention to the table tags.  You should notice this coding: <em>class="infobox"</em> in the table tag .  This code tells the browser that a infobox is being created and to place it in the upper right hand corner of the article.
As you can see the codes in Wikitext and HTML are lineup side by side so you can see the comparison.  Now pay close attention to the table tags.  You should notice this coding: <em>class="infobox"</em> in the table tag .  This code tells the browser that a infobox is being created and to place it in the upper right hand corner of the article.
As it stands, the HTML coding is ok at this point, but the Wikitext has a problem.  Normally the Wikitext as is will work for any table, however, we are going to be installing <em>parameters</em> which require us to replace the |'s in the Wikitext with <nowiki>{{{!}}}</nowiki>.  The reason is a bit beyond the scope of this article but if you are interested [[Template:!|click here]]


====Step Two - Add Styling to Infobox====
====Step Two - Add Styling to Infobox====