Template:ShowFilms: Difference between revisions

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


{{#ask:[[List::Films]]{{#if: {{{1}}}|[[Format::{{{1}}}]]|}}{{#if: {{{4}}}|[[{{{4}}}::!]]|}}
{{#ask:[[List::Films]] {{#if: {{{1}}}|[[Format::{{{1}}}]]|}} {{#if: {{{4}}}|[[{{{4}}}::!]]|}}


| mainlabel=Title-
| mainlabel=Title-

Revision as of 16:56, 13 December 2023

I've made First argument to "number_format" must be a number. }} films with a total length of |0||Expression error: Unrecognised punctuation character "{". hours and }} Expression error: Unrecognised punctuation character "{". minutes.

<ul><li>"{{{4}}}" contains a listed "{" character as part of the property label and has therefore been classified as invalid.</li> <!--br--><li>The part "!" of the query was not understood.Results might not be as expected.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>