Plantilla:Episodi: diferència entre les revisions
Cap resum de modificació |
Etiqueta: Reversió |
||
Línia 4: | Línia 4: | ||
<group layout="horizontal"> | <group layout="horizontal"> | ||
<data><default>{{ #if: {{{A|<includeonly>|</includeonly>}}} | <data><default>{{ #if: {{{A|<includeonly>|</includeonly>}}} | ||
| [[Episodi {{{A}}}{{!}}← Anterior]] | |||
| {{ #ifexpr: {{ #len: {{PAGENAME}} }} < 13 | |||
| {{ #ifexist: Episodi {{ #expr: {{ #if: {{{#|}}} | {{{#}}} | {{ #explode: {{PAGENAME}} || 1 }} }} - 1 }} | |||
| [[Episodi {{ #expr: {{ #if: {{{#|}}} | {{{#}}} | {{ #explode: {{PAGENAME}} || 1 }} }} - 1 }}{{!}}← Anterior]] | |||
| ← Anterior | |||
}} | |||
| [[Episodi {{{A}}}{{!}}← Anterior]] | |||
}} | |||
}}</default></data> | }}</default></data> | ||
{{PAGENAME}} | {{PAGENAME}} | ||
<data><default>{{#if: {{{P|<includeonly>|</includeonly>}}} | <data><default>{{#if: {{{P|<includeonly>|</includeonly>}}}|[[Episodi {{{P}}}{{!}}Següent →]]|{{#ifexpr:{{#len:{{PAGENAME}}}} < 13|{{#ifexist:Episodi {{#expr:{{ #if: {{{#|}}} | {{{#}}} | {{ #explode: {{PAGENAME}} || 1 }} }}+1}}|[[Episodi {{#expr:{{#if:{{{#|}}}|{{{#}}}|{{#explode:{{PAGENAME}}||1}}}}+1}}{{!}}Següent →]]|Següent →}}|[[Episodi {{{P}}}{{!}}Següent →]]}}}}</default></data> | ||
</group> | </group> | ||
<group> | <group> |