Ero sivun ”Malline:Navigointilaatikko” versioiden välillä

Mummilan wikistä
(tyhjästä nyhjästy)
(fix)
Rivi 1: Rivi 1:
<includeonly><div style="border: 2px solid #eee; padding: 5px; font-size: 90%; width: {{{leveys|90%}}};">
<includeonly><div style="border: 2px solid #eee; padding: 2px 0; font-size: 90%; width: {{{leveys|90%}}};">
{| style="width: 100%;"
{| style="width: 100%;"
|+style="background-color: {{{tausta|#eee}}};"|{{{otsikko}}}
|+ <span style="display: block; background-color: {{{tausta|#eee}}}; margin: 0 2px;">{{{otsikko}}}</span>
{{ #if: {{ #if: {{{ryhmä1|}}} | true |{{{lista1|}}} }} | {{!}}-
{{ #if: {{ #if: {{{ryhmä1|}}} | true |{{{lista1|}}} }} | {{!}}-
   !style="width: 18%; background-color: {{{tausta|#eee}}};" {{!}} {{{ryhmä1|&nbsp;}}}
   !style="width: 18%; background-color: {{{tausta|#eee}}};" {{!}} {{{ryhmä1|&nbsp;}}}

Versio 6. helmikuuta 2009 kello 18.59

{{{otsikko}}}
{{{ryhmä1}}} {{{lista1}}}
{{{ryhmä2}}} {{{lista2}}}
{{{ryhmä3}}} {{{lista3}}}

Tätä laatikkomallinetta käytetään kopioimalla seuraava pätkä ja täyttämällä parametrit:

{{navigointilaatikko
|otsikko=
|ryhmä1=
|lista1=
|ryhmä2=
|lista2=
|ryhmä3=
|lista3=
|leveys=
}}

Leveys kannattaa antaa prosentteina (esim. 80%) mallineen sisältävän palstan leveydestä. Oletusleveys on 90 prosenttia.