Modul:Iraq Syria map date: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
import improvements from enwiki
Membalikkan revisi 10423742 oleh BurritoBazooka (bicara) revert to last working version
Baris 1:
local p = {}
require('Module:No globals')
local dts = require('Module:Dts')._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.
Baris 13 ⟶ 11:
 
function p.date( frame )
return dts{("2015-12-09"}, frame) -- [[commons:File:Syrian,_Iraqi,_and_Lebanese_insurgencies.png]]
end
function p.iraqdate( frame )
return dts{("2015-11-30"}, frame) -- [[commons:File:Iraq_war_map.png]]
end
function p.syriadate( frame )
return dts{("2015-12-09"}, frame) -- [[commons:File:Syrian_civil_war.png]]
end
function p.aleppo2date( frame )
return dts{("2015-12-07"}, frame) -- [[commons:File:Rif Aleppo2.svg]]
end
function p.lebanondate( frame )
return dts{("2015-10-16"}, frame) -- [[commons:File:Lebanese_insurgency.png]]
end
 
function dts( d, frame )
return frame:expandTemplate{ title="Dts", args = {d} }
end