Ero sivun ”Malline:Navbox generic” versioiden välillä
Siirry navigaatioon
Siirry hakuun
p Kumottu muokkaus 3356, jonka teki Jarnon (keskustelu) |
pEi muokkausyhteenvetoa |
||
Rivi 1: | Rivi 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. | |||
-->{{# | -->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table class="navbox {{{bodyclass|}}}" cellspacing="0" <!-- | ||
<td style=" | -->style="{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!-- | ||
-->{{#if:{{{ | --><table cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|<!-- | ||
-->#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!-- | |||
-->subgroup|child|none=navbox-subgroup" style="width:100%;{{{bodystyle|}}};{{{style|}}}|<!-- | |||
-->#default=" style="width:100%;background:transparent;color:inherit}};{{{innerstyle|}}};"><!-- | |||
-->{{#if:{{{ | ----------------------------------------Titlebar----------------------------------------- | ||
< | -->{{#if: {{{title|}}} | <tr><th colspan="{{#if:{{{image|}}}|3|2}}" style="text-align:center; {{{titlestyle|}}}"><!-- | ||
---Tnavbar | |||
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=|#default=<span style="float:left;width:6em;text-align:left;"><!-- | |||
-->{{Tnavbar|{{{templateName|{{{name<noinclude>|Navbox generic</noinclude>}}}}}}|mini=1}}</span>}}<!-- | |||
--> | ---Title | ||
--><span class="{{{titleclass|}}}" style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%;"><!-- | |||
-->{{{title}}}</span></th></tr>}}<!-- | |||
-->{{#if:{{{ | -----------------------above (optional content above groups)----------------------- | ||
-->{{#if:{{{above|}}}|<tr> <td class="navbox-abovebelow" style="{{{abovestyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}"><div> | |||
{{{above|}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{ | ----------------------------------------- Groups ---------------------------------------- | ||
<td style=" | -->{{#if:{{{list1|}}} |{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!-- | ||
-->{{#if:{{{group1|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group1}}}</td><!-- | |||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list1style|}}}" colspan="{{#if:{{{group1|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list1}}}</div></td> <!-- | |||
-->{{#if:{{{ | -----------------------Right side Image----------------------- | ||
-->{{#if:{{{image|}}}|<!-- | |||
--><td style="width:0%;padding:0px 0px 0px 2px;{{{imagestyle|}}}" <!-- | |||
-->rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}<!-- | |||
-->{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}<!-- | |||
-->{{#if:{{{list9|}}}|+2}}{{#if:{{{list10|}}}|+2}}{{#if:{{{list11|}}}|+2}}{{#if:{{{list12|}}}|+2}}<!-- | |||
-->{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}<!-- | |||
-->{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}}}><!-- | |||
-->{{{image}}}</td>}} </tr>}}<!-- | |||
-->{{#if:{{{ | ---Remaining groups/lists--- | ||
< | -->{{#if:{{{list2|}}} |{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!-- | ||
-->{{#if:{{{group2|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group2}}}</td><!-- | |||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list2style|}}}" colspan="{{#if:{{{group2|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list2}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{list3|}}} |{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!-- | |||
-->{{#if:{{{group3|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group3}}}</td><!-- | |||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list3style|}}}" colspan="{{#if:{{{group3|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list3}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{list4|}}} |<tr style="height:2px"><td></td></tr><tr><!-- | ||
<td style=" | -->{{#if:{{{group4|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group4}}}</td><!-- | ||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list4style|}}}" colspan="{{#if:{{{group4|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list4}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{list5|}}} |<tr style="height:2px"><td></td></tr><tr><!-- | ||
< | -->{{#if:{{{group5|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group5}}}</td><!-- | ||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list5style|}}}" colspan="{{#if:{{{group5|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list5}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{list6|}}} |<tr style="height:2px"><td></td></tr><tr><!-- | |||
-->{{#if:{{{group6|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group6}}}</td><!-- | |||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list6style|}}}" colspan="{{#if:{{{group6|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list6}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{list7|}}} |<tr style="height:2px"><td></td></tr><tr><!-- | ||
<td style=" | -->{{#if:{{{group7|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group7}}}</td><!-- | ||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list7style|}}}" colspan="{{#if:{{{group7|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list7}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{list8|}}} |<tr style="height:2px"><td></td></tr><tr><!-- | ||
<td style=" | -->{{#if:{{{group8|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group8}}}</td><!-- | ||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list8style|}}}" colspan="{{#if:{{{group8|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list8}}}</div>/td></tr>}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{list9|}}} |<tr style="height:2px"><td></td></tr><tr><!-- | ||
<td style=" | -->{{#if:{{{group9|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group9}}}</td><!-- | ||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list9style|}}}" colspan="{{#if:{{{group9|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list9}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{list10|}}} |<tr style="height:2px"><td></td></tr><tr><!-- | ||
<td style=" | -->{{#if:{{{group10|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group10}}}</td><!-- | ||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list10style|}}}" colspan="{{#if:{{{group10|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list10}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{list11|}}} |<tr style="height:2px"><td></td></tr><tr><!-- | ||
<td style=" | -->{{#if:{{{group11|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group11}}}</td><!-- | ||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list11style|}}}" colspan="{{#if:{{{group11|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list11}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{list12|}}} |<tr style="height:2px"><td></td></tr><tr><!-- | ||
<td style=" | -->{{#if:{{{group12|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group12}}}</td><!-- | ||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list12style|}}}" colspan="{{#if:{{{group12|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list12}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{list13|}}} |<tr style="height:2px"><td></td></tr><tr><!-- | ||
<td style=" | -->{{#if:{{{group13|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group13}}}</td><!-- | ||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list13style|}}}" colspan="{{#if:{{{group13|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list13}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{list14|}}} |<tr style="height:2px"><td></td></tr><tr><!-- | ||
<td style=" | -->{{#if:{{{group14|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group14}}}</td><!-- | ||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list14style|}}}" colspan="{{#if:{{{group14|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list14}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{list15|}}} |<tr style="height:2px"><td></td></tr><tr><!-- | ||
<td style=" | -->{{#if:{{{group15|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group15}}}</td><!-- | ||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list15style|}}}" colspan="{{#if:{{{group15|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list15}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{list16|}}} |<tr style="height:2px"><td></td></tr><tr><!-- | ||
<td style=" | -->{{#if:{{{group16|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group16}}}</td><!-- | ||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list16style|}}}" colspan="{{#if:{{{group16|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list16}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{list17|}}} |<tr style="height:2px"><td></td></tr><tr><!-- | ||
<td style=" | -->{{#if:{{{group17|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group17}}}</td><!-- | ||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list17style|}}}" colspan="{{#if:{{{group17|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list17}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{list18|}}} |<tr style="height:2px"><td></td></tr><tr><!-- | ||
< | -->{{#if:{{{group18|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group18}}}</td><!-- | ||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list18style|}}}" colspan="{{#if:{{{group18|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list18}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{list19|}}} |<tr style="height:2px"><td></td></tr><tr><!-- | |||
-->{{#if:{{{group19|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group19}}}</td><!-- | |||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{odd-style|}}}{{{oddstyle|}}}{{{list19style|}}}" colspan="{{#if:{{{group19|}}}|1|2}}" class="navbox-list"><!-- | |||
--><div> | |||
{{{list19}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{list20|}}} |<tr style="height:2px"><td></td></tr><tr><!-- | ||
<td style=" | -->{{#if:{{{group20|}}} |<td class="navbox-group {{{groupclass|}}}" style="{{{group-style|}}}{{{groupstyle|}}}">{{{group20}}}</td><!-- | ||
--><td style="text-align:left;border-left-width:2px;border-left-style:solid;|<td colspan=2 style="}}<!-- | |||
-->width:100%;padding:0px;{{{even-style|}}}{{{evenstyle|}}}{{{list20style|}}}" colspan="{{#if:{{{group20|}}}|1|2}} class="navbox-list"><!-- | |||
--><div> | |||
{{{list20}}}</div></td></tr>}}<!-- | |||
-->{{#if:{{{ | -----------------------below (optional content below groups)----------------------- | ||
<td style=" | -->{{#if:{{{below|}}} |{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!-- | ||
--><td style="{{{belowstyle|}}}" colspan="{{#if:{{{image|}}}|3|2}}"><div> | |||
{{{below|}}}</div></td></tr>}}<!-- | |||
--> | --></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!-- | ||
--><noinclude> | |||
[[ | [[Category:Navigaatiomallineet]]</noinclude> | ||
</noinclude> |