Template:Conj: Difference between revisions
Template page
More actions
m remove last "and" or "or" that shouldn't be displayed when there is only one parameter (which could pften be the case if I manage to use it in tl:technique) |
add lang parameter, remove reduplication of the localizable parts |
||
| Line 3: | Line 3: | ||
|{{#if:{{{4|}}} | |{{#if:{{{4|}}} | ||
|{{#if:{{{5|}}} | |{{#if:{{{5|}}} | ||
|, {{{2}}}, {{{3}}}, {{{4 | |, {{{2}}}, {{{3}}}, {{{4}}} | ||
|, {{{2}}}, {{{3 | |, {{{2}}}, {{{3}}} | ||
}} | }} | ||
|, {{{2 | |, {{{2}}} | ||
}} | }} | ||
}}<nowiki/> {{langSwitch|de=oder|en=or|fr=ou|lang={{{lang|}}}}} {{#if:{{{3|}}} | |||
|{{#if:{{{4|}}} | |||
|{{#if:{{{5|}}} | |||
|{{{5}}} | |||
|{{{4}}} | |||
}} | |||
|{{{3}}} | |||
}} | |||
|{{{2}}} | |||
}} | }} | ||
}} | }} | ||
| | | | ||
| Line 17: | Line 24: | ||
|{{#if:{{{4|}}} | |{{#if:{{{4|}}} | ||
|{{#if:{{{5|}}} | |{{#if:{{{5|}}} | ||
|, {{{2}}}, {{{3}}}, {{{4}}} {{ | |, {{{2}}}, {{{3}}}, {{{4}}} | ||
|, {{{2}}} | |, {{{2}}}, {{{3}}} | ||
}} | |||
|, {{{2}}} | |||
}} | |||
}}<nowiki/> {{int:and{{#if:{{{lang|}}}|/{{{lang}}}}}}} {{#if:{{{3|}}} | |||
|{{#if:{{{4|}}} | |||
|{{#if:{{{5|}}} | |||
|{{{5}}} | |||
|{{{4}}} | |||
}} | }} | ||
| | |{{{3}}} | ||
}} | }} | ||
| | |{{{2}}} | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||