require ('strict');
local data=mw.loadData ('Module:Sandbox/trappist the monk/layurl/data');local articles_using_layurl_t = data.articles_using_layurl;local wp_med_articles_t = data.wp_med_articles;local wp_med_articles_using_layurl_t = ;local get_args = require ('Module:Arguments').getArgs;
--main|list=|fa=|ga=}} |list=yes – return an unordered list of wikilinked articles from the selected wp:med list that use |lay-url= |fa=yes – target list is wp_med_fa_articles |ga=yes – target list is wp_med_ga_articles when neither |fa=yes not |ga=yes then target list is wp_med_articles
local function main (frame) local args_t = get_args (frame); local list_t; -- holds the chosen wp:med article list if 'yes'
args_t.ga then list_t = data.wp_med_ga_articles; -- use the good articles list else list_t = data.wp_med_articles; -- use the list of all wp:med articles end
for title, _ in pairs (articles_using_layurl_t) do -- get next title from
if 'yes'
----------------------------< E X P O R T >------------------------------------------------------------------
return