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 | {{#ask:[[List::Films]] | I've made {{toint | | ||
{{#if: {{{1}}}| | {{#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( {{#ask:[[List::Films]] {{#if: {{{1}}}| [[Format::{{{1}}}]] }} {{#if: {{{4}}}|[[{{{4}}}::!]] |}} |?length|format=sum}} /60 )}} | {{#expr: floor( | ||
|0||{{#expr: floor( {{#ask:[[List::Films]] {{#if: {{{1}}}| [[Format::{{{1}}}]] {{#if: {{{4}}}|[[{{{4}}}::!]] |}} | {{#ask:[[List::Films]]{{#if: {{{1}}}|[[Format::{{{1}}}]]|}}{{#if: {{{4}}}|[[{{{4}}}::!]]|}}}} | ||
{{#expr: {{#ask:[[List::Films]] {{#if: {{{1}}}| [[Format::{{{1}}}]] {{#if: {{{4}}}|[[{{{4}}}::!]] |}} | |?length|format=sum}} /60 )}}|0||{{#expr: floor( {{ | ||
{{#ask:[[List::Films]]{{#if: {{{1}}}|[[Format::{{{1}}}]]|}}{{#if: {{{4}}}|[[{{{4}}}::!]]|}}}} | |||
|?length|format=sum}} /60 )}} hours and }} | |||
{{#expr: {{ | |||
{{#ask:[[List::Films]]{{#if: {{{1}}}|[[Format::{{{1}}}]]|}}{{#if: {{{4}}}|[[{{{4}}}::!]]|}}}} | |||
|?length|format=sum}} mod 60 }} minutes. | |||
{{#ask:[[List::Films]] | {{#ask:[[List::Films]]{{#if: {{{1}}}|[[Format::{{{1}}}]]|}}{{#if: {{{4}}}|[[{{{4}}}::!]]|}} | ||
{{#if: {{{1}}}|[[Format::{{{1}}}]] |}} | |||
{{#if: {{{4}}}|[[{{{4}}}::!]] |}} | |||
| mainlabel=Title- | | mainlabel=Title- |
Revision as of 16:55, 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>