How to Create a Navbox: Difference between revisions

m
Line 95: Line 95:
<nowiki><td style="text-align:left; background-color:{{{right column background color}}}; ">
<nowiki><td style="text-align:left; background-color:{{{right column background color}}}; ">
{{#if:{{{group title1-item1|}}}|{{{group title1-item1}}}{{·}}|}} {{#if:{{{group title1-item2|}}}|{{{group title1-item2}}}{{·}}|}} {{#if:{{{group title1-item3|}}}{{·}}|{{{group title1-item3}}}{{·}}|}} {{#if:{{{group title1-item4|}}}|{{{group title1-item4}}}{{·}}|}} {{#if:{{{group title1-item5|}}}|{{{group title1-item5}}}{{·}}|}}|}}</td></nowiki><br>
{{#if:{{{group title1-item1|}}}|{{{group title1-item1}}}{{·}}|}} {{#if:{{{group title1-item2|}}}|{{{group title1-item2}}}{{·}}|}} {{#if:{{{group title1-item3|}}}{{·}}|{{{group title1-item3}}}{{·}}|}} {{#if:{{{group title1-item4|}}}|{{{group title1-item4}}}{{·}}|}} {{#if:{{{group title1-item5|}}}|{{{group title1-item5}}}{{·}}|}}|}}</td></nowiki><br>
<nowiki></tr></nowiki><br>
<nowiki></tr></nowiki>
<font color="red"><nowiki></table></nowiki></font color><br>
<font color="red"><nowiki></table></nowiki></font color><br>>
</td></tr></table><br><br>
</td></tr></table>
<p>
*Notice the table width is set at 100%.
*Notice the table width is set at 100%.
*Second, the code for the border.  You can make anything you want.
*Second, the code for the border.  You can make anything you want.
*Third, the "[[HTML_and_Wikitext_-_Lesson_Three#Cell_separation|border-collaspe]]" coding is for creating a 5 pixel space between the cells of the table.
*Third, the "[[HTML_and_Wikitext_-_Lesson_Three#Cell_separation|border-collaspe]]" coding is for creating a 5 pixel space between the cells of the table.</p>


====Coding for title====
====Coding for title====
Interface administrators, smwadministrator, smwcurator, smweditor
82,369

edits