How to Create an Infobox: Difference between revisions

m
Line 71: Line 71:
</table>
</table>
*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 on the right hand side of the article.
*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 on the right hand side of the article.
*Since the name of the organization and the image will extend over the two columns which contain the information about the organization we will install colspan="2" in the organization and image coding.


*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]]
*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]]
Interface administrators, smwadministrator, smwcurator, smweditor
82,369

edits