Module:siwa-noun: Difference between revisions
No edit summary |
No edit summary |
||
| Line 143: | Line 143: | ||
elseif param == "title" then | elseif param == "title" then | ||
return data.forms.nom_sg[1] | return data.forms.nom_sg[1] | ||
elseif param == " | elseif param == "word" and NAMESPACE == "Template" then | ||
return "sivi" | return "sivi" | ||
elseif param == " | elseif param == "word" then | ||
return | return data.head | ||
elseif param == "gender" then | elseif param == "gender" then | ||
return (data.g == "i" and "inanimate" or "animate") | return (data.g == "i" and "inanimate" or "animate") | ||
| Line 175: | Line 175: | ||
local navframe = [=[ | local navframe = [=[ | ||
<div class="mw-collapsible" style="border-collapse: collapse; margin: 0px 0px -1px 0px; padding: 2px; border: 1px solid #aaaaaa; text-align: center; font-size: 95%; overflow: auto; width: 70%;"> | <div class="mw-collapsible" style="border-collapse: collapse; margin: 0px 0px -1px 0px; padding: 2px; border: 1px solid #aaaaaa; text-align: center; font-size: 95%; overflow: auto; width: 70%;"> | ||
<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);">{{{ | <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);">{{{word}}} — {{{gender}}} noun, {{{decl_type}}}-declension | ||
</div> | </div> | ||
<div class="mw-collapsible-content" style="font-size: 100%;"> | <div class="mw-collapsible-content" style="font-size: 100%;"> | ||