Module:Iraq Syria map date

require('strict')
local dts = require('Module:Date table sorting')._main
local p = {}
--[[
The purpose of this file is to have a centralised place where the dates which File:Syrian,_Iraqi,_and_Lebanese_insurgencies.png (and related files) is updated can be managed, instead of having to update them in different articles. 

To update, edit the strings (the parts between quotes) underneath each function.
For maintainability of modules being used on other-language Wikipedias, you must use ISO date: YYYY-MM-DD (i.e. 2015-12-09)
The output will be a correct wordy date format (i.e. "9 December 2015", or "9 tháng 12 năm 2015" if you're on Vietnamese Wikipedia)

Example usage: "(as of {{#invoke:Iraq Syria map date|syriadate}})"
--]]

function p.date( frame )
	return dts{"2026-02-06"}   -- [[commons:File:Syrian, Iraqi, and Lebanese insurgencies.svg]]
end
function p.iraqdate( frame )
	return dts{"2024-01-23"}   -- [[commons:File:Iraq_war_map.svg]]
end
function p.syriadate( frame )
	return dts{"2026-02-19"}   -- [[commons:File:Syrian_Civil_War_map.svg]]
end
function p.aleppo2date( frame )
	return dts{"2020-02-17"}   -- [[commons:File:Rif_Aleppo2.svg]]
end
function p.damascusdate( frame )
	return dts{"2018-05-22"}   -- [[commons:File:Rif_Damashq.svg]]
end
function p.mosuldate( frame )
	return dts{"2017-12-20"}   -- [[commons:File:Battle_of_Mosul_(2016–17).svg]]
end
function p.lebanondate( frame )
	return dts{"2022-10-22"}   -- [[commons:File:Lebanese_insurgency.svg]]
end
function p.raqqadate( frame )
	return dts{"2017-10-18"}   -- [[commons:File:Battle_of_Raqqa2.svg]]
end

return p

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.