Module:Vehicle specifications: Difference between revisions
From Emergency Response: Liberty County Wiki
More actions
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
local health = args['health'] or '' |
local health = args['health'] or '' |
||
local wikitext = '<tabber> |
local wikitext = '<tabber>\n|-|Price=' .. price .. '\n|-|Health=' .. health .. '\n</tabber>' |
||
return wikitext |
return wikitext |
||
Revision as of 19:20, 19 February 2026
This documentation is transcluded from Module:Vehicle specifications/doc. Changes can be proposed in the talk page.
This module is unused.
This module is neither invoked by a template nor required/loaded by another module. If this is in error, make sure to add
{{Documentation}}/{{No documentation}} to the calling template's or parent's module documentation.| 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>\n|-|Price=' .. price .. '\n|-|Health=' .. health .. '\n</tabber>'
return wikitext
end
return p