Toggle menu
1
18
17
345
Emergency Response: Liberty County Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Vehicle specifications: Difference between revisions

From Emergency Response: Liberty County Wiki
Content deleted Content added
Created page with "local p = {} function p.main(frame) local parentFrame = frame:getParent() local args = frame.args local price = args['price'] or '' local health = args['health'] or '' local wikitext = '<tabber> ... ' .. price .. ' ... ' .. health .. ' ... </tabber>' return wikitext end return p"
Tag: Recreated
 
No edit summary
Line 3: Line 3:
function p.main(frame)
function p.main(frame)
local parentFrame = frame:getParent()
local parentFrame = frame:getParent()
local args = frame.args
local args = parentFrame and parentFrame.args or frame.args


local price = args['price'] or ''
local price = args['price'] or ''

Revision as of 19:16, 19 February 2026

Module documentation[view][edit][history][purge]
This documentation is transcluded from Module:Vehicle specifications/doc. Changes can be proposed in the talk page.
Function list
L 3 — p.main

local p = {}

function p.main(frame)
    local parentFrame = frame:getParent()
    local args = parentFrame and parentFrame.args or frame.args

    local price = args['price'] or '' 
    local health = args['health'] or ''

    local wikitext = '<tabber> ... ' .. price .. ' ... ' .. health .. ' ... </tabber>'

    return wikitext 
end

return p
🍪 Cookies help us deliver our services. By using our site, you agree to our use of cookies.