Template talk:Ramadan

From Wikivoyage
Latest comment: 8 years ago by Andyrom75 in topic Removing old dates
Jump to navigation Jump to search

Date formats

[edit]

This template is used in a variety of countries that do not use US English, such as Brunei, India, Malaysia, Pakistan and Singapore.

Therefore, the dates used should conform with our Mos - specifically: wv:dates. --W. Frankemailtalk 14:47, 14 September 2013 (UTC)Reply

Islamic calendar

[edit]

First of all, dates mentioned are not correct (9 July – 7 August 2013), and second, this template should be removed from the articles of some countries because some countries such as Pakistan, India, Bangladesh are always a day behind the Islamic calendar and perhaps we need a separate template for those articles. --Saqib (talk) 21:40, 18 December 2013 (UTC)Reply

Region vs. country

[edit]

I'm not sure I love the phrasing of "If you're planning to travel to a Muslim region during Ramadan," but considering that this template is - correctly - linked in articles about Muslim-majority areas of non-Muslim-majority countries, including Jammu and Kashmir, Lakshadweep, Autonomous Region in Muslim Mindanao and Southern Gulf Coast of Thailand, it can't be restricted to countries only. If you can think of a better word than "region," please change the phrasing. Ikan Kekek (talk) 00:55, 13 December 2014 (UTC)Reply

Hold it - someone had removed it from Autonomous Region in Muslim Mindanao? Why? We're trying to serve the traveller, so this template should be in articles for every largely Muslim region. Ikan Kekek (talk) 00:57, 13 December 2014 (UTC)Reply
The other option, which I would support, is to restore the previous code in the template and not use it in topic articles. I think that would be fine, because that way, we'd be sacrificing a template in a single topic article for a much more elegant template in dozens of articles. Ikan Kekek (talk) 01:08, 13 December 2014 (UTC)Reply
The whole point of this template is so that we don't have to update the same info in multiple places, so I really think we should avoid going to cut & paste solutions, which inevitably get missed when updates are done. There isn't an easy way to determine if the template is being included in a topic article or not, but it would be easy enough to default to "If you are traveling to <insert_page_name_here>..." and to then allow an override for topic articles that would change the text to something like "if you are traveling to a Muslim region...", or even just "if you are traveling..." Is that what's needed, or is it something else? Is there a preferred text for the non-default case? -- Ryan (talk) 01:15, 13 December 2014 (UTC)Reply
I've restored the original text for all pages except Islam and Autonomous Region in Muslim Mindanao. Does that do what's needed? Or would something else be better? -- Ryan (talk) 01:21, 13 December 2014 (UTC)Reply
I like your idea of "If you are traveling to <insert_page_name_here>" with an override for topic articles. Ikan Kekek (talk) 01:23, 13 December 2014 (UTC)Reply
The new parameter option of "suppressPageName" seems to work very well. Thanks! --Ttcf (talk) 02:15, 13 December 2014 (UTC)Reply

Removing old dates

[edit]

The 2016 Ramadan already ended several months ago, and I tried to remove this old date as it's no longer of any use to travelers. However, I still don't have a clue how this code stuff works and my edit apparently removed the green infobox too :( . Is there someone here familiar with templates (maybe Ryan or Andy) who'd like to help? ϒpsilon (talk) 10:41, 1 September 2016 (UTC)Reply

Done. PS The 2016 info would be automatically hidden on 2017 (and so on for future years). --Andyrom75 (talk) 10:46, 1 September 2016 (UTC)Reply