How to Create an Infobox: Difference between revisions

m
no edit summary
mNo edit summary
Line 128: Line 128:
</tr>
</tr>
</table>
</table>
*The Wikitext looks a bit messy right now, but the substitution of the <nowiki></font color>{{{!}}}</nowiki></font color> for the | will save a lot of headaches later.  Notice that nothing had to be done to the HTML coding. Even though it looks like the Wikitext has less programming, it is a lot trickier to program infoboxes than in HTLM. That's why it is recommended to program infoboxes in HTML rather than Wikitext.
*The Wikitext looks a bit messy right now, but the substitution of the <font color="red"><nowiki>{{{!}}}</nowiki></font color> for the | will save a lot of headaches later.  Notice that nothing had to be done to the HTML coding. Even though it looks like the Wikitext has less programming, it is a lot trickier to program infoboxes than in HTLM. That's why it is recommended to program infoboxes in HTML rather than Wikitext.


====Step Two - More Coding====
====Step Two - More Coding====
*Next step is to add parameters which are formated like so: <font color="red"><nowiki>{{{</nowiki></font color>name of parameter<font color="red"><nowiki>}}}</nowiki></font color>.  We will add them to the table below.  Notice that there are three opening and closing curly brackets around each one.
*Next step is to turn the items into parameters.  They are formed like so: <font color="red"><nowiki>{{{</nowiki></font color>name of parameter<font color="red"><nowiki>}}}</nowiki></font color>.  We will add them to the table below.  Notice that there are three opening and closing curly brackets around each one.
*It will be in these parameters that we will add the information to the infobox.
<table style="border:1px solid blue; ">
<table style="border:1px solid blue; ">
<tr>
<tr>
Interface administrators, smwadministrator, smwcurator, smweditor
82,369

edits