Friday, March 1, 2013

Wiktionary - Recent changes [en]: Module:nl-head

Wiktionary - Recent changes [en]
Track the most recent changes to the wiki in this feed. // via fulltextrssfeed.com
Module:nl-head
Mar 1st 2013, 21:44

Line 53: Line 53:
 

ret = ret .. "<b lang=\"nl\">meest " .. PAGENAME .. "</b>"

 

ret = ret .. "<b lang=\"nl\">meest " .. PAGENAME .. "</b>"

 

categories = categories .. "[[Category:CodeCat's test category]]"

 

categories = categories .. "[[Category:CodeCat's test category]]"

elseif sup2 == "" and (PAGENAME:find("s$") or PAGENAME:find("sch$") or PAGENAME:find("sd$") or PAGENAME:find("st$") or PAGENAME:find("sk$")) then

+

elseif sup2 == "" and (PAGENAME:find("s$") or PAGENAME:find("sch$") or PAGENAME:find("sd$") or PAGENAME:find("st$") or PAGENAME:find("sk$") or PAGENAME:find("x$")) then

 

ret = ret .. "<b lang=\"nl\">meest " .. PAGENAME .. "</b> ''or'' " .. com.link_form(PAGENAME .. "t", "b")

 

ret = ret .. "<b lang=\"nl\">meest " .. PAGENAME .. "</b> ''or'' " .. com.link_form(PAGENAME .. "t", "b")

 

else

 

else


  local com = require("Module:nl-common")     local export = {}     function export.adjective(frame)      local args = frame:getParent().args      PAGENAME = frame:preprocess("{{PAGENAME}}")      NAMESPACE = frame:preprocess("{{NAMESPACE}}")      local categories = "[[Category:Dutch adjectives]]"      local ret = "<strong class=\"headword\" lang=\"nl\">" .. (args["head"] or PAGENAME) .. "</strong> ("         local comp = args[1] or ""      local sup = args[2] or ""         if comp == "pred" then          ret = ret .. "''used only [[predicative]]ly''"      elseif comp == "inv" then          ret = ret .. "''[[Appendix:Glossary#invariable|invariable]]''"      elseif comp == "-" then          ret = ret .. "''not [[Appendix:Glossary#comparable|comparable]]''"      else          -- Comparative          ret = ret .. "''[[Appendix:Glossary#comparative|comparative]]'' "          local comp2 = args["comp2"] or ""             if comp == "peri" then              ret = ret .. "<b lang=\"nl\">meer " .. PAGENAME .. "</b>"          else              if comp == "" then                  if PAGENAME:find("r$") then                      comp = PAGENAME .. "der"                  elseif PAGENAME:find("e$") then                      comp = PAGENAME .. "r"                  else                      comp = PAGENAME .. "er"                  end              else                  --categories = categories .. "[[Category:CodeCat's test category]]"              end                 ret = ret .. com.link_form(comp, "b")          end             if comp2 ~= "" then              ret = ret .. " ''or'' " .. com.link_form(comp2, "b")          end             -- Superlative          ret = ret .. ", ''[[Appendix:Glossary#superlative|superlative]]'' "          local sup2 = args["sup2"] or ""             if sup == "peri" then              ret = ret .. "<b lang=\"nl\">meest " .. PAGENAME .. "</b>"              categories = categories .. "[[Category:CodeCat's test category]]"          elseif sup2 == "" and (PAGENAME:find("s$") or PAGENAME:find("sch$") or PAGENAME:find("sd$") or PAGENAME:find("st$") or PAGENAME:find("sk$") or PAGENAME:find("x$")) then              ret = ret .. "<b lang=\"nl\">meest " .. PAGENAME .. "</b> ''or'' " .. com.link_form(PAGENAME .. "t", "b")          else              if sup == "" then                  sup = PAGENAME .. "st"              end                 ret = ret .. com.link_form(sup, "b")          end             if sup2 ~= "" then              ret = ret .. " ''or'' " .. com.link_form(sup2, "b")          end      end         ret = ret .. ")" .. (NAMESPACE == "" and categories or "")         return ret  end     return export  

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions