Template:PhotoSwitcher

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
m (nearly random)
m
Line 1: Line 1:
<onlyinclude>{{#switch: {{#expr: {{#time: s}} mod 14 }}
+
<onlyinclude>{{#switch: {{#expr: {{#time: z}} mod 14 }}
 
| 0 = [[Image:Day 3 (088) - Vindolanda - Paulus, Laureatus, Albucius - -Cordus-.jpg|center|350px]]<br/>{{GlobalText|EN=T. Amatius Paulus, C. Moravius Laureatus, & P. Memmius Albucius at [[Vindolanda]], during the [[V Conventus Novae Romae]]|HU=T. Amatius Paulus, C. Moravius Laureatus és P. Memmius Albucius [[Vindolanda|Vindolandában]], az [[V Conventus Novae Romae]] alatt.|PT=T. Amatius Paulus, C. Moravius Laureatus e P. Memmius Albucius em [[PT:Vindolanda|Vindolanda]], durante o [[V Conventus Novae Romae]]|ES=T. Amatius Paulus, C. Moravius Laureatus y P. Memmius Albucius en [[ES:Vindolanda|Vindolanda]], durante el [[V Conventus Novae Romae]]|IT=T. Amatius Paulus, C. Moravius Laureatus e P. Memmus Albicius a [[IT:Vindolanda|Vindolanda]], durante il [[V Conventus Novae Romae]]|RO=T. Amatius Paulus, C. Moravius Laureatus si P. Memmus Albicius in [[Vindolanda]], in timpul [[V Conventus Novae Romae]].}}
 
| 0 = [[Image:Day 3 (088) - Vindolanda - Paulus, Laureatus, Albucius - -Cordus-.jpg|center|350px]]<br/>{{GlobalText|EN=T. Amatius Paulus, C. Moravius Laureatus, & P. Memmius Albucius at [[Vindolanda]], during the [[V Conventus Novae Romae]]|HU=T. Amatius Paulus, C. Moravius Laureatus és P. Memmius Albucius [[Vindolanda|Vindolandában]], az [[V Conventus Novae Romae]] alatt.|PT=T. Amatius Paulus, C. Moravius Laureatus e P. Memmius Albucius em [[PT:Vindolanda|Vindolanda]], durante o [[V Conventus Novae Romae]]|ES=T. Amatius Paulus, C. Moravius Laureatus y P. Memmius Albucius en [[ES:Vindolanda|Vindolanda]], durante el [[V Conventus Novae Romae]]|IT=T. Amatius Paulus, C. Moravius Laureatus e P. Memmus Albicius a [[IT:Vindolanda|Vindolanda]], durante il [[V Conventus Novae Romae]]|RO=T. Amatius Paulus, C. Moravius Laureatus si P. Memmus Albicius in [[Vindolanda]], in timpul [[V Conventus Novae Romae]].}}
 
| 1 = [[Image:Day 5 (131) - Arbeja - Astur, Laureatus, Paulus - -Cordus-.jpg|center|350px]]<br/>{{GlobalText|EN=}}
 
| 1 = [[Image:Day 5 (131) - Arbeja - Astur, Laureatus, Paulus - -Cordus-.jpg|center|350px]]<br/>{{GlobalText|EN=}}
Line 23: Line 23:
 
The time is {{#time: H:i:s}}  
 
The time is {{#time: H:i:s}}  
  
Note: Now trying seconds as the key instead of days. This makes the image nearly random at each load and limits the number of images to 60.
+
Note: Try seconds (s) as the key instead of day of the year (z). This makes the image nearly random at each load and limits the number of images to 60, but the Mediawiki cache slows down the rotation.
  
 
[[Category: Templates]]</noinclude>
 
[[Category: Templates]]</noinclude>

Revision as of 05:14, 7 May 2010

Open door lunch.jpg


Simple photo rotator

The day of the year is now 106 and the index is now 8

The time is 11:26:48

Note: Try seconds (s) as the key instead of day of the year (z). This makes the image nearly random at each load and limits the number of images to 60, but the Mediawiki cache slows down the rotation.

Personal tools