پاورپوینت کامل پودمان:Coordinates 105 اسلاید در PowerPoint


در حال بارگذاری
10 جولای 2025
پاورپوینت
17870
1 بازدید
۷۹,۷۰۰ تومان
خرید

توجه : این فایل به صورت فایل power point (پاور پوینت) ارائه میگردد

 پاورپوینت کامل پودمان:Coordinates 105 اسلاید در PowerPoint دارای ۱۰۵ اسلاید می باشد و دارای تنظیمات کامل در PowerPoint می باشد و آماده ارائه یا چاپ است

شما با استفاده ازاین پاورپوینت میتوانید یک ارائه بسیارعالی و با شکوهی داشته باشید و همه حاضرین با اشتیاق به مطالب شما گوش خواهند داد.

لطفا نگران مطالب داخل پاورپوینت نباشید، مطالب داخل اسلاید ها بسیار ساده و قابل درک برای شما می باشد، ما عالی بودن این فایل رو تضمین می کنیم.

توجه : در صورت  مشاهده  بهم ریختگی احتمالی در متون زیر ،دلیل ان کپی کردن این مطالب از داخل فایل می باشد و در فایل اصلی پاورپوینت کامل پودمان:Coordinates 105 اسلاید در PowerPoint،به هیچ وجه بهم ریختگی وجود ندارد


بخشی از متن پاورپوینت کامل پودمان:Coordinates 105 اسلاید در PowerPoint :

توضیحات این پودمان می‌تواند در پودمان:Coordinates/توضیحات قرار گیرد.

