Interface administrators, smwadministrator, smwcurator, smweditor
82,369
edits
mNo edit summary |
|||
Line 10: | Line 10: | ||
*It is recommended that you create infobox tables in HTML as there fewer problems as you will see. | *It is recommended that you create infobox tables in HTML as there fewer problems as you will see. | ||
*We will be creating a navbox as shown below. | *We will be creating a navbox as shown below. | ||
<table style="width:100%; border:1px solid blue; background-color:{{{navbox background color}}}; border-collaspe:separate; border-spacing:5px; " | <table style="width:100%; border:1px solid blue; background-color:{{{navbox background color}}}; border-collaspe:separate; border-spacing:5px; "> | ||
<tr | <tr> | ||
<td colspan="2" style="text-align:center; background-color:{{{title background color}}}; ">Links to {{{name}}} - related articles | <td colspan="2" style="text-align:center; background-color:{{{title background color}}}; ">Links to {{{name}}} - related articles | ||
</td | </td> | ||
</tr | </tr> | ||
<tr | <tr> | ||
{{#if:{{Ifempty|{{{group title1|}}}}}| | {{#if:{{Ifempty|{{{group title1|}}}}}| | ||
<td style="text-align:right; width:15%; background-color:{{{left column background color}}}; ">'''{{{group title1}}}'''|}} | <td style="text-align:right; width:15%; background-color:{{{left column background color}}}; ">'''{{{group title1}}}'''|}} | ||
</td | </td> | ||
{{#if:{{Ifempty|{{{group title1-item1|}}}}}| | {{#if:{{Ifempty|{{{group title1-item1|}}}}}| | ||
<td style="text-align:left; background-color:{{{right column background color}}}; "> | <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 | {{#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> | ||
</tr | </tr> | ||
</table> | </table> | ||
*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. |