More actions
No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 23: | Line 23: | ||
subraces=frame.args.Subraces | subraces=frame.args.Subraces | ||
fullimg = "[[File:" .. img .. "|200px|center]]" | |||
{| class="wikitable" style="float:right; margin-left: 10px;" | |||
return( [[{| class="wikitable" style="float:right; margin-left: 10px;" | |||
| | | | ||
{| style="border:0px solid #A3B1BF; float:right;" width="270px" | {| style="border:0px solid #A3B1BF; float:right;" width="270px" | ||
|- style="background:#C6DCF3; height:34px; text-align:center; vertical-align:middle; text-size:large" | |- style="background:#C6DCF3; height:34px; text-align:center; vertical-align:middle; text-size:large" | ||
|''']] | |''']] .. name .. [[''' | ||
.. | |||
name | |||
.. | |||
[[''' | |||
|- style="vertical-align:middle;" | |- style="vertical-align:middle;" | ||
| style="height:120px" valign="top"|]] | | style="height:120px" valign="top"|]] .. fullimg .. [[ | ||
.. | |||
.. | |||
[[ | |||
|} | |} | ||
|- style="vertical-align:middle;" | |- style="vertical-align:middle;" | ||
| style="height:20px; width:270px; text-align:center;" | '''Pronunciation:''']] .. pron .. | | style="height:20px; width:270px; text-align:center;" | '''Pronunciation:''' ]] .. pron .. | ||
[[. | |||
[[ | |||
|- style="vertical-align:middle;" | |- style="vertical-align:middle;" | ||
| style="height:20px; width:270px; text-align:center;" | '''Common Nicknames:''']] .. nick .. | | style="height:20px; width:270px; text-align:center;" | '''Common Nicknames:''' ]] .. nick .. | ||
[[. | |||
[[ | |||
|- style="vertical-align:middle;" | |- style="vertical-align:middle;" | ||
| style="height:20px; width:270px; text-align:center;" | '''Classification:''']] .. class .. | | style="height:20px; width:270px; text-align:center;" | '''Classification:''' ]] .. class .. | ||
[[. | |||
[[ | |||
|- style="vertical-align:middle;" | |- style="vertical-align:middle;" | ||
| style="height:20px; width:270px; text-align:center;" | '''Max Age:''']] .. age .. | | style="height:20px; width:270px; text-align:center;" | '''Max Age:''' ]] .. age .. | ||
[[ years. | |||
[[ | |||
|- style="vertical-align:middle;" | |- style="vertical-align:middle;" | ||
| style="height:20px; width:270px; text-align:center;" | '''Naming Customs:''']] .. naming .. | | style="height:20px; width:270px; text-align:center;" | '''Naming Customs:''' ]] .. naming .. | ||
[[. | |||
[[ | |||
|- style="vertical-align:middle;" | |- style="vertical-align:middle;" | ||
| style="height:20px; width:270px; text-align:center;" | '''Languages:''']] .. language .. | | style="height:20px; width:270px; text-align:center;" | '''Languages:''' ]] .. language .. | ||
[[. | |||
[[ | |||
|- style="vertical-align:middle;" | |- style="vertical-align:middle;" | ||
| style="height:20px; width:270px; text-align:center;" | '''Subraces:''' | | style="height:20px; width:270px; text-align:center;" | '''Subraces:''' | ||
|- | |||
| style="width:270px;" | | |||
|} | TBA. | ||
]] | |}]] ) | ||
end | end | ||
return p | return p |
Latest revision as of 00:03, 26 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
fullimg = "[[File:" .. img .. "|200px|center]]"
return( [[{| 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"|]] .. fullimg .. [[
|}
|- 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 ..
[[ years.
|- 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:'''
|-
| style="width:270px;" |
TBA.
|}]] )
end
return p