Template talk:DailyPhoto

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(no edit warning and cat)
 
(document language function)
 
(One intermediate revision by one user not shown)
Line 2: Line 2:
  
 
This template is automatically generated each day.
 
This template is automatically generated each day.
 +
 +
==Other languages==
 +
 +
There's something that's been bothering me about the daily photo.  It has a descriptive caption in English.  That means we need to make a different auto-generating template for every language.  This seems a bit inefficient.  Is there any way we could have a text-less auto-generating photo which every different linguistic version of the main page could share, and either do without captions or have the captions generated separately?
 +
 +
- [[User:Aulus Apollonius Cordus|Cordus]] 20:52, 10 September 2007 (CEST)
 +
 +
:M. Octavius Gracchus has taken care of this. Go to [[NovaRoma:DailyPhotoData|DailyPhotoData]] and enter national language captions there, following this pattern:
 +
 +
* caption.EN=English caption 
 +
* caption.ES=Spanish caption 
 +
 +
Use the same two-letter code as the namespace that corresponds to the caption language. The correct caption is chosen. If a caption is missing in a particular language, the English  one is used by default. [[User:M. Lucretius Agricola|Agricola]] 06:23, 26 January 2008 (CET)
  
 
[[Category:Templates]]
 
[[Category:Templates]]

Latest revision as of 05:25, 26 January 2008

Do not edit this template

This template is automatically generated each day.

Other languages

There's something that's been bothering me about the daily photo. It has a descriptive caption in English. That means we need to make a different auto-generating template for every language. This seems a bit inefficient. Is there any way we could have a text-less auto-generating photo which every different linguistic version of the main page could share, and either do without captions or have the captions generated separately?

- Cordus 20:52, 10 September 2007 (CEST)

M. Octavius Gracchus has taken care of this. Go to DailyPhotoData and enter national language captions there, following this pattern:
* caption.EN=English caption  
* caption.ES=Spanish caption  

Use the same two-letter code as the namespace that corresponds to the caption language. The correct caption is chosen. If a caption is missing in a particular language, the English one is used by default. Agricola 06:23, 26 January 2008 (CET)

Personal tools