View source for Module:Infobox
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local p = {}
local args = {}
local origArgs = {}
local root
local empty_row_categories = {}
local category_in_empty_row_pattern = '%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*]]'
local has_rows = false
local function fixChildBoxes(sval, tt)
local function notempty( s ) return s and s:match( '%S' ) end
if notempty(sval) then
local marker = '<span class=special_infobox_marker>'
local s = sval
-- start moving templatestyles and categories inside of table rows
local slast = ''
while slast ~= s do
slast = s
s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>%s*)(%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*%]%])', '%2%1')
s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>%s*)(\127[^\127]*UNIQ%-%-templatestyles%-%x+%-QINU[^\127]*\127)', '%2%1')
end
-- end moving templatestyles and categories inside of table rows
000
1:0
Templates used on this page:
- Template:Category link with count (view source)
- Template:Clc (view source)
- Template:High-use (view source)
- Template:Lua (view source)
- Template:Module other (view source)
- Template:Module rating (view source)
- Template:Ombox (view source)
- Template:Template link (view source)
- Template:Tl (view source)
- Template:Uses TemplateStyles (view source)
- Module:Arguments (view source)
- Module:Effective protection level (view source)
- Module:High-use (view source)
- Module:Infobox/doc (view source)
- Module:List (view source)
- Module:Lua banner (view source)
- Module:Message box (view source)
- Module:Message box/configuration (view source)
- Module:No globals (view source)
- Module:String (view source)
- Module:TNT (view source)
- Module:TableTools (view source)
- Module:Transclusion count (view source)
- Module:Transclusion count/data/I (view source)
- Module:Uses TemplateStyles (view source)
- Module:Uses TemplateStyles/config (view source)
- Module:Yesno (view source)
Return to Module:Infobox.