Module:Sandbox/ATDT/AbstractWikipedia/San Francisco

From Meta, a Wikimedia project coordination wiki
Module documentation
local p = {}

function p.render( frame )
	local r = require( "Module:Sandbox/ATDT/AbstractWikipedia/Renderers/" .. mw.getContentLanguage():getCode() )
    return r.Article{
          content = {
               r.Instantiation{
                    instance = mw.wikibase.getLabel( 'Q62' ),
                    class = r.Object_with_modifier_and_of{
                         object = "center",
                         modifier = r.And_modifier{
                              conjuncts = {'cultural', 'commercial', 'financial'}
                         },
                         of = mw.wikibase.getLabel( 'Q1066807' ),
                    }
               },
               r.Ranking{
                    subject = mw.wikibase.getLabel( 'Q62' ),
                    rank = 4,
                    object = mw.wikibase.getLabel( 'Q515' ),
                    by = mw.wikibase.getLabel( 'Q1613416' ),
                    local_constraint = mw.wikibase.getLabel( 'Q99' ),
                    after = {
                         mw.wikibase.getLabel('Q65'),
                         mw.wikibase.getLabel('Q16552'),
                         mw.wikibase.getLabel('Q16553')
                    }
               }
          }
     }
end

return p