Module:T-CountryHub: Difference between revisions

// via Wikitext Extension for VSCode
// via Wikitext Extension for VSCode
Line 437: Line 437:
         --    queryCountryName
         --    queryCountryName
         -- )
         -- )
         return -- '=== Laws and Regulations ===\n' ..
         return tableHtml
        tableHtml -- .. '\n' .. processedLink
     end,
     end,
}
}
Line 463: Line 462:
         --    queryCountryName
         --    queryCountryName
         -- )
         -- )
         return -- '=== Key Documents ===\n' ..
         return tableHtml
        tableHtml -- .. '\n' .. processedLink
     end,
     end,
}
}
Line 487: Line 485:
         --    queryCountryName
         --    queryCountryName
         -- )
         -- )
         return -- '=== GeoTLDs ===\n' ..
         return tableHtml
        tableHtml -- .. '\n' .. processedLink
     end,
     end,
}
}
Line 557: Line 554:
         local data = askCached('resources:' .. queryCountryName, params)
         local data = askCached('resources:' .. queryCountryName, params)
         local tableHtml = renderTable(data, {'Resources'})
         local tableHtml = renderTable(data, {'Resources'})
         return -- '== Resources ==\n' ..
         return tableHtml
        tableHtml
     end,
     end,
}
}