How to Create an Infobox: Difference between revisions

m
mNo edit summary
Line 33: Line 33:
Again if you know Wikitext or HTML you can see the style that is being added to the infobox.
Again if you know Wikitext or HTML you can see the style that is being added to the infobox.
====Step Three - Create Main Header====
====Step Three - Create Main Header====
<table style="width:99%; border:1px solid blue; ">
<tr>
<td style="width:50%; border:1px solid blue; text-align:center; font-size:16pt; ">Wikitext</td>
<td style="width:50%; border:1px solid blue; text-align:center; font-size:16pt; ">HTML</td>
</tr>
<tr>
<td style=><nowiki>{| class=infobox style="width:200px; text-align:left; padding:0px; font-size:8pt; border:1px solid black; border-right-width:2px; border-bottom-width:2px; background-color:white;"....|}</nowiki></td>
<td style="border:1px solid blue; "><nowiki><table class=infobox style="width:200px; text-align:left; padding:0px; font-size:8pt; border:1px solid black; border-right-width:2px; border-bottom-width:2px; background-color:white;">...</table></nowiki></td>
</tr>
<tr>
<td style="border:1px solid blue; "><nowiki>{{{!}}} colspan="2" style="text-align:center; font-size:16pt; background-color:{{{title background color}}}; " {{{!}}} '''{{{name}}}"</nowiki></td>
<td style="border:1px solid blue; "><nowiki><td colspan="2" style="text-align:center; font-size:16pt; background-color:{{{title background color}}}; ">{{{name}}}</nowiki></td>
</tr>
</table>
Interface administrators, smwadministrator, smwcurator, smweditor
82,369

edits