Module:RF
From Feed The Beast Wiki
This is the Lua module for Template:RF. Below is the documentation for that template. |
This template is used to format Redstone Flux energy values.
Syntax[edit]
{{RF|<1>}}
Parameters[edit]
-
1
: The energy value.
Example[edit]
{{RF|150000}}
gives...
150,000 RF
local p = {}
local g = require("Module:Common")
function p.formatRF(value)
return g.commaValue(g.trim(value)) .. ' [[Redstone Flux|RF]]'
end
-- MediaWiki wrappers around the above functions
function p.mwFormatRF(frame) return p.formatRF(frame.args[1]) end
return p