— بخش‌هایی از این پودمان جهت فارسی‌سازی بهتر تغییر یافته‌است. لطفاً هنگام به‌روزرسانی کاملاً دقت کنید.
–نسخه درست
–[[
This module is intended to replace the functionality of {{Coord}} and related
templates. It provides several methods, including

{{#invoke:Coordinates | coord }} : General function formatting and displaying
coordinate values.

{{#invoke:Coordinates | dec2dms }} : Simple function for converting decimal
degree values to DMS format.

{{#invoke:Coordinates | dms2dec }} : Simple function for converting DMS format
to decimal degree format.

{{#invoke:Coordinates | link }} : Export the link used to reach the tools

]]

require('Module:No globals')

— خط زیر برای بومی‌سازی ضروری است
local convert = require( "Module:Numeral converter" ).convert;
local math_mod = require("Module:Math")
local coordinates = {};

local current_page = mw.title.getCurrentTitle()
local page_name = mw.uri.encode( current_page.prefixedText, 'WIKI' );
local coord_link = '//tools.wmflabs.org/geohack/geohack.phplanguage=fa&pagename=' .. page_name .. '&params='

–[[ Helper function, replacement for {{coord/display/title}} ]]
local function displaytitle(s, notes)
local l = "[[دستگاه مختصات جغرافیایی|مختصات]]: " .. s
local co = '<span id="coordinates">' .. l .. notes .. '</span>';
return '<span style="font-size: small;">' .. co .. '</span>';
end

–[[ Helper function, Replacement for {{coord/display/inline}} ]]
local function displayinline(s, notes)
return s .. notes
end

–[[ Helper function, used in detecting DMS formatting ]]
local function dmsTest(first, second)
if type(first) ~= 'string' or type(second) ~= 'string' then
return nil
end
local s = (first .. second):upper()
return s:find('^[NS][EW]$') or s:find('^[EW][NS]$')
end

–[[ Wrapper function to grab args, see Module:Arguments for this function's documentation. ]]
local function makeInvokeFunc(funcName)
return function (frame)
local args = require('Module:Arguments').getArgs(frame, {
wrappers = 'الگو:Coord'
})
return coordinates[funcName](args, frame)
end
end

–[[ Helper function, handle optional args. ]]
local function optionalArg(arg, supplement)
return arg and arg .. supplement or ''
end

–[[
Formats any error messages generated for display
]]
local function errorPrinter(errors)
local result = ""
for i,v in ipairs(errors) do
local errorHTML = '<strong class="error">مختصات: ' .. v[2] .. '</strong>'
result = result .. errorHTML .. "<br />"
end
return result
end

–[[
Determine the required CSS class to display coordinates

Usually geo-nondefault is hidden by CSS, unless a user has overridden this for himself
default is the mode as specificied by the user when calling the {{coord}} template
mode is the display mode (dec or dms) that we will need to determine the css class for
]]
local function displayDefault(default, mode)
if default == "" then
default = "dec"
end

if default == mode then
return "geo-default"
else
return "geo-nondefault"
end
end

–[[
specPrinter

Output formatter. Takes the structure generated by either parseDec
or parseDMS and formats it for inclusion on Wikipedia.
]]
local function specPrinter(args, coordinateSpec)
local uriComponents = coordinateSpec["param"]
if uriComponents == "" then
— RETURN error, should never be empty or nil
return "خطا: پارامتر خالی است"
end
if args["name"] then
uriComponents = uriComponents .. "&title=" .. mw.uri.encode(coordinateSpec["name"])
end

local geodmshtml = '<span class="geo-dms" title="نقشه‌ها، عکس‌های هوایی، و دیگر داده‌های این موقعیت">'
.. '<span class="latitude">' .. convert("fa", coordinateSpec["dms-lat"]) .. '</span> '
.. '<span class="longitude">' .. convert("fa", coordinateSpec["dms-long"]) .. '</span>'
.. '</span>'

local lat = tonumber( coordinateSpec["dec-lat"] ) or 0
local geodeclat
if lat < 0 then
— FIXME this breaks the pre-existing precision
geodeclat = '<span dir="ltr">' .. tostring(coordinateSpec["dec-lat"]):sub(2) .. "°</span>جنوبی"
else
geodeclat = '<span dir="ltr">' .. (coordinateSpec["dec-lat"] or 0) .. "°</span>شمالی"
end

local long = tonumber( coordinateSpec["dec-long"] ) or 0
local geodeclong
if long < 0 then
— FIXME does not handle unicode minus
geodeclong = '<span dir="ltr">' .. tostring(coordinateSpec["dec-long"]):sub(2) .. "°</span>غربی"
else
geodeclong = '<span dir="ltr">' .. (coordinateSpec["dec-long"] or 0) .. "°</span>شرقی"
end

local geodechtml = '<span class="geo-dec" title="نقشه‌ها، عکس‌های هوایی، و دیگر داده‌های این موقعیت">'
.. convert("fa", geodeclat) .. ' '
.. convert("fa", geodeclong)
.. '</span>'

local geonumhtml = '<span class="geo">'
.. coordinateSpec["dec-lat"] .. '; '
.. coordinateSpec["dec-long"]
.. '</span>'

local inner = '<span class="' .. displayDefault(coordinateSpec["default"], "dms" ) .. '">' .. geodmshtml .. '</span>'
.. '<span class="geo-multi-punct">&#xfeff; / &#xfeff;</span>'
.. '<span class="' .. displayDefault(coordinateSpec["default"], "dec" ) .. '">';

if not args["name"] then
inner = inner .. geodechtml
.. '<span style="display:none">&#xfeff; / ' .. geonumhtml .. '</span></span>'
else
inner = inner .. '<span class="vcard">' .. geodechtml
.. '<span style="display:none">&#xfeff; / ' .. geonumhtml .. '</span>'
.. '<span style="display:none">&#xfeff; (<span class="fn org">'
.. args["name"] .. '</span>)</span></span></span>'
end

return '<span class="plainlinks nourlexpansion">' ..
'[' .. coord_link .. uriComponents .. ' ' .. inner .. ']' .. '</span>'
end

–[[ Helper function, convert decimal to degrees ]]
local function convert_dec2dms_d(coordinate)
local d = '<span dir="ltr">' .. math_mod._round( coordinate, 0 ) .. "°</span>"
return d .. ""
end

–[[ Helper function, convert decimal to degrees and minutes ]]
local function convert_dec2dms_dm(coordinate)
coordinate = math_mod._round( coordinate * 60, 0 );
local m = coordinate % 60;
coordinate = math.floor( (coordinate – m) / 60 );
local d = '<span dir="ltr">' .. coordinate % 360 .."°</span>"

return d .. string.format( '<span dir="ltr">%02d</span>', m )
end

–[[ Helper function, convert decimal to degrees, minutes, and seconds ]]
local function convert_dec2dms_dms(coordinate)
coordinate = math_mod._round( coordinate * 60 * 60, 0 );
local s = coordinate % 60
coordinate = math.floor( (coordinate – s) / 60 );
local m = coordinate % 60
coordinate = math.floor( (coordinate – m) / 60 );
local d = '<span dir="ltr">' .. coordinate % 360 .."°</span>"

return d .. string.format( '<span dir="ltr">%02d</span>', m ) .. string.format( '<span dir="ltr">%02d</span>', s )
end

–[[
Helper function, convert decimal latitude or longitude to
degrees, minutes, and seconds format based on the specified precision.
]]
local function convert_dec2dms(coordinate, firstPostfix, secondPostfix, precision)
local coord = tonumber(coordinate)
local postfix
if coord >= 0 then
postfix = firstPostfix
else
postfix = secondPostfix
end

precision = precision:lower();
if precision == "dms" then
return convert_dec2dms_dms( math.abs( coord ) ) .. postfix;
elseif precision == "dm" then
return convert_dec2dms_dm( math.abs( coord ) ) .. postfix;
elseif precision == "d" then
return convert_dec2dms_d( math.abs( coord ) ) .. postfix;
end
end

–[[
Convert DMS format into a N or E decimal coordinate
]]
local function convert_dms2dec(direction, degrees_str, minutes_str, seconds_str)
local degrees = tonumber(degrees_str)
local minutes = tonumber(minutes_str) or 0
local seconds = tonumber(seconds_str) or 0

local factor = 1
if direction == "S" or direction == "W" then
factor = -1
end

local precision = 0
if seconds_str then
precision = 5 + math.max( math_mod._precision(seconds_str), 0 );
elseif minutes_str and minutes_str ~= '' then
precision = 3 + math.max( math_mod._precision(minutes_str), 0 );
else
precision = math.max( math_mod._precision(degrees_str), 0 );
end

local decimal = factor * (degrees+(minutes+seconds/60)/60)
return string.format( "%." .. precision .. "f", decimal ) — not tonumber since this whole thing is string based.
end

–[[
Checks input values to for out of range errors.
]]
local function validate( lat_d, lat_m, lat_s, long_d, long_m, long_s, source, strong )
local errors = {};
lat_d = tonumber( lat_d ) or 0;
lat_m = tonumber( lat_m ) or 0;
lat_s = tonumber( lat_s ) or 0;
long_d = tonumber( long_d ) or 0;
long_m = tonumber( long_m ) or 0;
long_s = tonumber( long_s ) or 0;

if strong then
if lat_d < 0 then
table.insert(errors, {source, "درجه‌های عرض جغرافیایی < 0 با پرچم نیم‌کره"})
end
if long_d < 0 then
table.insert(errors, {source, "درجه‌های طول جغرافیایی < 0 با پرچم نیم‌کره"})
end
–[[
#coordinates is inconsistent about whether this is an error. If globe: is
specified, it won't error on this condition, but otherwise it will.

For not simply disable this check.

if long_d > 180 then
table.insert(errors, {source, "درجه‌های طول جغرافیایی > 180 با پرچم نیم‌کره"})
end
]]
end

if lat_d > 90 then
table.insert(errors, {source, "درجه‌های عرض جغرافیایی > 90"})
end
if lat_d < -90 then
table.insert(errors, {source, "درجه‌های عرض جغرافیایی < -90"})
end
if lat_m >= 60 then
table.insert(errors, {source, "دقایق عرض جغرافیایی >= 60"})
end
if lat_m < 0 then
table.insert(errors, {source, "دقایق عرض جغرافیایی < 0"})
end
if lat_s >= 60 then
table.insert(errors, {source, "ثانیه‌های عرض جغرافیایی >= 60"})
end
if lat_s < 0 then
table.insert(errors, {source, "ثانیه‌های عرض جغرافیایی < 0"})
end
if long_d >= 360 then
table.insert(errors, {source, "درجه‌های طول جغرافیایی >= 360"})
end
if long_d <= -360 then
table.insert(errors, {source, "درجه‌های طول جغرافیایی <= -360"})
end
if long_m >= 60 then
table.insert(errors, {source, "دقایق طول جغرافیایی >= 60"})
end
if long_m < 0 then
table.insert(errors, {source, "دقایق طول جغرافیایی < 0"})
end
if long_s >= 60 then
table.insert(errors, {source, "ثانیه‌های طول جغرافیایی >= 60"})
end
if long_s < 0 then
table.insert(errors, {source, "ثانیه‌های طول جغرافیایی < 0"})
end

return errors;
end

–[[
parseDec

Transforms decimal format latitude and longitude into the
structure to be used in displaying coordinates
]]
local function parseDec( lat, long, format )
local coordinateSpec = {}
local errors = {}

if not long then
return nil, {{"parseDec", "طول جغرافیایی وارد نشده‌است"}}
elseif not tonumber(long) then
return nil, {{"parseDec", "طول جغرافیایی نمی‌تواند به عنوان یک رقم تجزیه شود: " .. long}}
end

errors = validate( lat, nil, nil, long, nil, nil, 'parseDec', false );
coordinateSpec["dec-lat"] = lat;
coordinateSpec["dec-long"] = long;

local mode = coordinates.determineMode( lat, long );
coordinateSpec["dms-lat"] = convert_dec2dms( lat, "شمالی", "جنوبی", mode) — {{coord/dec2dms|{{{1}}}|N|S|{{coord/prec dec|{{{1}}}|{{{2}}}}}}}
coordinateSpec["dms-long"] = convert_dec2dms( long, "شرقی", "غربی", mode) — {{coord/dec2dms|{{{2}}}|E|W|{{coord/prec dec|{{{1}}}|{{{2}}}}}}}

if format then
coordinateSpec.default = format
else
coordinateSpec.default = "dec"
end

return coordinateSpec, errors
end

–[[
parseDMS

Transforms degrees, minutes, seconds format latitude and longitude
into the a structure to be used in displaying coordinates
]]
local function parseDMS( lat_d, lat_m, lat_s, lat_f, long_d, long_m, long_s, long_f, format )
local coordinateSpec, errors, backward = {}, {}

lat_f = lat_f:upper();
long_f = long_f:upper();

— Check if specified backward
if lat_f == 'E' or lat_f == 'W' then
lat_d, long_d, lat_m, long_m, lat_s, long_s, lat_f, long_f, backward = long_d, lat_d, long_m, lat_m, long_s, lat_s, long_f, lat_f, true;
end

errors = validate( lat_d, lat_m, lat_s, long_d, long_m, long_s, 'parseDMS', true );
if not long_d then
return nil, {{"parseDMS", "طول جغرافیایی وارد نشده‌است" }}
elseif not tonumber(long_

  راهنمای خرید:
  • همچنین لینک دانلود به ایمیل شما ارسال خواهد شد به همین دلیل ایمیل خود را به دقت وارد نمایید.
  • ممکن است ایمیل ارسالی به پوشه اسپم یا Bulk ایمیل شما ارسال شده باشد.
  • در صورتی که به هر دلیلی موفق به دانلود فایل مورد نظر نشدید با ما تماس بگیرید.