יחידה:תאריך עברי: הבדלים בין גרסאות בדף
שיחת תבנית:רב/קישורים לתאריכים/דוגמאות3 |
אין תקציר עריכה |
||
| שורה 138: | שורה 138: | ||
function same(gdate) | function same(gdate) | ||
return frame:callParserFunction("#זמןמ:d-m-Y", gdate) | return frame:callParserFunction("#זמןמ:d-m-Y", gdate) | ||
end | end | ||
function to(gdate) | function to(gdate) | ||
if frame.args["links"] == "yes" | if frame.args["links"] == "yes" | ||
then return "[[" .. frame:callParserFunction("#זמןמ:j בF", gdate) .. "]] [[" | then return "[[" .. frame:callParserFunction("#זמןמ:j בF", gdate) .. "]] [[" | ||
.. | .. frame:callParserFunction("#זמןמ:Y", gdate) .. "]]" end | ||
return frame:callParserFunction("#זמןמ:j בF ", gdate) | return frame:callParserFunction("#זמןמ:j בF Y", gdate) | ||
end | end | ||
function tomonth(gdate) | function tomonth(gdate) | ||
if frame.args["links"] == "yes" | if frame.args["links"] == "yes" | ||
then return "[[" .. frame:callParserFunction("#זמןמ:F", gdate) .. "]] [[" | then return "[[" .. frame:callParserFunction("#זמןמ:F", gdate) .. "]] [[" | ||
.. | .. frame:callParserFunction("#זמןמ:Y", gdate) .. "]]" end | ||
return frame:callParserFunction("#זמןמ:F ", gdate) | return frame:callParserFunction("#זמןמ:F Y", gdate) | ||
end | end | ||
| שורה 171: | שורה 161: | ||
function toyear(gdate) | function toyear(gdate) | ||
if frame.args["links"] == "yes" | if frame.args["links"] == "yes" | ||
then return "[[" .. | then return "[[" .. frame:callParserFunction("#זמןמ:Y", gdate) .. "]]" end | ||
return | return frame:callParserFunction("#זמןמ:Y", gdate) | ||
end | end | ||