The center for all Wikitravel images!

Template talk:Imagecredit

From Wikitravel Shared
Jump to: navigation, search

File:Gateway of India.jpg



Gateway of India

The Gateway of India is Bombay's most recognizable symbol. The foundation stone was laid in 1911 to commemorate the visit of King George to India. It was completed in 1914.

Image Details






Code

{{Imagecredit
|credit= [[Wikipedia: User:Nichalp| Nichalp]], [[Wikipedia: User:Muriel Gottrop | Muriel Gottrop]]
|captureDate=16 March 2005
|location = Mumbai, India 
|source=[[Wikipedia:Image:GatewayIndia.jpg|Wikipedia]]
|caption=Gateway of India
|description=The '''Gateway of India''' is Bombay's most recognizable symbol. The foundation stone was laid in 1911 to commemorate the visit of King George to India. It was completed in 1914.
}}

Diskusion

Excellent! Do you think it could somehow be extended to include alternative descriptions/details in other languages too? -- Ricardo (Rmx) 22:12, 28 August 2006 (EDT)

I have wondered if that can be done. There is a way to add conditional statements in Mediawiki templates. We will need to repeat the parameters in different languages (e.g. en-location, pt-location, etc.) and whichever parameters are entered, the template can be shown in those languages. Will need to investigate further. — Ravikiran r 05:36, 29 August 2006 (EDT)
I've done that on DE. You give me translations and I'll give you the template. -- Andrew Haggard (Sapphire) 23:12, 29 August 2006 (EDT)
Me no understand. Are you saying that you did this on the de:Wikitravel? Ricardo is asking if this template can be used to display the description in multiple languages right here on shared. — Ravikiran r 04:11, 30 August 2006 (EDT)
When I was creating de:Template:Kurzdaten I noticed that it's possible to create multiple options. Instead of having only "credit=", which displays in English it's also possible to have another option like the Hindi word for "credit" and if someone types in the section it will display the creator's name following the the Hindi word. So actually, you can't translate the description without a translators help, but we could translate the headers, which might be a start. -- Sapphire