Mal:Infoboks 4rad: Forskjell mellom sideversjoner
Hopp til navigering
Hopp til søk
m flyttet width |
m 13 sideversjoner ble importert |
||
| (4 mellomliggende versjoner av 3 brukere er ikke vist) | |||
| Linje 1: | Linje 1: | ||
<includeonly>{{#ifeq:{{{5|x}}}|x| | <includeonly>{{#ifeq:{{{5|x}}}|x| | ||
<tr class="{{#if:{{{rclass|}}}|{{{rclass}}}|rad}} | <tr class="{{#if:{{{rclass|}}}|{{{rclass}}}|rad}}" {{#if:{{{rstyle|}}}| style="{{{rstyle}}}"}}> | ||
{{#ifeq:{{{1|}}}x|x|| | {{#ifeq:{{{1|}}}x|x|| | ||
<td {{#if:{{{span1|}}}| colspan="{{{span1}}}"}} {{#if:{{{rspan1|}}}| rowspan="{{{rspan1}}}"}} {{#if:{{{width1|}}}| width="{{{width1}}}"}} {{#if:{{{class1|}}}| class="{{{class1}}}"}} {{#if:{{{style1|}}}{{{width1|}}}| style="{{#if:{{{width1|}}}|width:{{{width1}}};}}{{{style1}}}"}}>{{{1}}}</td> | <td {{#if:{{{span1|}}}| colspan="{{{span1}}}"}} {{#if:{{{rspan1|}}}| rowspan="{{{rspan1}}}"}} {{#if:{{{width1|}}}| width="{{{width1}}}"}} {{#if:{{{class1|}}}| class="{{{class1}}}"}} {{#if:{{{style1|}}}{{{width1|}}}| style="{{#if:{{{width1|}}}|width:{{{width1}}};}}{{{style1}}}"}}>{{{1}}}</td> | ||
| Linje 16: | Linje 16: | ||
| | | | ||
{{#ifeq:{{{1|}}}x|x|| | {{#ifeq:{{{1|}}}x|x|| | ||
<tr class="{{#if:{{{rclass|}}}|{{{rclass}}}|rad}} | <tr class="{{#if:{{{rclass|}}}|{{{rclass}}}|rad}}" {{#if:{{{rstyle|}}}| style="{{{rstyle}}}"}}> | ||
{{#ifeq:{{{2|}}}x|x|| | {{#ifeq:{{{2|}}}x|x|| | ||
<td {{#if:{{{span1|}}}| colspan="{{{span1}}}"}} {{#if:{{{rspan1|}}}| rowspan="{{{rspan1}}}"}} {{#if:{{{width1|}}}| width="{{{width1}}}"}} {{#if:{{{class1|}}}| class="{{{class1}}}"}} {{#if:{{{style1|}}}{{{width1|}}}| style="{{#if:{{{width1|}}}|width:{{{width1}}};}}{{{style1}}}"}}>{{{2}}}</td> | <td {{#if:{{{span1|}}}| colspan="{{{span1}}}"}} {{#if:{{{rspan1|}}}| rowspan="{{{rspan1}}}"}} {{#if:{{{width1|}}}| width="{{{width1}}}"}} {{#if:{{{class1|}}}| class="{{{class1}}}"}} {{#if:{{{style1|}}}{{{width1|}}}| style="{{#if:{{{width1|}}}|width:{{{width1}}};}}{{{style1}}}"}}>{{{2}}}</td> | ||
Siste sideversjon per 22. apr. 2026 kl. 01:10
Infoboks 4rad angir en rad i en infoboks med inntil fire celler. I tillegg kan det angis en parameter som brukes for å teste om raden skal skrives ut.
- Parametre, alt 1; uten test
1 – innholdet for celle1 2 – innholdet for celle2 3 – innholdet for celle3 4 – innholdet for celle4
- Parametre, alt 2; med test
1 – test om raden skal skrives ut 2 – innholdet for celle1 3 – innholdet for celle2 4 – innholdet for celle3 5 – innholdet for celle4
- Valgfrie parametre
rclass – endrer CSS-klassen for raden rstyle – valgfri CSS-stil for raden class1 – valgfri CSS-klasse for celle1 class2 – valgfri CSS-klasse for celle2 class3 – valgfri CSS-klasse for celle3 class4 – valgfri CSS-klasse for celle4 style1 – valgfri CSS-stil for celle1 style2 – valgfri CSS-stil for celle2 style3 – valgfri CSS-stil for celle3 style4 – valgfri CSS-stil for celle4 span1 – hvor mange celler skal celle1 span'es over (colspan) span2 – hvor mange celler skal celle2 span'es over (colspan) span3 – hvor mange celler skal celle3 span'es over (colspan) span4 – hvor mange celler skal celle4 span'es over (colspan) rspan1 – hvor mange rader skal celle1 span'es over (rowspan) rspan2 – hvor mange rader skal celle2 span'es over (rowspan) rspan3 – hvor mange rader skal celle3 span'es over (rowspan) rspan4 – hvor mange radet skal celle4 span'es over (rowspan) width1 – bredde for celle1 width2 – bredde for celle2 width3 – bredde for celle3 width4 – bredde for celle4
- Se også
- {{Infoboks start}}
- {{Infoboks bilde}}
- {{Infoboks rad}}
- {{Infoboks dobbeltrad}}
- {{Infoboks dobbeltbilde}}
- {{Infoboks overskrift}}
- {{Infoboks slutt}}