How to Create an Infobox: Difference between revisions

m
Line 16: Line 16:
<tr>
<tr>
<td style="width:50%; border:1px solid blue; ">
<td style="width:50%; border:1px solid blue; ">
<nowiki>{| class="infobox"</nowiki> <br><br>
<nowiki>{| class="infobox"</nowiki> <br>
<nowiki>|-</nowiki><br>
<nowiki>|-</nowiki><br>
<nowiki>|colspan="2"|Organization</nowiki><br><br>
<nowiki>|colspan="2"|Organization</nowiki><br><br>
<nowiki>|-</nowiki><br>
<nowiki>|-</nowiki><br>
<nowiki>|colspan="2"|Image</nowiki><br>
<nowiki>|colspan="2"|Image</nowiki><br><br>
<nowiki>|-</nowiki><br>
<nowiki>|-</nowiki><br>
<nowiki>|President:</nowiki><br>
<nowiki>|President:</nowiki><br>
Line 113: Line 113:
</tr>
</tr>
</table>
</table>
The Wikitext looks a bit messy right now, but this coding will save a lot of headaches later.  I'll notice that nothing had to be done to the HTML coding. That's why it is recommended to program infoboxes in HTML rather than Wikitext.
The Wikitext looks a bit messy right now, but this coding will save a lot of headaches later.  I'll 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 - Add Styling to Infobox====
====Step Two - Add Styling to Infobox====
Interface administrators, smwadministrator, smwcurator, smweditor
82,369

edits