« Modèle:Zz » : différence entre les versions
De BoyWiki
test |
test |
||
Ligne 1 : | Ligne 1 : | ||
<includeonly>{{{1}}}</includeonly> | <includeonly>{{#if:{{{texte|}}} | ||
| {{#ifeq:{{{mode|ligne}}} | paragraphe | |||
| <p class="lang-{{{1|}}}" lang="{{{1|}}}" | |||
| <span class="lang-{{{1|}}}" lang="{{{1|}}}" | |||
}} | |||
{{#if:{{{dir|}}} | |||
| dir="{{{dir|}}}" | |||
}} | |||
{{#ifeq:{{{mode|ligne}}} | paragraphe | |||
| >{{{texte|}}}</p> | |||
| >{{{texte|}}}</span> | |||
}}{{#if:{{{trans|}}} | |||
| (<span>{{{trans|}}}</span>) | |||
}} | |||
| {{#ifeq:{{{3|}}} | paragraphe | |||
| {{#switch:{{{2|}}} | |||
|ltr | |||
|rtl=<p class="lang-{{{1|}}}" lang="{{{1|}}}" dir="{{{2|}}}">{{{4|}}}</p> | |||
|#default=<p class="lang-{{{1|}}}" lang="{{{1|}}}">{{{4|}}}</p> | |||
}} | |||
| {{#ifeq:{{{2|}}} | paragraphe | |||
| <p class="lang-{{{1|}}}" lang="{{{1|}}}">{{{3|}}}</p> | |||
| {{#switch:{{{2|}}} | |||
|ltr | |||
|rtl=<span class="lang-{{{1|}}}" lang="{{{1|}}}" dir="{{{2|}}}">{{{3|}}}</span> | |||
|#default=<span class="lang-{{{1|}}}" lang="{{{1|}}}">{{{2|}}}</span> | |||
}} | |||
}} | |||
}}{{#if:{{{trans|}}} | |||
| (<span>{{{trans|}}}</span>) | |||
}} | |||
}}</includeonly><noinclude> | |||
</noinclude> |
Version du 9 mars 2009 à 21:00