Jump to content

Module:Infobox/disipline

From Simple English Wikipedia, the free encyclopedia

Documentation for this module may be created at Module:Infobox/disipline/doc

local generic = require "Module:Infobox/disipline"

return 	{
	maincolor = 'lightblue',
	wikimod='Wikidata.Ca',
 	parts =
    	{
        generic.title(),
		generic.logo(),
		generic.mainimage(), 
        {type = 'table', 
            rows = {
                    {type = 'row', label = 'Subcategory of', 
                        value = 'Subcategory of', 
                        wikidata = {property = 'P279'}
                    },
                    {type = 'row', label = 'part of', 
                        value = 'part of', 
                        wikidata = {property = 'P361'}
                    },
                    {type = 'row', label = 'practiced by', 
                        value = 'practiced by', 
                        wikidata = {property = 'P3095'}
                    },
                    {type = 'row', label = 'Branches', 
                        value = 'Branches', 
                        wikidata = {property = 'P527'}
                    },
                    {type = 'row', label = 'Uses', 
                        value = {'Uses','purpose'}, 
                        wikidata = {property = 'P366'}
                    }, -- , plurallabel = 'Areas'
                    {type = 'row', label = 'topic', 
                        plurallabel = 'Threads', 
                        value = 'Thread', 
                        wikidata = {property = 'P2578'}
                    },
                    {type = 'row', label = 'date', 
                        value = 'date', 
                        wikidata = {property = 'P2184', withlink = 'arwiki', numval = '1'}
                    },
                    {type = 'row', label = 'founder', 
                        plurallabel = 'founders', 
                        value = 'founder', 
                        wikidata = {property = 'P112'}
                    },
                    {type = 'row', label = 'Important people', 
                        value = 'important people', 
                        wikidata = {property = 'P3342', conjunction='<br />'}
                    }
                }}
    }
}