Template:ShowFilms: Difference between revisions
From AndelainFilms
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
9=reviews | 9=reviews | ||
--> | --> | ||
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. | ||
Revision as of 17:16, 13 December 2023
I've made First argument to "number_format" must be a number. films with a total length of {{#ifeq:
0|0||Expression error: Unrecognised punctuation character "[".
{{#expr: Template:0.0e+0 mod 60 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>