Modul:Multilingual: Unterschied zwischen den Versionen

update
w>Leyo
K (Schützte „Modul:Multilingual“: Häufig eingebundenes Modul ([Bearbeiten=Nur angemeldete, nicht neue Benutzer] (unbeschränkt) [Verschieben=Nur Administratoren] (unbeschränkt)))
w>PerfektesChaos
(update)
Zeile 1: Zeile 1:
--[=[ 2014-10-16
--[=[ 2014-11-28
Multilingual
Multilingual
]=]
]=]
Zeile 99: Zeile 99:
     --                  -- "!": current project
     --                  -- "!": current project
     --                  -- any valid code
     --                  -- any valid code
     --    alter    -- capitalize, if "c"; downcase, if "d"
     --    alter    -- capitalize, if "c"; downcase all, if "d"
     --                  capitalize first item only, if "f"
     --                  capitalize first item only, if "f"
    --                  downcase every first word only, if "m"
     --    active    -- link items, if true
     --    active    -- link items, if true
     --    alert    -- string with category title in case of error
     --    alert    -- string with category title in case of error
Zeile 180: Zeile 181:
                 elseif alter == "d" then
                 elseif alter == "d" then
                     r = mw.ustring.lower( r )
                     r = mw.ustring.lower( r )
                elseif alter == "m" then
                    r = mw.ustring.lower( mw.ustring.sub( r, 1, 1 ) )
                        .. mw.ustring.sub( r, 2 )
                 end
                 end
                 if slot then
                 if slot then
Anonymer Benutzer