Template:ShowFilms: Difference between revisions

From AndelainFilms
No edit summary
No edit summary
 
(50 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--   
<!-- Template
1=category
2=sort
3=order
4=prop that must be non-blank
-->
<!--  Columns
1=name
1=name
2=description
2=description
Line 7: Line 13:
6=pic
6=pic
7=link
7=link
8=awards
9=reviews
-->
-->


I've made {{toint | {{#ask:[[List::Films]]
I've made {{toint |  
{{#ifeq: {{{1}}}|||  [[Format::{{{1}}}]] }}
{{#ask:[[List::Films]] {{#if: {{{1}}}|[[Format::{{{1}}}]]|}} {{#if: {{{4|}}}|[[{{{4}}}::!]]|}}
||format=count}} }} films {{#ifeq: {{{1}}}||| of category '{{{1}}}' }} with a total length of {{toint | {{#ask:[[List::Films]]
||format=count}} }} films {{#if: {{{1|}}}| in category '{{{1}}}'|}}{{#if: {{{4|}}}| which have '{{{4}}}'|}} with a total length of {{#ifeq:
|?length|format=sum}} }} minutes.
{{#expr: floor(
{{#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}}}::!]]|}}
{{#ifeq: {{{1}}}|||  [[Format::{{{1}}}]] }}
| mainlabel=Title-
| mainlabel=Title-
| ?Description  
| ?Description  
Line 23: Line 38:
| ?Pic  
| ?Pic  
| ?Link  
| ?Link  
| ?Awards
| ?Reviews


| format=plainlist  
| format=plainlist  
Line 30: Line 47:
| link=none
| link=none


| sort=Length
| sort={{{2|Created}}}
| order=asc
| order={{{3|desc}}}
}}
}}
__NOCACHE__
__NOCACHE__
{{#ask:[[List::Films]]
| mainlabel=Title-
| ?Description
| ?Length
| ?Created
| ?Format
| ?Pic
| ?Link
| sort=Length
| order=asc
}}

Latest revision as of 17:34, 13 December 2023


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