More actions
Documentation for this module may be created at Module:Race/doc
local p = {}
name = ""
img = ""
pron = ""
nick = ""
class = ""
age = ""
naming = ""
language = ""
subraces = ""
function p.info(frame)
name=frame.args.Name
img=frame.args.Image
pron=frame.args.Pronunciation
nick=frame.args.Nicknames
class=frame.args.Classification
age=frame.args.MaxAge
naming=frame.args.NamingCustoms
language=frame.args.Languages
subraces=frame.args.Subraces
box=[[
{| class="wikitable" style="float:right; margin-left: 10px;"
|
{| style="border:0px solid #A3B1BF; float:right;" width="270px"
|- style="background:#C6DCF3; height:34px; text-align:center; vertical-align:middle; text-size:large"
|''']]
..
name
..
[['''
|- style="vertical-align:middle;"
| style="height:120px" valign="top"|]]
..
img
..
[[
|}
|- style="vertical-align:middle;"
| style="height:20px; width:270px; text-align:center;" | '''Pronunciation:''']] .. pron ..
[[
|- style="vertical-align:middle;"
| style="height:20px; width:270px; text-align:center;" | '''Common Nicknames:''']] .. nick ..
[[
|- style="vertical-align:middle;"
| style="height:20px; width:270px; text-align:center;" | '''Classification:''']] .. class ..
[[
|- style="vertical-align:middle;"
| style="height:20px; width:270px; text-align:center;" | '''Max Age:''']] .. age ..
[[
|- style="vertical-align:middle;"
| style="height:20px; width:270px; text-align:center;" | '''Naming Customs:''']] .. naming ..
[[
|- style="vertical-align:middle;"
| style="height:20px; width:270px; text-align:center;" | '''Languages:''']] .. language ..
[[
|- style="vertical-align:middle;"
| style="height:20px; width:270px; text-align:center;" | '''Subraces:''']] .. subraces ..
[[
|}
]]
print(box)
end
return p