Template:PhotoSwitcher

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(correction)
Line 51: Line 51:
 
| 12 = [[Image:Picture 122.jpg|center|350px]]
 
| 12 = [[Image:Picture 122.jpg|center|350px]]
  
{{GlobalText|EN=Q. Caelia Laeta, ministra, and M. Hortensia Maior, ex-flaminica Carmentalis, enjoying a moment during last Carmentalia.|FR=Q. Caelia Laeta, officiante, et M. Hortensia Maior, ex-flaminica Carmentalis, lors des dernières Carmentalia.|}}
+
{{GlobalText|EN=Q. Caelia Laeta, ministra, and M. Hortensia Maior, ex-flaminica Carmentalis, enjoying a moment during last Carmentalia.|FR=Q. Caelia Laeta, officiante, et M. Hortensia Maior, ex-flaminica Carmentalis, lors des dernières Carmentalia}}
  
 
| 13 = [[Image:CIMG8969 223733.jpg|center|350px]]
 
| 13 = [[Image:CIMG8969 223733.jpg|center|350px]]

Revision as of 17:20, 4 November 2010


| 7 =

Nova Roman sestertius.

| 8 =
Open door lunch.jpg


| 9 =
Sabinus ritual hercules.jpg


| 10 =
Lentulus concordia ritual thermae.jpg


| 11 =
Oppidum Fluminis Gilae Meeting 1.jpg


| 12 =

Q. Caelia Laeta, ministra, and M. Hortensia Maior, ex-flaminica Carmentalis, enjoying a moment during last Carmentalia.

| 13 =
CIMG8969 223733.jpg

Good security at XX Floralia Aquinci

| 14 =
Concordialia2763 005.jpg

The altar is ready for Concordialia, 2763 AUC.

| 15 =
Sarmatia.org-sd-photo006.jpg

Sarmatian Days, 2762 a.u.c.

| 16 =
M Lucretius augur sacrifices Sarmatia.jpg

Augur publicus M. Lucretius sacrifices in Sarmatia

| 17 =
MLA-lararium.JPG

| #default = Quadriga-sestertius-350.jpg|center|350px]]

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 106 and the index is now 1

The server time is 04:28:24. 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