Revision as of 03:10, 14 February 2007 view sourceDispenser (talk | contribs)Autopatrolled, Extended confirmed users, Pending changes reviewers33,005 edits Reverted edits by Down10. Improper hack (it doesn't work correctly because of font scaling); text-align:center once more, so it matchs every other nav meta-template; tnavbar update← Previous edit |
Revision as of 12:28, 22 February 2007 view source Zyxw (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, Pending changes reviewers, Template editors504,515 edits added optional "image" and "bottom" parameters, thereby allowing this template to replace "Navbox generic with image". These changes have been tested and should have no effect on existing templates.Next edit → |
Line 1: |
Line 1: |
|
<!-- Dear editors, if you wish to add more items, please make sure that they are in one single line, delimited by space. Otherwise, consecutive boxes made from this template would have space between them. |
|
<!-- Dear editors, if you wish to add more items, please make sure that they are in one single line, delimited by space. Otherwise, consecutive boxes made from this template would have space between them. |
|
--><table class="navbox collapsible {{{state|autocollapse}}}" style="margin: auto; {{{style|}}}"> <tr><th colspan="2" style="text-align: center; {{#if:{{{color|}}}|background-color:{{{color}}};}}"> {{Tnavbar|{{{templateName|{{{name<noinclude>|Navbox generic</noinclude>}}}}}}|mini=1|style=float:left;width:6em;text-align:left; }}{{{title}}}</th></tr> {{#if:{{{list1|}}}|<tr>{{#if:{{{group1|}}}|<th style="{{{group-style|}}}">{{{group1}}}</th><td>|<td colspan="2">}}{{{list1}}}</td></tr>}} {{#if:{{{list2|}}}|<tr>{{#if:{{{group2|}}}|<th style="{{{group-style|}}}">{{{group2}}}</th><td>|<td colspan="2">}}{{{list2}}}</td></tr>}} {{#if:{{{list3|}}}|<tr>{{#if:{{{group3|}}}|<th style="{{{group-style|}}}">{{{group3}}}</th><td>|<td colspan="2">}}{{{list3}}}</td></tr>}} {{#if:{{{list4|}}}|<tr>{{#if:{{{group4|}}}|<th style="{{{group-style|}}}">{{{group4}}}</th><td>|<td colspan="2">}}{{{list4}}}</td></tr>}} {{#if:{{{list5|}}}|<tr>{{#if:{{{group5|}}}|<th style="{{{group-style|}}}">{{{group5}}}</th><td>|<td colspan="2">}}{{{list5}}}</td></tr>}} {{#if:{{{list6|}}}|<tr>{{#if:{{{group6|}}}|<th style="{{{group-style|}}}">{{{group6}}}</th><td>|<td colspan="2">}}{{{list6}}}</td></tr>}} {{#if:{{{list7|}}}|<tr>{{#if:{{{group7|}}}|<th style="{{{group-style|}}}">{{{group7}}}</th><td>|<td colspan="2">}}{{{list7}}}</td></tr>}} {{#if:{{{list8|}}}|<tr>{{#if:{{{group8|}}}|<th style="{{{group-style|}}}">{{{group8}}}</th><td>|<td colspan="2">}}{{{list8}}}</td></tr>}} {{#if:{{{list9|}}}|<tr>{{#if:{{{group9|}}}|<th style="{{{group-style|}}}">{{{group9}}}</th><td>|<td colspan="2">}}{{{list9}}}</td></tr>}} {{#if:{{{list10|}}}|<tr>{{#if:{{{group10|}}}|<th style="{{{group-style|}}}">{{{group10}}}</th><td>|<td colspan="2">}}{{{list10}}}</td></tr>}} {{#if:{{{list11|}}}|<tr>{{#if:{{{group11|}}}|<th style="{{{group-style|}}}">{{{group11}}}</th><td>|<td colspan="2">}}{{{list11}}}</td></tr>}} {{#if:{{{list12|}}}|<tr>{{#if:{{{group12|}}}|<th style="{{{group-style|}}}">{{{group12}}}</th><td>|<td colspan="2">}}{{{list12}}}</td></tr>}} {{#if:{{{list13|}}}|<tr>{{#if:{{{group13|}}}|<th style="{{{group-style|}}}">{{{group13}}}</th><td>|<td colspan="2">}}{{{list13}}}</td></tr>}} {{#if:{{{list14|}}}|<tr>{{#if:{{{group14|}}}|<th style="{{{group-style|}}}">{{{group14}}}</th><td>|<td colspan="2">}}{{{list14}}}</td></tr>}} {{#if:{{{list15|}}}|<tr>{{#if:{{{group15|}}}|<th style="{{{group-style|}}}">{{{group15}}}</th><td>|<td colspan="2">}}{{{list15}}}</td></tr>}} {{#if:{{{list16|}}}|<tr>{{#if:{{{group16|}}}|<th style="{{{group-style|}}}">{{{group16}}}</th><td>|<td colspan="2">}}{{{list16}}}</td></tr>}} {{#if:{{{list17|}}}|<tr>{{#if:{{{group17|}}}|<th style="{{{group-style|}}}">{{{group17}}}</th><td>|<td colspan="2">}}{{{list17}}}</td></tr>}} {{#if:{{{list18|}}}|<tr>{{#if:{{{group18|}}}|<th style="{{{group-style|}}}">{{{group18}}}</th><td>|<td colspan="2">}}{{{list18}}}</td></tr>}} {{#if:{{{list19|}}}|<tr>{{#if:{{{group19|}}}|<th style="{{{group-style|}}}">{{{group19}}}</th><td>|<td colspan="2">}}{{{list19}}}</td></tr>}} {{#if:{{{list20|}}}|<tr>{{#if:{{{group20|}}}|<th style="{{{group-style|}}}">{{{group20}}}</th><td>|<td colspan="2">}}{{{list20}}}</td></tr>}} </table><noinclude>{{{{FULLPAGENAME}}/doc}} |
|
--><table class="navbox collapsible {{{state|autocollapse}}}" style="margin: auto; {{{style|}}}"> <tr><th colspan="{{#if:{{{image|}}}|3|2}}" style="text-align:center; {{#if:{{{color|}}}|background-color:{{{color}}};}}"> {{Tnavbar|{{{templateName|{{{name<noinclude>|Navbox generic</noinclude>}}}}}}|mini=1|style=float:left;width:6em;text-align:left;}}{{{title}}}</th></tr> {{#if:{{{top|}}}|<tr><td colspan="{{#if:{{{image|}}}|3|2}}">{{{top}}}</td></tr>}} {{#if:{{{list1|}}}|<tr>{{#if:{{{group1|}}}|<th style="{{{group-style|}}}">{{{group1}}}</th><td>|<td colspan="2">}}{{{list1}}}</td>}} {{#if:{{{image|}}}|<td rowspan="{{#expr: {{#if:{{{list1|}}}|1|0}} +{{#if:{{{list2|}}}|1|0}} +{{#if:{{{list3|}}}|1|0}} +{{#if:{{{list4|}}}|1|0}} +{{#if:{{{list5|}}}|1|0}} +{{#if:{{{list6|}}}|1|0}} +{{#if:{{{list7|}}}|1|0}} +{{#if:{{{list8|}}}|1|0}} +{{#if:{{{list9|}}}|1|0}} +{{#if:{{{list10|}}}|1|0}} +{{#if:{{{list11|}}}|1|0}} +{{#if:{{{list12|}}}|1|0}} +{{#if:{{{list13|}}}|1|0}} +{{#if:{{{list14|}}}|1|0}} +{{#if:{{{list15|}}}|1|0}} +{{#if:{{{list16|}}}|1|0}} +{{#if:{{{list17|}}}|1|0}} +{{#if:{{{list18|}}}|1|0}} +{{#if:{{{list19|}}}|1|0}} +{{#if:{{{list20|}}}|1|0}}}}" style="vertical-align:center;padding-left:7px;">{{{image}}}</td></tr>}} {{#if:{{{list2|}}}|<tr>{{#if:{{{group2|}}}|<th style="{{{group-style|}}}">{{{group2}}}</th><td>|<td colspan="2">}}{{{list2}}}</td></tr>}} {{#if:{{{list3|}}}|<tr>{{#if:{{{group3|}}}|<th style="{{{group-style|}}}">{{{group3}}}</th><td>|<td colspan="2">}}{{{list3}}}</td></tr>}} {{#if:{{{list4|}}}|<tr>{{#if:{{{group4|}}}|<th style="{{{group-style|}}}">{{{group4}}}</th><td>|<td colspan="2">}}{{{list4}}}</td></tr>}} {{#if:{{{list5|}}}|<tr>{{#if:{{{group5|}}}|<th style="{{{group-style|}}}">{{{group5}}}</th><td>|<td colspan="2">}}{{{list5}}}</td></tr>}} {{#if:{{{list6|}}}|<tr>{{#if:{{{group6|}}}|<th style="{{{group-style|}}}">{{{group6}}}</th><td>|<td colspan="2">}}{{{list6}}}</td></tr>}} {{#if:{{{list7|}}}|<tr>{{#if:{{{group7|}}}|<th style="{{{group-style|}}}">{{{group7}}}</th><td>|<td colspan="2">}}{{{list7}}}</td></tr>}} {{#if:{{{list8|}}}|<tr>{{#if:{{{group8|}}}|<th style="{{{group-style|}}}">{{{group8}}}</th><td>|<td colspan="2">}}{{{list8}}}</td></tr>}} {{#if:{{{list9|}}}|<tr>{{#if:{{{group9|}}}|<th style="{{{group-style|}}}">{{{group9}}}</th><td>|<td colspan="2">}}{{{list9}}}</td></tr>}} {{#if:{{{list10|}}}|<tr>{{#if:{{{group10|}}}|<th style="{{{group-style|}}}">{{{group10}}}</th><td>|<td colspan="2">}}{{{list10}}}</td></tr>}} {{#if:{{{list11|}}}|<tr>{{#if:{{{group11|}}}|<th style="{{{group-style|}}}">{{{group11}}}</th><td>|<td colspan="2">}}{{{list11}}}</td></tr>}} {{#if:{{{list12|}}}|<tr>{{#if:{{{group12|}}}|<th style="{{{group-style|}}}">{{{group12}}}</th><td>|<td colspan="2">}}{{{list12}}}</td></tr>}} {{#if:{{{list13|}}}|<tr>{{#if:{{{group13|}}}|<th style="{{{group-style|}}}">{{{group13}}}</th><td>|<td colspan="2">}}{{{list13}}}</td></tr>}} {{#if:{{{list14|}}}|<tr>{{#if:{{{group14|}}}|<th style="{{{group-style|}}}">{{{group14}}}</th><td>|<td colspan="2">}}{{{list14}}}</td></tr>}} {{#if:{{{list15|}}}|<tr>{{#if:{{{group15|}}}|<th style="{{{group-style|}}}">{{{group15}}}</th><td>|<td colspan="2">}}{{{list15}}}</td></tr>}} {{#if:{{{list16|}}}|<tr>{{#if:{{{group16|}}}|<th style="{{{group-style|}}}">{{{group16}}}</th><td>|<td colspan="2">}}{{{list16}}}</td></tr>}} {{#if:{{{list17|}}}|<tr>{{#if:{{{group17|}}}|<th style="{{{group-style|}}}">{{{group17}}}</th><td>|<td colspan="2">}}{{{list17}}}</td></tr>}} {{#if:{{{list18|}}}|<tr>{{#if:{{{group18|}}}|<th style="{{{group-style|}}}">{{{group18}}}</th><td>|<td colspan="2">}}{{{list18}}}</td></tr>}} {{#if:{{{list19|}}}|<tr>{{#if:{{{group19|}}}|<th style="{{{group-style|}}}">{{{group19}}}</th><td>|<td colspan="2">}}{{{list19}}}</td></tr>}} {{#if:{{{list20|}}}|<tr>{{#if:{{{group20|}}}|<th style="{{{group-style|}}}">{{{group20}}}</th><td>|<td colspan="2">}}{{{list20}}}</td></tr>}} {{#if:{{{bottom|}}}|<tr><td colspan="{{#if:{{{image|}}}|3|2}}">{{{bottom}}}</td></tr>}} </table><noinclude> |
|
|
{{{{FULLPAGENAME}}/doc}} |
|
<!-- Add cats and interwikis to the /doc subpage, not here! --> |
|
<!-- Add cats and interwikis to the /doc subpage, not here! --> |
|
</noinclude> |
|
</noinclude> |