Template:ShowFilms: Difference between revisions

From AndelainFilms
No edit summary
No edit summary
Line 18: Line 18:
{{#ifeq: {{{1}}}|||  [[Format::{{{1}}}]] }}
{{#ifeq: {{{1}}}|||  [[Format::{{{1}}}]] }}
||format=count}}  }} films {{#if: {{{1|}}}| in category '{{{1}}}'|}} with a total length of  
||format=count}}  }} films {{#if: {{{1|}}}| in category '{{{1}}}'|}} with a total length of  
{{#expr: floor( {{#ask:[[List::Films]] |?length|format=sum}} /60 )}} hours and
{{#expr: floor( {{#ask:[[List::Films]] {{#ifeq: {{{1}}}||| [[Format::{{{1}}}]] }}  |?length|format=sum}} /60 )}} hours and
{{#expr: {{#ask:[[List::Films]] |?length|format=sum}} mod 60 }} minutes.
{{#expr: {{#ask:[[List::Films]] {{#ifeq: {{{1}}}||| [[Format::{{{1}}}]] }}  |?length|format=sum}} mod 60 }} minutes.


{{#ask:[[List::Films]]
{{#ask:[[List::Films]]

Revision as of 16:27, 13 December 2023

I've made 0 films with a total length of 0 hours and 0 minutes.