Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Race: Difference between revisions

From MassiveCraft Wiki
Created page with "local p = {} name = "" img = "" pron = "" nick = "" class = "" age = "" naming = "" language = "" subraces = "" function p.info(frame) name=frame.args.Name img=frame.arg..."
 
No edit summary
Line 15: Line 15:
name=frame.args.Name
name=frame.args.Name
img=frame.args.Image
img=frame.args.Image
pron=frame.args.Pronounciation
pron=frame.args.Pronunciation
nick=frame.args.Nicknames
nick=frame.args.Nicknames
class=frame.args.Classification
class=frame.args.Classification

Revision as of 07:21, 25 August 2015

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