Modul:Siedlers Lua Baustelle 2: Unterschied zwischen den Versionen
Aus SchnuppTrupp
| Zeile 2: | Zeile 2: | ||
function v.daten(frame) | function v.daten(frame) | ||
| − | local temp = frame:callParserFunction{ name= '#mh', args= { | + | local id = 'Runit-Dolch' |
| + | local temp = frame:callParserFunction{ name= '#mh', args= { id } } | ||
temp = temp * 2 | temp = temp * 2 | ||
--frame:callParserFunction{'mh:Runit-Dolch'} | --frame:callParserFunction{'mh:Runit-Dolch'} | ||
Version vom 21. März 2019, 18:35 Uhr
Die Dokumentation für dieses Modul kann unter Modul:Siedlers Lua Baustelle 2/Doku erstellt werden
local v = {}
function v.daten(frame)
local id = 'Runit-Dolch'
local temp = frame:callParserFunction{ name= '#mh', args= { id } }
temp = temp * 2
--frame:callParserFunction{'mh:Runit-Dolch'}
return temp
end
return v