<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maruneko.autumns.page/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AInfobox_body_of_water_tracking</id>
	<title>Module:Infobox body of water tracking - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://maruneko.autumns.page/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AInfobox_body_of_water_tracking"/>
	<link rel="alternate" type="text/html" href="https://maruneko.autumns.page/mediawiki/index.php?title=Module:Infobox_body_of_water_tracking&amp;action=history"/>
	<updated>2026-04-24T20:45:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://maruneko.autumns.page/mediawiki/index.php?title=Module:Infobox_body_of_water_tracking&amp;diff=2207&amp;oldid=prev</id>
		<title>imported&gt;Rox: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://maruneko.autumns.page/mediawiki/index.php?title=Module:Infobox_body_of_water_tracking&amp;diff=2207&amp;oldid=prev"/>
		<updated>2022-06-29T14:53:38Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:53, 29 June 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key jth_wiki:diff:1.41:old-2206:rev-2207 --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Rox</name></author>
	</entry>
	<entry>
		<id>https://maruneko.autumns.page/mediawiki/index.php?title=Module:Infobox_body_of_water_tracking&amp;diff=2206&amp;oldid=prev</id>
		<title>Wikipedia&gt;Izno: use if preview. maybe having a standard way to indicate the generating template/module would be a good thing</title>
		<link rel="alternate" type="text/html" href="https://maruneko.autumns.page/mediawiki/index.php?title=Module:Infobox_body_of_water_tracking&amp;diff=2206&amp;oldid=prev"/>
		<updated>2021-05-06T23:05:30Z</updated>

		<summary type="html">&lt;p&gt;use if preview. maybe having a standard way to indicate the generating template/module would be a good thing&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.tracking(frame)&lt;br /&gt;
    local function isblank( val ) &lt;br /&gt;
        return (val == nil) or val:match('^[%s]*$')&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    local function hasnoconvert( val )&lt;br /&gt;
    	local res = nil&lt;br /&gt;
    	val = mw.text.killMarkers(val)&lt;br /&gt;
    	if val:match('[0-9]') then&lt;br /&gt;
    		res = 1&lt;br /&gt;
    		if val:match('[%(][−0-9%.]') and val:match('[%)]') then&lt;br /&gt;
    			res = nil&lt;br /&gt;
    		end&lt;br /&gt;
		end&lt;br /&gt;
		return res&lt;br /&gt;
	end&lt;br /&gt;
    &lt;br /&gt;
    local cats = ''&lt;br /&gt;
    local maincats = ''&lt;br /&gt;
    local args = frame:getParent().args&lt;br /&gt;
    local AZ = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'&lt;br /&gt;
    local warnmsg = {}&lt;br /&gt;
    &lt;br /&gt;
    if isblank(args['image']) then&lt;br /&gt;
    	maincats = maincats .. '[[Category:Articles using infobox body of water without image]]'&lt;br /&gt;
    elseif isblank(args['alt']) then&lt;br /&gt;
		maincats = maincats .. '[[Category:Articles using infobox body of water without alt]]'&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    if isblank(args['coords']) and isblank(args['coordinates']) then &lt;br /&gt;
    	maincats = maincats .. '[[Category:Articles using infobox body of water without coordinates]]'&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    if (isblank(args['pushpin_map']) ) then&lt;br /&gt;
    	maincats = maincats .. '[[Category:Articles using infobox body of water without pushpin_map]]'&lt;br /&gt;
    elseif isblank(args['pushpin_map_alt']) then&lt;br /&gt;
		maincats = maincats .. '[[Category:Articles using infobox body of water without pushpin_map_alt]]'&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    if (isblank(args['image_bathymetry']) ) then&lt;br /&gt;
    	maincats = maincats .. '[[Category:Articles using infobox body of water without image_bathymetry]]'&lt;br /&gt;
    elseif isblank(args['alt_bathymetry']) then&lt;br /&gt;
		maincats = maincats .. '[[Category:Articles using infobox body of water without alt_bathymetry]]'&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    local duplicate_parameters = 0&lt;br /&gt;
	local duplicate_list = {&lt;br /&gt;
		{'child', 'embed'},&lt;br /&gt;
        {'name', 'lake_name'},&lt;br /&gt;
        {'image', 'image_lake'},&lt;br /&gt;
        {'alt', 'alt_lake'},&lt;br /&gt;
        {'caption', 'caption_lake'},&lt;br /&gt;
        {'coordinates', 'coords'},&lt;br /&gt;
        {'lake_type', 'type'},&lt;br /&gt;
        {'ocean_type', 'type'},&lt;br /&gt;
        {'lake_type', 'ocean_type'},&lt;br /&gt;
        {'part_of', 'parent'},&lt;br /&gt;
        {'basin_countries', 'countries'},&lt;br /&gt;
        {'catchment_km2', 'catchment'},&lt;br /&gt;
        {'length_km', 'length'},&lt;br /&gt;
        {'width_km', 'width'},&lt;br /&gt;
        {'area_km2', 'area'},&lt;br /&gt;
        {'depth_m', 'depth'},&lt;br /&gt;
        {'max-depth_m', 'max-depth'},&lt;br /&gt;
        {'volume_km3', 'volume'},&lt;br /&gt;
        {'shore_km', 'shore'},&lt;br /&gt;
        {'elevation_m', 'elevation'},&lt;br /&gt;
        {'settlements', 'cities'},&lt;br /&gt;
        {'extra', 'nrhp'},&lt;br /&gt;
        {'extra', 'embedded'},&lt;br /&gt;
        {'embedded', 'nrhp'}&lt;br /&gt;
    }&lt;br /&gt;
    for i, params in ipairs(duplicate_list) do&lt;br /&gt;
    	if args[params[1]] and args[params[2]] then&lt;br /&gt;
    		duplicate_parameters = duplicate_parameters + 1&lt;br /&gt;
    		table.insert(warnmsg, 'Cannot use &amp;lt;code&amp;gt;' .. params[1] .. '&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;' .. params[2] .. '&amp;lt;/code&amp;gt; at the same time.')&lt;br /&gt;
    	end&lt;br /&gt;
    end&lt;br /&gt;
    if (duplicate_parameters &amp;gt; 0) then&lt;br /&gt;
        cats = cats .. '[[Category:Pages using infobox body of water with ' ..&lt;br /&gt;
        	'duplicate parameters|' .. &lt;br /&gt;
        	string.sub(AZ, duplicate_parameters, duplicate_parameters+1) .. ']]'&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    local no_convert_parameters = 0&lt;br /&gt;
    local dim_list = {&lt;br /&gt;
    	'catchment', 'length', 'width', 'area', 'depth', 'max-depth', 'volume',&lt;br /&gt;
    	'shore', 'elevation', 'temperature_low', 'temperature_high'}&lt;br /&gt;
	for i, param in ipairs(dim_list) do&lt;br /&gt;
	   if hasnoconvert(args[param] or '') then&lt;br /&gt;
	     no_convert_parameters = no_convert_parameters + 1&lt;br /&gt;
	     table.insert(warnmsg, 'Unconverted dimensions in &amp;lt;code&amp;gt;' .. param .. '&amp;lt;/code&amp;gt;')&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
    if (no_convert_parameters &amp;gt; 0) then&lt;br /&gt;
        maincats = maincats .. '[[Category:Pages using infobox body of water with a non-automatically converted dimension|' ..&lt;br /&gt;
        	string.sub(AZ,no_convert_parameters, no_convert_parameters+1) .. ']]'&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    if #warnmsg &amp;gt; 0 then&lt;br /&gt;
    	cats = require('Module:If preview')._warning({&lt;br /&gt;
    		table.concat(warnmsg, '&amp;lt;br&amp;gt;') .. '&amp;lt;br&amp;gt;(Infobox body of water).'&lt;br /&gt;
    	}) .. cats&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
	if maincats ~= '' and mw.title.getCurrentTitle().namespace == 0 then&lt;br /&gt;
		cats = cats .. maincats&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
    return cats&lt;br /&gt;
end&lt;br /&gt;
    &lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Izno</name></author>
	</entry>
</feed>