|
|
Line 25: |
Line 25: |
| *It does not look like much because you still have fill it in with the links or other information that you may want to display for your readers. | | *It does not look like much because you still have fill it in with the links or other information that you may want to display for your readers. |
| ====Here is the coding in HTML and Wikitext for the above Navbox:==== | | ====Here is the coding in HTML and Wikitext for the above Navbox:==== |
| | *First step is to create the table: |
| <table style="border:1px solid black; width:100%; "> | | <table style="border:1px solid black; width:100%; "> |
| <tr> | | <tr> |
Line 32: |
Line 33: |
| <tr> | | <tr> |
| <td style="border:1px solid black; "> | | <td style="border:1px solid black; "> |
| <nowiki>{| style="width:100%; border:1px solid blue; border-collaspe:separate; border-spacing:5px; "</nowiki><br><br> | | <nowiki>{| style="width:100%; border:1px solid blue; border-collaspe:separate; border-spacing:5px; " |
| <nowiki>{{!}}-</nowiki><br>
| |
| <nowiki>{{!}} colspan="2" style="text-align:center; background-color:{{{title background color}}};{{!}} "Links to {{{name}}} - related articles</nowiki><br><br><br>
| |
| <nowiki>{{!}}-</nowiki><br>
| |
| <nowiki>{{#if:{{Ifempty|{{{group title1|}}}}}|</nowiki><br>
| |
| <nowiki>{{!}} style="text-align:right; width:15%; background-color:{{{left column background color}}};{{!}} "'''{{{group title1}}}'''|}}</nowiki><br><br>
| |
| <nowiki>{{#if:{{Ifempty|{{{group title1-item1|}}}}}|</nowiki><br>
| |
| <nowiki>{{!}} 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}}}{{·}}|}}|}}</nowiki><br><br>
| |
| <nowiki>|}</nowiki><br> | | <nowiki>|}</nowiki><br> |
| </td> | | </td> |
| <td style="border:1px solid black; "> | | <td style="border:1px solid black; "> |
| <nowiki><table style="width:100%; border:1px solid blue; border-collaspe:separate; border-spacing:5px; "></nowiki><br> | | <nowiki><table style="width:100%; border:1px solid blue; border-collaspe:separate; border-spacing:5px; "></nowiki> |
| <nowiki><tr></nowiki><br>
| |
| <nowiki><td colspan="2" style="text-align:center; background-color:{{{title background color}}}; ">Links to {{{name}}} - related articles</nowiki><br>
| |
| <nowiki></td></nowiki><br>
| |
| <nowiki></tr></nowiki><br>
| |
| <nowiki><tr></nowiki><br>
| |
| <nowiki>{{#if:{{Ifempty|{{{group title1|}}}}}|</nowiki><br>
| |
| <nowiki><td style="text-align:right; width:15%; background-color:{{{left column background color}}}; ">'''{{{group title1}}}'''|}}</nowiki><br>
| |
| <nowiki></td></nowiki><br>
| |
| <nowiki>{{#if:{{Ifempty|{{{group title1-item1|}}}}}|</nowiki><br>
| |
| <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>
| |
| <nowiki></tr></nowiki><br>
| |
| <nowiki></table></nowiki><br>
| |
| </td></tr></table> | | </td></tr></table> |
| <table style="border:1px solid black; width:100%; "> | | <table style="border:1px solid black; width:100%; "> |