Editing Module:Sandbox/User:BlackHawk/Infobox Profession
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
-- Module for [[Template:Infobox Profession]] |
|||
-- Test changes using [[Module:Infobox Profession/sandbox]] [[Template:Infobox Profession/sandbox]] |
|||
local p = {} |
|||
local Infobox = require('Module:Infobox') |
local Infobox = require('Module:Infobox') |
||
local parse = require('Module:Param Parse') |
local parse = require('Module:Param Parse') |
||
Line 23: | Line 19: | ||
infobox |
infobox |
||
:add_row{ |
:add_row{ |
||
{tag='th', content=Infobox.param('name'), class='infobox |
{tag='th', content=Infobox.param('name'), class='infobox.subheader', colspan='2'}, |
||
} |
} |
||
:add_row{ |
:add_row{ |
||
{tag='td', content=Infobox.param('image') |
{tag='td', content=Infobox.param('image'), colspan='2'}, |
||
} |
} |
||
⚫ | |||
:add_row{ |
:add_row{ |
||
{tag=' |
{tag='td', content='Release'}, |
||
{tag='td', content=Infobox.param('release') |
{tag='td', content=Infobox.param('release')}, |
||
} |
} |
||
:add_row{ |
:add_row{ |
||
{tag=' |
{tag='td', content='[[Premium Pass|Premium]]'}, |
||
{tag='td', content=Infobox.param('premium') |
{tag='td', content=Infobox.param('premium')}, |
||
} |
} |
||
:add_row{ |
|||
{tag='th', content='[[Premium Pass|Premium]]', colspan="6"}, |
|||
{tag='td', content=Infobox.param('premium'), colspan="14"}, |
|||
} |
|||
:add_row{ |
|||
{tag='th', content='[[Premium Pass|Premium]]', colspan="6"}, |
|||
{tag='td', content=Infobox.param('premium'), colspan="14"}, |
|||
} |
|||
:add_row{ |
|||
{tag='th', content='[[Premium Pass|Premium]]', colspan="6"}, |
|||
{tag='td', content=Infobox.param('premium'), colspan="14"}, |
|||
} |
|||
⚫ | |||
:add_row{ |
|||
{tag='td', content='Subheader', class='infobox-subheader', colspan='20'}, |
|||
} |
|||
:add_row{ |
|||
{tag='th', content='[[Premium Pass|Premium]]', colspan="6"}, |
|||
{tag='td', content=Infobox.param('premium'), colspan="14"}, |
|||
} |
|||
:add_row{ |
|||
{tag='th', content='[[Premium Pass|Premium]]', colspan="6"}, |
|||
{tag='td', content=Infobox.param('premium'), colspan="14"}, |
|||
} |
|||
:add_row{ |
|||
{tag='th', content='[[Premium Pass|Premium]]', colspan="6"}, |
|||
{tag='td', content=Infobox.param('premium'), colspan="14"}, |
|||
} |
|||
:add_row{ |
|||
{tag='th', content='[[Premium Pass|Premium]]', colspan="6"}, |
|||
{tag='td', content=Infobox.param('premium'), colspan="14"}, |
|||
} |
|||
:pad(20) |
|||
return infobox |
return infobox |
||
end |
end |
||
return p |