Template:ShowFilms: Difference between revisions

From AndelainFilms
No edit summary
No edit summary
 
(93 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ask:[[list::films]]
<!-- Template
| mainlabel=Title
1=category
| ?Description
2=sort
| ?Length
3=order
| ?Creation
4=prop that must be non-blank
| ?Format
-->
| ?Pic
<!--  Columns
| ?Link
1=name
2=description
3=length
4=creation
5=format
6=pic
7=link
8=awards
9=reviews
-->
 
I've made {{toint |
{{#ask:[[List::Films]] {{#if: {{{1}}}|[[Format::{{{1}}}]]|}} {{#if: {{{4|}}}|[[{{{4}}}::!]]|}}
||format=count}} }} films {{#if: {{{1|}}}| in category '{{{1}}}'|}}{{#if: {{{4|}}}| which have '{{{4}}}'|}} with a total length of {{#ifeq:
{{#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]] {{#if: {{{1}}}|[[Format::{{{1}}}]]|}} {{#if: {{{4|}}}|[[{{{4}}}::!]]|}}
| mainlabel=Title-
| ?Description  
| ?Length  
| ?Created
| ?Format  
| ?Pic  
| ?Link  
| ?Awards
| ?Reviews


| format=plainlist  
| format=plainlist  
Line 12: Line 45:
| introtemplate=FilmIntro
| introtemplate=FilmIntro
| outrotemplate=FilmOutro
| outrotemplate=FilmOutro
}}
| link=none
 


{{#ask:[[list::films]]
| sort={{{2|Created}}}
| mainlabel=Title
| order={{{3|desc}}}
| ?Has image=
| ?Length=Length in minutes
| ?Created
| ?Link
| sort=Created
| order=desc
| headers=plain
| template=FilmRow
}}
}}
__NOCACHE__
__NOCACHE__

Latest revision as of 17:34, 13 December 2023


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