45,607
edits
No edit summary |
No edit summary |
||
Line 141: | Line 141: | ||
return table.concat(ret) | return table.concat(ret) | ||
end | end | ||
local divframe = [=[ | |||
<div class="mw-collapsible" style="border-collapse: collapse; margin: 0px 0px -1px 0px; padding: 2px; text-align: center; border: 1px solid #aaaaaa; font-size: 95%; overflow: auto; width: auto;"> | <div class="mw-collapsible" style="border-collapse: collapse; margin: 0px 0px -1px 0px; padding: 2px; text-align: center; border: 1px solid #aaaaaa; font-size: 95%; overflow: auto; width: auto;"> | ||
<div style="min-height: 1.6em; font-weight:bold; font-size: 100%; text-align: left; background-color:#efefef; padding-left: 10px; background-image: -webkit-gradient(linear, left top, left bottom, from(#EFEFEF), to(#DFDFDF), color-stop(0.6, #E3E3E3)); background-image: -moz-linear-gradient(top, #EFEFEF, #E3E3E3 60%, #DFDFDF); background-image: -o-linear-gradient(top, #EFEFEF, #E3E3E3 60%, #DFDFDF);"><span class="nowrap">Declension of ''<span lang="qhv">{{{pagename}}}</span>'' ([[:Category:High Valyrian {{{decl_type}}} adjectives|{{{decl_type}}}]])</span></div> | <div style="min-height: 1.6em; font-weight:bold; font-size: 100%; text-align: left; background-color:#efefef; padding-left: 10px; background-image: -webkit-gradient(linear, left top, left bottom, from(#EFEFEF), to(#DFDFDF), color-stop(0.6, #E3E3E3)); background-image: -moz-linear-gradient(top, #EFEFEF, #E3E3E3 60%, #DFDFDF); background-image: -o-linear-gradient(top, #EFEFEF, #E3E3E3 60%, #DFDFDF);"><span class="nowrap">Declension of ''<span lang="qhv">{{{pagename}}}</span>'' ([[:Category:High Valyrian {{{decl_type}}} adjectives|{{{decl_type}}}]])</span></div> | ||
<div class="mw-collapsible-content" style="font-size: 100%;"> | <div class="mw-collapsible-content" style="font-size: 100%;"> | ||
]=] | |||
local prepositive = [=[ | |||
{| border="1px solid #000000" style="border-collapse: collapse; background:#ffffff; width:100%; text-align:center; background-color:#fdfdfd; cellspacing="1" cellpadding="2" | {| border="1px solid #000000" style="border-collapse: collapse; background:#ffffff; width:100%; text-align:center; background-color:#fdfdfd; cellspacing="1" cellpadding="2" | ||
|- style="background-color: #FFB976; text-align:center;" | |- style="background-color: #FFB976; text-align:center;" | ||
Line 165: | Line 167: | ||
|- ]=] .. make_cases(data, true) .. [=[ | |- ]=] .. make_cases(data, true) .. [=[ | ||
|}<ul style="margin-left:0px;"></ul> | |}<ul style="margin-left:0px;"></ul> | ||
]=] | |||
local postpositive = [=[ | |||
{| border="1px solid white" style="border-collapse: collapse; background:#ffffff; width:100%; text-align:center;" cellspacing="1" cellpadding="2" | {| border="1px solid white" style="border-collapse: collapse; background:#ffffff; width:100%; text-align:center;" cellspacing="1" cellpadding="2" | ||
|- style="background-color: #FFB976; text-align:center;" | |- style="background-color: #FFB976; text-align:center;" | ||
Line 182: | Line 187: | ||
! ]=] .. m_gen.format_list({"p", "pa"}) .. [=[ | ! ]=] .. m_gen.format_list({"p", "pa"}) .. [=[ | ||
|- style="background-color:#fdfdfd;" ]=] .. make_cases(data, false) .. [=[ | |- style="background-color:#fdfdfd;" ]=] .. make_cases(data, false) .. [=[ | ||
|}</div></div> | |} | ||
]=] | |||
local wikicode = divframe .. prepositive .. postpositive .. "</div></div>" | |||
return (gsub(wikicode, "{{{([a-z0-9_]+)}}}", repl)) .. require("Module:utilities").format_categories(data.categories, lang) | return (gsub(wikicode, "{{{([a-z0-9_]+)}}}", repl)) .. require("Module:utilities").format_categories(data.categories, lang) |