Template:PhotoSwitcher

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(subtitles)
(better format photo added)
Line 64: Line 64:
 
{{GlobalText|EN= A modern Roman [[lararium]].}}
 
{{GlobalText|EN= A modern Roman [[lararium]].}}
  
| 16 = [[Image:CIMG8877_230740.jpg|center|350px]]
+
| 16 = [[Image:Cordus&Lentulus pallium.JPG|center|350px]]
  
{{GlobalText|EN= [[Aulus Apollonius Cordus (Nova Roma)|A. Apollonius Cordus]] and [[Gnaeus Cornelius Lentulus (Nova Roma)|Cn. Cornelius Lentulus]] performing a scholarly exhibition of Roman clothing at the [[Floralia Festival|Floralia Aquincensia Nova Romana]] in Budapest, Hungary. Featuring the [[pallium]].}}
+
{{GlobalText|EN= [[Aulus Apollonius Cordus (Nova Roma)|A. Apollonius Cordus]] and [[Gnaeus Cornelius Lentulus (Nova Roma)|Cn. Cornelius Lentulus]] performing a scholarly exhibition of Roman clothing at the [[Floralia Aquincensia Nova Romana|Floralia Festival]] in Budapest, Hungary. Featuring the [[pallium]].}}
  
 
| 17 = [[Image:Romflo_224.jpg|center|350px]]
 
| 17 = [[Image:Romflo_224.jpg|center|350px]]
Line 74: Line 74:
 
| 18 = [[Image:Floralia.jpg|center|350px]]
 
| 18 = [[Image:Floralia.jpg|center|350px]]
  
{{GlobalText|EN= ''Legatus pro praetore'' of [[Provincia Pannonia (Nova Roma)|Pannonia]] and priest [[Gnaeus Cornelius Lentulus (Nova Roma)|Cn. Lentulus]], assisted by Nova Romans, sacrifices for the well-being of [[Nova Roma]] at the altar of Aquincum, during the [[Floralia Festival|Floralia Aquincensia Nova Romana]] in Budapest, Hungary.}}
+
{{GlobalText|EN= ''Legatus pro praetore'' of [[Provincia Pannonia (Nova Roma)|Pannonia]] and priest [[Gnaeus Cornelius Lentulus (Nova Roma)|Cn. Lentulus]], assisted by Nova Romans, sacrifices for the well-being of [[Nova Roma]] at the altar of Aquincum, during the [[Floralia Aquincensia Nova Romana|Floralia Festival]] in Budapest, Hungary.}}
  
 
| #default = [[Image:Sestertius-Signum-Declaratio.jpg|center|350px]]
 
| #default = [[Image:Sestertius-Signum-Declaratio.jpg|center|350px]]

Revision as of 11:37, 14 August 2011

Sestertius-Signum-Declaratio.jpg

Nova Roman sestertius.


Contents

Simple photo rotator

Usage

Put {{PhotoSwitcher}} in any page. Best results will be on a page with two columns or within a <div> element about 50% of page width wide.

Development

[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.]

The number in the "mod" statement should be equal to the number of photos in the list.

The list is numbered from zero, not from one, so the last photo number will be one less than the mod number.

If the mod number is changed, also change the mod number in the documentation, so the index number is displayed here correctly.

The day of the year is now 329 and the index is now 6

The server time is 21:56:43. The index will increment at midnight, server time.

Choosing Photos

  • All images should be in landscape (horizontal) orientation. They will be resized to 350 pixels wide automatically. If the image is taller than it is wide, then resizing to 350px horizontally will still leave it much too large vertically.
  • Use only top quality pictures - nothing blurred, dark, murky, out of focus, or with a tree seeming to grow from someone's head.
  • Good subjects include historical artifacts, historic sites, groups of Nova Roma citizens, citizens at Roman sites, Nova Roma events.

Add photo to gallery

Add this tag: [[Category:Main page]] to the photo description. This will place the photos in Category:Main page.

Personal tools