Zum Inhalt springen

Modul:PropertyLink: Unterschied zwischen den Versionen

Upper and lower case properties
dewiki>HenkvD
(Upper and lower case properties)
dewiki>HenkvD
(Upper and lower case properties)
Zeile 38: Zeile 38:
-- Return the label for property, or the label of the linked entiy of that property
-- Return the label for property, or the label of the linked entiy of that property
function label( frame )
function label( frame )
     return getLabel( frame.args[1] )
     return getLabel( string.lower(frame.args[1] ))
end
end
   
   
Zeile 53: Zeile 53:
--use this function to get associated image to be used in the article
--use this function to get associated image to be used in the article
function imageLink( frame )
function imageLink( frame )
     return getImageLink(frame.args[1], frame.args["width"])
     return getImageLink( string.lower(frame.args[1]), frame.args["width"])
end
end
   
   
Anonymer Benutzer
Cookies helfen uns bei der Bereitstellung von Android Wiki. Durch die Nutzung von Android Wiki erklärst du dich damit einverstanden, dass wir Cookies speichern.